Click or drag to resize
SoGLGraphicConfigTemplateSetDepth Method (SoGraphicConfigTemplatePreferences, Int32, Int32)

Sets the depth buffer preferences.

Namespace: OIV.Inventor.Components
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void SetDepth(
	SoGraphicConfigTemplatePreferences pref,
	int minBits,
	int maxBits
)

Parameters

pref
Type: OIV.Inventor.ComponentsSoGraphicConfigTemplatePreferences
minBits
Type: SystemInt32
maxBits
Type: SystemInt32
Remarks

minBits and maxBits are the minimum and maximum required sizes. The required size must be greater than or equal to minBits, and less than or equal to maxBits. The maximum size is always preferred. If pref is FORBIDDEN, the min/max values are ignored.

See Also