TextLayoutTextureGroup
(texture, parent)¶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:
__init__
(texture, parent)¶Methods:
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.