SoGLGet

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoUtils
definition utils.def
keywords OpenGL, render

Purpose

The SoGLGet allows to get GL state information while rendering.

Parameter Fields

Visible Fields

Variable

name: variable, type: Enum, default: GL_DEPTH_TEST

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

The result as a double value.

Int Result

name: intResult, type: Integer, persistent: no

The result as integer (Booleans are represented as 0/1).

Vec Result

name: vecResult, type: Vector4, persistent: no

The vector result of the query (for GL_VIEWPORT, GL_COLORMASK, …)