|virtual INode *||GetNodeInterface ()=0|
|Get the mutable Graph::INode interface. More...|
|virtual const INode *||GetNodeInterface () const =0|
|Get the constant Graph::INode interface. More...|
|virtual Bool||SetLayerIndex (UInt32 layerIndex)=0|
|Set the current layer index. More...|
|virtual UInt32||GetLayerIndex () const =0|
|Get the current layer index. More...|
The ILayerState graph node interface.
To allow finer control over the order in which geometry is rendered within an active Graph::ICamera, it is possible to select an individual render layer by using a Graph::ILayerState node with a given index. Layers with lower indices (default 0) are rendered first, i.e. their objects will be overdrawn by objects contained in layers with higher indices.
In any case, if one layer contains both solid and (semi-)transparent objects, the solid ones are always rendered before the transparent ones. If this order is to be reversed, all solid objects must be put to a layer with an index higher than the current one.
Member Function Documentation
Set the current layer index.
layerIndex The current layer index to set.
- true if successful.
Get the current layer index.
- The current layer index.
The documentation for this interface was generated from the following file: