Click or drag to resize
SoLDMGlobalResourceParametersSetMax2DTexMemory Method

Sets the maximum 2D texture GPU memory in MB allowed to be loaded for all VolumeViz data sets.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public static void SetMax2DTexMemory(
	ulong maxMemory
)

Parameters

maxMemory
Type: SystemUInt64
Remarks

The sum of 2D texture memory allowed per data set (see SoLDMResourceParameters.max2DTextures field) must be less than or equal to this value. The total amount of GPU memory allowed is set using the OIV.LDM.SoLDMGlobalResourceParameters.SetMaxTexMemory(System.Int32) method. This method limits the amount of GPU memory that can be used by (for example) OIV.VolumeViz.Nodes.SoOrthoSlice and OIV.VolumeViz.Nodes.SoVolumeSkin nodes. This can be useful when combining slices and volume rendering because the 3D textures used by volume rendering require much more GPU memory. Default is 5% of GPU memory available at application startup.

See Also