The default group class used when None is given to a batch.
This implementation has no effect.
Constructor:
Create a group.
Parameters: | parent (Group) – Group to contain this group; its state will be set before this state’s. |
---|
Methods:
set_state() Apply the OpenGL state change. 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
- NullGroup.set_state()
Apply the OpenGL state change.
The default implementation does nothing.
- NullGroup.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.
- NullGroup.unset_state()
Repeal the OpenGL state change.
The default implementation does nothing.
- NullGroup.unset_state_recursive()
Unset this group and its ancestry.
The inverse of set_state_recursive.