Click or drag to resize
SoTextureUnitGetMaxTextureUnit Method (SoState)

Returns the maximum number of texture units.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
public static uint GetMaxTextureUnit(
	SoState state
)

Parameters

state
Type: OIV.Inventor.MiscSoState

Return Value

Type: UInt32
Remarks

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