Rendering group for a glyph texture in all text layouts.
The group binds its texture to GL_TEXTURE_2D. The group is shared between all other text layout uses of the same texture.
Constructor:
Methods:
set_state() set_state_recursive() Set this group and its ancestry. unset_state() Repeal the OpenGL state change. unset_state_recursive() Unset this group and its ancestry.
Methods
- TextLayoutTextureGroup.set_state_recursive()
Set this group and its ancestry.
Call this method if you are using a group in isolation: the parent groups will be called in top-down order, with this class’s set being called last.
- TextLayoutTextureGroup.unset_state()
Repeal the OpenGL state change.
The default implementation does nothing.
- TextLayoutTextureGroup.unset_state_recursive()
Unset this group and its ancestry.
The inverse of set_state_recursive.