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

Sets the stencil preferences.

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

Parameters

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

REQUIRED means indexed color mode and FORBIDDEN means RGBA mode. minBits and maxBits are the minimum and maximum required size. 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 minBits and maxBits values are ignored.

See Also