An CC3BTreeNodeSequencer is a type of CC3NodeSequencer that separates nodes into a B-tree structure of child sequencers. More...
#import <CC3NodeSequencer.h>
Public Member Functions | |
(void) | - addSequencer: |
Properties | |
NSMutableArray * | sequencers |
When a node is added, it is first evaluated by the contained evaluator. If it is accepted, the sequencer iterates through the contained child sequencers, in the order that the child sequencers were added, attempting to add the node to each child sequencer in turn. The node is added to the first child sequencer that accepts it.
Instances of CC3BTreeNodeSequencer can be used to group nodes by some parent criteria while allowing the nodes to be further grouped within each child grouping.
- (void) addSequencer: | (CC3NodeSequencer *) | aNodeSequencer |
Adds the specified sequencer as a child sequencer.
+ (id) sequencerLocalContentOpaqueFirst |
Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, and sequences them so that all the opaque nodes appear before all the non-opaque nodes.
+ (id) sequencerLocalContentOpaqueFirstGroupMeshes |
Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, sequences them so that all the opaque nodes appear before all the non-opaque nodes, and below that, groups nodes by mesh, so that all nodes with the same mesh appear together.
+ (id) sequencerLocalContentOpaqueFirstGroupTextures |
Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, sequences them so that all the opaque nodes appear before all the non-opaque nodes, and below that, groups nodes by texture, so that all nodes with the same texture appear together.
- (NSMutableArray *) sequencers [read, assign] |
The array of child sequencers.