SoGLGet¶
- InventorModule¶
author
package
dll
definition
keywords
Purpose¶
The SoGLGet allows for receiving GL state information while rendering.
Parameter Fields¶
Visible Fields¶
Variable¶
- name: variable, type: Enum, default: GL_DEPTH_TEST¶
Defines the GL variable to query.
Values:
Title |
Name |
|---|---|
Alpha Bits |
GL_ALPHA_BITS |
Blend |
GL_BLEND |
Blue Bits |
GL_BLUE_BITS |
Color Writemask |
GL_COLOR_WRITEMASK |
Cull Face |
GL_CULL_FACE |
Cull Face Mode |
GL_CULL_FACE_MODE |
Depth Test |
GL_DEPTH_TEST |
Depth Writemask |
GL_DEPTH_WRITEMASK |
Green Bits |
GL_GREEN_BITS |
Line Smooth |
GL_LINE_SMOOTH |
Line Width |
GL_LINE_WIDTH |
Point Size |
GL_POINT_SIZE |
Red Bits |
GL_RED_BITS |
Samples |
GL_SAMPLES |
Sample Buffers |
GL_SAMPLE_BUFFERS |
Scissor Box |
GL_SCISSOR_BOX |
Scissor Test |
GL_SCISSOR_TEST |
Stencil Test |
GL_STENCIL_TEST |
Stereo |
GL_STEREO |
Unpack Alignment |
GL_UNPACK_ALIGNMENT |
Viewport |
GL_VIEWPORT |
Double Result¶
- name: doubleResult, type: Double, persistent: no¶
Shows the result as a double value.
Int Result¶
- name: intResult, type: Integer, persistent: no¶
Shows the result as an integer value (booleans are represented as 0/1).
Vec Result¶
- name: vecResult, type: Vector4, persistent: no¶
Shows the vector result of the query (for GL_VIEWPORT, GL_COLORMASK, etc.)