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: 2023.1.3.0 (2023.1.3)
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