Click or drag to resize
SoLDMResourceParametersmaxTexMemory Property

Maximum allowed texture (GPU) memory in MB for this data set.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFInt32 maxTexMemory { get; }

Property Value

Type: SoSFInt32
Remarks

This field is only considered for OIV.VolumeViz.Nodes.SoVolumeRender nodes.

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 take in 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 (OIV.LDM.SoLDMGlobalResourceParameters.GetMaxTexMemory() - ( Sum of memory of all datasets with OIV.LDM.Nodes.SoLDMResourceParameters.maxTexMemory != -1 )) / ( number of datasets with OIV.LDM.Nodes.SoLDMResourceParameters.maxTexMemory == -1 )

See Also