Click or drag to resize
SoLDMResourceParametersmax2DTextures Property

Note: This API is now obsolete.

Maximum number of 2D tiles allowed in texture (GPU) memory for this data set.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SoSFInt32 max2DTextures { get; }

Property Value

Type: SoSFInt32
Remarks

Each tile needed to render a slice (SoOrthoSlice, SoVolumeSkin, etc) must be stored in GPU memory as a 2D texture. 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 value is -1, meaning LDM is in charge of the automatic sharing of a given resource. Automatic sharing means LDM will compute, by itself, the amount of associated resource it allocates to each dataset. The automatic allocation takes into account all nodes in scenegraph.

If value is not -1 (default) LDM will not consider this node in memory allocation, and allocated CPU memory for this node will be the exact value set in the field. In this case, the amount of memory is removed from Global value. All other dataset will share (SoLDMGlobalResourceParameters.getMax2DTextures - ( Sum of memory of all datasets with max2DTextures != -1 )) / ( number of datasets with max2DTextures == -1 )Obsoletesince Open Inventor 9500 No longer used.

See Also