NullGroup Class

Inheritance diagram of NullGroup

class NullGroup(parent=None)

The default group class used when None is given to a batch.

This implementation has no effect.

Constructor:

__init__(parent=None)

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.

Inherited members

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.

Table Of Contents

Previous topic

Group Class

Next topic

OrderedGroup Class