SoGLGraphicConfigTemplateSetDepth Method (SoGraphicConfigTemplatePreferences, Int32, Int32) |
Sets the depth buffer preferences.
Namespace: OIV.Inventor.ComponentsAssembly: 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
)
Public Sub SetDepth (
pref As SoGraphicConfigTemplatePreferences,
minBits As Integer,
maxBits As Integer
)
public:
void SetDepth(
SoGraphicConfigTemplatePreferences pref,
int minBits,
int maxBits
)
member SetDepth :
pref : SoGraphicConfigTemplatePreferences *
minBits : int *
maxBits : int -> unit
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