|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...|
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.
Member Function Documentation
Set the unit index to use.
unit The unit index.
- true if successful.
Get the unit index to use.
- The unit index.
The documentation for this interface was generated from the following file: