SoGLGraphicConfigTemplateSetStencil Method (SoGraphicConfigTemplatePreferences, Int32, Int32) |
Sets the stencil preferences.
Namespace: OIV.Inventor.Components
public void SetStencil( SoGraphicConfigTemplatePreferences pref, int minBits, int maxBits )
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.