Click or drag to resize
SoLDMGlobalResourceParametersSetMaxTexMemory Method

Sets the maximum texture (GPU) memory, in MB, for all VolumeViz data sets.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public static void SetMaxTexMemory(
	int maxTexMemory
)

Parameters

maxTexMemory
Type: SystemInt32
Remarks

You can also set the maximum texture memory for each data set separately using the maxTexMemory field of the data set's OIV.LDM.Nodes.SoLDMResourceParameters object (see OIV.LDM.Nodes.SoDataSet.m_ldmResourceParameters). The sum of all per data set values must be less than or equal to the value set here.

Default is 75% of GPU memory available at application startup. See OIV.Inventor.Devices.SoGLDevice to query available GPU memory.

See Also