SoTextureUnitGetMaxTextureUnit Method (SoState) |
Returns the maximum number of texture units.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public static uint GetMaxTextureUnit(
SoState state
)
Public Shared Function GetMaxTextureUnit (
state As SoState
) As UInteger
public:
static unsigned int GetMaxTextureUnit(
SoState^ state
)
static member GetMaxTextureUnit :
state : SoState -> uint32
Parameters
- state
- Type: OIV.Inventor.MiscSoState
Return Value
Type:
UInt32Remarks This is the max which can be used when a shader is on state. Without shaders, only the first 4 units (0..3) can be used.
See Also