Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::UniformLabelAtlasGL Class Reference

Public Member Functions

void addDefines (Shader &shader) const
void bind (TextureUnitContainer &cont)
bool createAltas ()
void fillAltas ()
void setUniforms (Shader &shader) const
void update ()

Public Attributes

std::shared_ptr< Texture2Datlas
size2_t atlasSize
size2_t charSize
FloatVec4Property color
FontFaceOptionProperty font
IntProperty fontSize
BoolCompositeProperty labels
TextRenderer renderer
FloatProperty size
DataInport< std::vector< std::string > > strings
GLint unitNumber

Static Public Attributes

static constexpr size2_t chars = {3, 1}
static constexpr size2_t margin = {2, 2}

The documentation for this class was generated from the following file:
  • modules/basegl/include/modules/basegl/util/uniformlabelatlasgl.h