Click or drag to resize
SoLDMGlobalResourceParametersSetMax2DTextures Method

Note: This API is now obsolete.

Sets the maximum number of 2D textures allowed to be loaded for all VolumeViz data sets.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void SetMax2DTextures(
	int numTextures
)

Parameters

numTextures
Type: SystemInt32
Remarks

The sum of each number of 2D textures 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 setMaxTexMemory method. This method limits the amount of GPU memory that can be used by (for example) SoOrthoSlice and 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 (since Open Inventor 8.1) is 5% of total GPU memory Deprecated. Use setMax2DTexMemory instead.Obsoletesince Open Inventor 9500 No longer used. Will be removed in OIV10.

See Also