Inviwo 0.9.12-pre
Inviwo documentation
|
Texture atlas for a number of strings rendered with the TextRenderer. More...
#include <textureatlas.h>
Public Member Functions | |
TextureAtlas (TextureAtlas &&)=default | |
TextureAtlas (const TextureAtlas &)=delete | |
TextureAtlas & | operator= (TextureAtlas &&)=default |
TextureAtlas & | operator= (const TextureAtlas &)=delete |
bool | valid () const |
void | clear () |
void | fillAtlas (TextRenderer &textRenderer, std::vector< TexAtlasEntry > &atlas) |
void | fillAtlas (TextRenderer &textRenderer, const std::vector< std::string > &strings, vec4 color) |
void | fillAtlas (TextRenderer &textRenderer, std::vector< TexAtlasEntry > &entries, std::vector< TextBoundingBox > &bboxes) |
std::shared_ptr< Texture2D > | getTexture () const |
const TexAtlasRenderInfo & | getRenderInfo () const |
Texture atlas for a number of strings rendered with the TextRenderer.