![]() |
Murl Engine API
Version 2018.3
|
The IStateSlot property interface. More...
#include <murl_graph_i_state_slot.h>
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.
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... | |
Set the slot index to use.
slot | The slot index. |
|
pure virtual |
Get the slot index to use.