Murl Engine API  Version 2018.3
Murl::Graph::IStateSlot Interface Referenceabstract

The IStateSlot property interface. More...

#include <murl_graph_i_state_slot.h>

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.

Inheritance diagram for Murl::Graph::IStateSlot:
Murl::Graph::IAnchorState Murl::Graph::IAnchorStateCopy Murl::Graph::ICamera Murl::Graph::ICameraState Murl::Graph::ICameraStateCopy Murl::Graph::ICullerState Murl::Graph::ICullerStateCopy Murl::Graph::IIsland Murl::Graph::IIslandState Murl::Graph::IIslandStateCopy Murl::Graph::IListener Murl::Graph::IListenerState Murl::Graph::IListenerStateCopy Murl::Graph::IMaterial Murl::Graph::IMaterialState Murl::Graph::IMaterialStateCopy Murl::Graph::IParameters Murl::Graph::IParametersState Murl::Graph::IParametersStateCopy Murl::Graph::ISurface Murl::Graph::ISurfaceState Murl::Graph::ISurfaceStateCopy Murl::Graph::ITexture Murl::Graph::ITextureState Murl::Graph::ITextureStateCopy

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...
 

Member Function Documentation

◆ SetSlot()

virtual Bool Murl::Graph::IStateSlot::SetSlot ( SInt32  slot)
pure virtual

Set the slot index to use.

Parameters
slotThe slot index.
Returns
true if successful.

◆ GetSlot()

virtual SInt32 Murl::Graph::IStateSlot::GetSlot ( ) const
pure virtual

Get the slot index to use.

Returns
The slot index.

The documentation for this interface was generated from the following file: