A group that enables and binds a texture.
Texture groups are equal if their textures’ targets and names are equal.
Constructor:
Create a texture group.
Parameters: |
|
---|
Methods:
set_state() set_state_recursive() Set this group and its ancestry. unset_state() unset_state_recursive() Unset this group and its ancestry.
Methods
- TextureGroup.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.
- TextureGroup.unset_state_recursive()
Unset this group and its ancestry.
The inverse of set_state_recursive.