![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
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.
Set the unit index to use.
unit | The unit index. |
Get the unit index to use.
Integer GetUnit()