![]() |
Murl Engine API
Version 2018.3
|
The IStateUnit property interface. More...
#include <murl_graph_i_state_unit.h>
The IStateUnit property interface.
This interface provides a common way to select a generic "unit" for 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, light groups etc. are assigned to one available unit (e.g. 8 parallel texture units in the GPU), using state nodes like Graph::ITextureState or Graph::ILightState, respectively. See also Graph::IStateSlot.
Public Member Functions | |
virtual Bool | SetUnit (UInt32 unit)=0 |
Set the unit index to use. More... | |
virtual UInt32 | GetUnit () const =0 |
Get the unit index to use. More... | |
Set the unit index to use.
unit | The unit index. |
|
pure virtual |
Get the unit index to use.