SoGLGraphicConfigTemplate Class |
Defines an OpenGL graphics configuration template.
Namespace: OIV.Inventor.Components
The SoGLGraphicConfigTemplate type exposes the following members.
Name | Description | |
---|---|---|
SoGLGraphicConfigTemplate | Constructor. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetAccelerated | Returns the graphics acceleration preference. | |
GetAccum | Returns the accumulation buffer preferences. | |
GetDepth | Returns the depth buffer preference and sizes. | |
GetDoubleBuffer | Returns the double buffer mode preference. | |
GetFloatRGBAColor | Returns the float color preferences. | |
GetFullSceneAntialiasing | Returns the full-scene antialiasing preference and number of samples. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetRGBAColor | Returns the color preferences. | |
GetStencil | Returns the stencil preferences. | |
GetStereoBuffer | Returns the stereo buffer preference. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFloatRGBAColor | Returns true if floating point RGBA is used. | |
IsGraphicsConfigSupported | Indicates if the graphics configuration graphicConfig fits this template. | |
SetAccelerated | Sets the graphics acceleration preference. | |
SetAccum(SoGraphicConfigTemplatePreferences) | Calls SetAccum(pref, System.Int32(0), System.Int32(0), System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32) | Calls SetAccum(pref, minRedBits, System.Int32(0), System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, minBlueBits, System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, INT_MAX, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, maxGreenBits, INT_MAX, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetAccum(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, maxGreenBits, maxBlueBits, INT_MAX). | |
SetAccum(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Sets the accumulation preferences. | |
SetDepth(SoGraphicConfigTemplatePreferences) | Calls SetDepth(pref, System.Int32(0), INT_MAX). | |
SetDepth(SoGraphicConfigTemplatePreferences, Int32) | Calls SetDepth(pref, minBits, INT_MAX). | |
SetDepth(SoGraphicConfigTemplatePreferences, Int32, Int32) | Sets the depth buffer preferences. | |
SetDoubleBuffer | Sets the double buffer mode preference. | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences) | Calls SetFloatRGBAColor(pref, 15, 15, 15, 15, 16, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, 15, 15, 15, 16, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, 15, 15, 16, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, minFloatBlueBits, 15, 16, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, minFloatBlueBits, minFloatAlphaBits, 16, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, minFloatBlueBits, minFloatAlphaBits, maxFloatRedBits, 16, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, minFloatBlueBits, minFloatAlphaBits, maxFloatRedBits, maxFloatGreenBits, 16, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetFloatRGBAColor(pref, minFloatRedBits, minFloatGreenBits, minFloatBlueBits, minFloatAlphaBits, maxFloatRedBits, maxFloatGreenBits, maxFloatBlueBits, 16). | |
SetFloatRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Sets the float color preferences. | |
SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences) | Calls SetFullSceneAntialiasing(pref, System.Int32(0), INT_MAX). | |
SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences, Int32) | Calls SetFullSceneAntialiasing(pref, minFsaaBits, INT_MAX). | |
SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences, Int32, Int32) | Sets the full-scene antialiasing preferences. | |
SetRGBAColor(SoGraphicConfigTemplatePreferences) | Calls SetRGBAColor(pref, System.Int32(0), System.Int32(0), System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32) | Calls SetRGBAColor(pref, minRedBits, System.Int32(0), System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, System.Int32(0), System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, minBlueBits, System.Int32(0), INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, INT_MAX, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, INT_MAX, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, maxGreenBits, INT_MAX, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Calls SetRGBAColor(pref, minRedBits, minGreenBits, minBlueBits, minAlphaBits, maxRedBits, maxGreenBits, maxBlueBits, INT_MAX). | |
SetRGBAColor(SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Sets the color preferences. | |
SetStencil(SoGraphicConfigTemplatePreferences) | Calls SetStencil(pref, System.Int32(0), INT_MAX). | |
SetStencil(SoGraphicConfigTemplatePreferences, Int32) | Calls SetStencil(pref, minBits, INT_MAX). | |
SetStencil(SoGraphicConfigTemplatePreferences, Int32, Int32) | Sets the stencil preferences. | |
SetStereoBuffer | Sets the stereo buffer mode preference. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
An OpenGL graphics configuration template is a set of graphics preferences used to choose the best OpenGL graphics configuration (OIV.Inventor.Components.SoGLGraphicConfig) available on an OpenGL graphics device (OIV.Inventor.Components.SoGLGraphicDevice).
There are many different criteria: double/single buffer, raw stereo, OpenGL acceleration, Z-buffer depth size, RGBA/indexed colors and size, accumulation buffer and size, stencil buffer and size, etc. Every criterion is required, or forbidden, or preferred. The preferred criterion can be extended to an integer weight: OIV.Inventor.Components.SoGraphicConfigTemplate.Preferences.PREFERRED (equal to 1), 2, 3, 4, 10, 100, 1000, and so forth. The sum of all weights determines if one graphics configuration is better than another.
The default values are:
Double buffer is REQUIRED;
Stereo buffer is FORBIDDEN;
Accelerated OpenGL is REQUIRED;
Depth buffer is REQUIRED; its size is greater than 0;
Non-indexed color is REQUIRED; its R/G/B/A sizes are greater than 0;
Indexed color is FORBIDDEN;
Accumulation buffer is PREFERRED (weight 1); its R/G/B/A sizes are greater than 0;
Stencil buffer is PREFERRED(weight 1); its size is greater than 0;
Full-scene antialiasing is FORBIDDEN.