The IStateSlot property interface. More...
#include "murl_graph_i_state_slot.h"
Public Member Functions | |
virtual Bool | SetSlot (SInt32 slot)=0 |
Set the slot index to use. More... | |
virtual SInt32 | GetSlot () const =0 |
Get the slot index to use. More... | |
Detailed Description
The IStateSlot property interface.
This interface provides a common way to select a generic "slot" in which an object is used. One application of this mechanism is found in the Graph::IProcessOutputTracker interface, where e.g. different video rendering entities like textures, materials etc. are assigned to specific slots during scene graph traversal, using state nodes like Graph::ITextureState or Graph::IMaterialState, respectively. In this case, these slots serve as a connection for rendering geometry with dynamically assigned properties. See also Graph::IStateUnit.
Member Function Documentation
◆ SetSlot()
Set the slot index to use.
- Parameters
-
slot The slot index.
- Returns
- true if successful.
◆ GetSlot()
|
pure virtual |
Get the slot index to use.
- Returns
- The slot index.
The documentation for this interface was generated from the following file:
- murl_graph_i_state_slot.h