glooey.drawing.stencil.StencilGroup¶
- class glooey.drawing.stencil.StencilGroup(parent=None)[source]¶
Bases:
pyglet.graphics.Group
Public Methods:
__init__
([parent])Create a group.
Apply the OpenGL state change.
Repeal the OpenGL state change.
- __dict__ = mappingproxy({'__module__': 'glooey.drawing.stencil', '__init__': <function StencilGroup.__init__>, 'set_state': <function StencilGroup.set_state>, 'unset_state': <function StencilGroup.unset_state>, '__doc__': None, '__annotations__': {}})¶
- __lt__(other)¶
Return self<value.
- __module__ = 'glooey.drawing.stencil'¶
- __weakref__¶
list of weak references to the object (if defined)
- property batches¶
- 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.
- unset_state_recursive()¶
Unset this group and its ancestry.
The inverse of
set_state_recursive
.
- property visible¶