Gambas Documentation - /comp/gb.opengl/gl

# Gl (gb.opengl)

This class implements all the functions of the OpenGL library.

The OpenGL syntax was followed as much as possible, except for the following points:

- A function that received a C array pointer and its integer count as arguments now receives a Gambas array.

- Some constants had the same name as an OpenGL method. An underscore was added to their names in order to avoid the naming conflict. These constants are: Gl.ACCUM_, Gl.BITMAP_, Gl.CLEAR_ and Gl.VIEWPORT_.

This class is static.

Static methods | Constants
--- | ---

Operate on the accumulation buffer.
Accum
Select active texture unit.
ActiveTexture
Specify the alpha test function.
AlphaFunc
Delimit the vertices of a primitive or a group of like primitives.
Begin
Bind a framebuffer to a framebuffer target.
BindFramebufferEXT
Bind a renderbuffer to a renderbuffer target.
BindRenderbufferEXT
Bind a named texture to a texturing target.
BindTexture
Specify pixel arithmetic.
BlendFunc
Execute a display list.
CallList
Execute a list of display lists.
CallLists
Return if some OpenGL extensions are present.
CheckExtensions
Check the completeness status of a framebuffer.
CheckFramebufferStatusEXT
Clear buffers to preset values.
Clear
Specify clear values for the accumulation buffer.
ClearAccum
Specify clear values for the color buffers.
ClearColor
Specify the clear value for the depth buffer.
ClearDepth
Specify the clear value for the color index buffers.
ClearIndex
Specify the clear value for the stencil buffer.
ClearStencil
Specify a plane against which all geometry is clipped.
ClipPlane
Set the current color.
Color3f
Set the current color.
Color3i
Set the current color.
Color4f
Set the current color.
Color4i
For Gl.ColorMaski, specifies the index of the draw buffer whose color mask to set.
ColorMask
Cause a material color to track the current color.
ColorMaterial
Colorf
Set the current color.
Colorfv
Colori
Set the current color.
Coloriv
Copy pixels in the frame buffer.
CopyPixels
Copy pixels into a 1D texture image.
CopyTexImage1D
Copy pixels into a 2D texture image.
CopyTexImage2D
Specify whether front- or back-facing facets can be culled.
CullFace
Delete framebuffer objects.
DeleteFramebuffersEXT
Delete a contiguous group of display lists.
DeleteLists
Delete renderbuffer objects.
DeleteRenderbuffersEXT
Delete named textures.
DeleteTextures
Specify the value used for depth buffer comparisons.
DepthFunc
Enable or disable writing into the depth buffer.
DepthMask
Specify mapping of depth values from normalized device coordinates to window coordinates.
DepthRange
Enable or disable server-side GL capabilities.
Enable
Specify which color buffers are to be drawn into.
DrawBuffer
Write a block of pixels to the frame buffer.
DrawPixels
Flag edges as either boundary or nonboundary.
EdgeFlag
Enable or disable server-side GL capabilities.
Enable
Delimit the vertices of a primitive or a group of like primitives.
Begin
Create or replace a display list.
NewList
Evaluate enabled one- and two-dimensional maps.
EvalCoord1f
Evaluate enabled one- and two-dimensional maps.
EvalCoord2f
Evaluate enabled one- and two-dimensional maps.
EvalCoord2fv
Compute a one- or two-dimensional grid of points or lines.
EvalMesh1
Compute a one- or two-dimensional grid of points or lines.
EvalMesh2
Generate and evaluate a single point in a mesh.
EvalPoint1
Generate and evaluate a single point in a mesh.
EvalPoint2
Controls feedback mode.
FeedbackBuffer
Block until all GL execution is complete.
Finish
Force execution of GL commands in finite time.
Flush
Specify fog parameters.
Fogf
Specify fog parameters.
Fogfv
Specify fog parameters.
Fogi
Specify fog parameters.
Fogiv
Attach a renderbuffer as a logical buffer to the currently bound framebuffer object.
FramebufferRenderbufferEXT
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FramebufferTexture1DEXT
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FramebufferTexture2DEXT
Attach a level of a texture object as a logical buffer to the currently bound framebuffer object.
FramebufferTexture3DEXT
Define front- and back-facing polygons.
FrontFace
Multiply the current matrix by a perspective matrix.
Frustum
Generate framebuffer object names.
GenFramebuffersEXT
Generate a contiguous set of empty display lists.
GenLists
Generate renderbuffer object names.
GenRenderbuffersEXT
Generate texture names.
GenTextures
Generate mipmaps for a specified texture target.
GenerateMipmapEXT
Return the value or values of a selected parameter.
GetBooleanv
Return the coefficients of the specified clipping plane.
GetClipPlane
Return error information.
GetError
Return the value or values of a selected parameter.
GetFloatv
Specifies the target of the query operation.
GetFramebufferAttachmentParameterivEXT
Return the value or values of a selected parameter.
GetIntegerv
Return light source parameter values.
GetLightfv
Return light source parameter values.
GetLightiv
Return material parameters.
GetMaterialfv
Return material parameters.
GetMaterialiv
Specifies the target of the query operation. target must be Gl.RENDERBUFFER.
GetRenderbufferParameterivEXT
Return a string describing the current GL connection.
GetString
Specify implementation-specific hints.
Hint
Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's.
IndexMask
Set the current color index.
Indexf
Set the current color index.
Indexi
Initialize the name stack.
InitNames
Specifies a symbolic constant indicating a GL capability.
IsEnabled
Determine if a name corresponds to a framebuffer object.
IsFramebufferEXT
Determine if a name corresponds to a display list.
IsList
Determine if a name corresponds to a renderbuffer object.
IsRenderbufferEXT
Determine if a name corresponds to a texture.
IsTexture
Set the lighting model parameters.
LightModelf
Set the lighting model parameters.
LightModelfv
Set the lighting model parameters.
LightModeli
Set the lighting model parameters.
LightModeliv
Set light source parameters.
Lightf
Set light source parameters.
Lightfv
Set light source parameters.
Lighti
Set light source parameters.
Lightiv
Specify the line stipple pattern.
LineStipple
Specify the width of rasterized lines.
LineWidth
Set the display-list base for Gl.CallLists.
ListBase
Replace the current matrix with the identity matrix.
LoadIdentity
Replace the current matrix with the specified matrix.
LoadMatrixf
Load a name onto the name stack.
LoadName
Specify a logical pixel operation for rendering.
LogicOp
Define a one-dimensional evaluator.
Map1f
Define a two-dimensional evaluator.
Map2f
Define a one- or two-dimensional mesh.
MapGrid1f
Define a one- or two-dimensional mesh.
MapGrid2f
Specify material parameters for the lighting model.
Materialf
Specify material parameters for the lighting model.
Materialfv
Specify material parameters for the lighting model.
Materiali
Specify material parameters for the lighting model.
Materialiv
Specify which matrix is the current matrix.
MatrixMode
Multiply the current matrix with the specified matrix.
MultMatrixf
Set the current texture coordinates.
MultiTexCoord2f
Create or replace a display list.
NewList
Set the current normal vector.
Normal3f
Set the current normal vector.
Normal3fv
Set the current normal vector.
Normal3i
Set the current normal vector.
Normal3iv
Multiply the current matrix with an orthographic matrix.
Ortho
Place a marker in the feedback buffer.
PassThrough
Set pixel storage modes.
PixelStoref
Set pixel storage modes.
PixelStorei
Set pixel transfer modes.
PixelTransferf
Set pixel transfer modes.
PixelTransferi
Specify the diameter of rasterized points.
PointSize
Specifies the polygons that mode applies to. Must be Gl.FRONT_AND_BACK for front- and back-facing polygons.
PolygonMode
Set the scale and units used to calculate depth values.
PolygonOffset
Push the current matrix stack.
PushMatrix
Push and pop the name stack.
PushName
Push the current matrix stack.
PushMatrix
Push and pop the name stack.
PushName
Specify the raster position for pixel operations.
RasterPos2f
Specify the raster position for pixel operations.
RasterPos2i
Specify the raster position for pixel operations.
RasterPos3f
Specify the raster position for pixel operations.
RasterPos3i
Specify the raster position for pixel operations.
RasterPos4f
Specify the raster position for pixel operations.
RasterPos4i
Specify the raster position for pixel operations.
RasterPosf
Specify the raster position for pixel operations.
RasterPosfv
Specify the raster position for pixel operations.
RasterPosi
Specify the raster position for pixel operations.
RasterPosiv
Specifies a color buffer. Accepted values are Gl.FRONT_LEFT, Gl.FRONT_RIGHT, Gl.FRONT, Gl.LEFT, and Gl.RIGHT.
ReadBuffer
Specify one vertex of a rectangle.
Rectf
Specify one vertex of a rectangle.
Recti
Set rasterization mode.
RenderMode
Establish data storage, format and dimensions of a renderbuffer object's image.
RenderbufferStorageEXT
Multiply the current matrix by a rotation matrix.
Rotatef
Multiply the current matrix by a general scaling matrix.
Scalef
Define the scissor box.
Scissor
Establish a buffer for selection mode values.
SelectBuffer
Specifies a symbolic value representing a shading technique. Accepted values are Gl.FLAT and Gl.SMOOTH. The initial value is Gl.SMOOTH.
ShadeModel
Set front and back function and reference value for stencil testing.
StencilFunc
Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
StencilMask
Set front and back stencil test actions.
StencilOp
Set the current texture coordinates.
TexCoord1f
Set the current texture coordinates.
TexCoord1i
Set the current texture coordinates.
TexCoord2f
Set the current texture coordinates.
TexCoord2i
Set the current texture coordinates.
TexCoord3f
Set the current texture coordinates.
TexCoord3i
Set the current texture coordinates.
TexCoord4f
Set the current texture coordinates.
TexCoord4i
Set the current texture coordinates.
TexCoordf
Set the current texture coordinates.
TexCoordi
Set texture environment parameters.
TexEnvf
Set texture environment parameters.
TexEnvfv
Set texture environment parameters.
TexEnvi
Set texture environment parameters.
TexEnviv
Specifies a texture coordinate. Must be one of Gl.S, Gl.T, Gl.R, or Gl.Q.
TexGeni
Specify a one-dimensional texture image.
TexImage1D
Specify a two-dimensional texture image.
TexImage2D
Set texture parameters.
TexParameterf
Set texture parameters.
TexParameterfv
Set texture parameters.
TexParameteri
Set texture parameters.
TexParameteriv
Specify a one-dimensional texture subimage.
TexSubImage1D
Specify a two-dimensional texture subimage.
TexSubImage2D
Multiply the current matrix by a translation matrix.
Translatef
Specify a vertex.
Vertex2f
Specify a vertex.
Vertex2i
Specify a vertex.
Vertex3f
Specify a vertex.
Vertex3i
Specify a vertex.
Vertex4f
Specify a vertex.
Vertex4i
Specify a vertex.
Vertexf
Specify a vertex.
Vertexfv
Specify a vertex.
Vertexi
Specify a vertex.
Vertexiv
Set the viewport.
Viewport

ACCUM_ ACCUM_ALPHA_BITS ACCUM_BLUE_BITS ACCUM_BUFFER_BIT ACCUM_CLEAR_VALUE ACCUM_GREEN_BITS ACCUM_RED_BITS ADD ADD_SIGNED_ARB ALL_ATTRIB_BITS ALPHA ALPHA_BIAS ALPHA_BITS ALPHA_SCALE ALPHA_TEST ALPHA_TEST_FUNC ALPHA_TEST_REF ALWAYS AMBIENT AMBIENT_AND_DIFFUSE AND AND_INVERTED AND_REVERSE ARRAY_BUFFER ATTRIB_STACK_DEPTH AUTO_NORMAL AUX0 AUX1 AUX2 AUX3 AUX_BUFFERS BACK BACK_LEFT BACK_RIGHT BGR BGRA BITMAP_ BITMAP_TOKEN BLEND BLEND_DST BLEND_SRC BLUE BLUE_BIAS BLUE_BITS BLUE_SCALE CCW CLAMP CLEAR_ CLIENT_ATTRIB_STACK_DEPTH CLIP_PLANE0 CLIP_PLANE1 CLIP_PLANE2 CLIP_PLANE3 CLIP_PLANE4 CLIP_PLANE5 COEFF COLOR COLOR_ARRAY COLOR_ATTACHMENT0_EXT COLOR_ATTACHMENT10_EXT COLOR_ATTACHMENT11_EXT COLOR_ATTACHMENT12_EXT COLOR_ATTACHMENT13_EXT COLOR_ATTACHMENT14_EXT COLOR_ATTACHMENT15_EXT COLOR_ATTACHMENT1_EXT COLOR_ATTACHMENT2_EXT COLOR_ATTACHMENT3_EXT COLOR_ATTACHMENT4_EXT COLOR_ATTACHMENT5_EXT COLOR_ATTACHMENT6_EXT COLOR_ATTACHMENT7_EXT COLOR_ATTACHMENT8_EXT COLOR_ATTACHMENT9_EXT COLOR_BUFFER_BIT COLOR_CLEAR_VALUE COLOR_INDEX COLOR_INDEXES COLOR_LOGIC_OP COLOR_MATERIAL COLOR_MATERIAL_FACE COLOR_MATERIAL_PARAMETER COLOR_WRITEMASK COMBINE COMBINE_ALPHA COMBINE_ALPHA_ARB COMBINE_ALPHA_EXT COMBINE_ARB COMBINE_EXT COMBINE_RGB COMBINE_RGB_ARB COMBINE_RGB_EXT COMPILE COMPILE_AND_EXECUTE COMPRESSED_RGBA COMPRESSED_RGBA_S3TC_DXT1_EXT COMPRESSED_RGBA_S3TC_DXT3_EXT COMPRESSED_RGBA_S3TC_DXT5_EXT CONSTANT_ARB CONSTANT_ATTENUATION COPY COPY_INVERTED COPY_PIXEL_TOKEN CULL_FACE CULL_FACE_MODE CURRENT_BIT CURRENT_COLOR CURRENT_INDEX CURRENT_NORMAL CURRENT_QUERY CURRENT_RASTER_COLOR CURRENT_RASTER_DISTANCE CURRENT_RASTER_INDEX CURRENT_RASTER_POSITION CURRENT_RASTER_POSITION_VALID CURRENT_RASTER_TEXTURE_COORDS CURRENT_TEXTURE_COORDS CW DECAL DECR DEPTH DEPTH_ATTACHMENT_EXT DEPTH_BIAS DEPTH_BITS DEPTH_BUFFER_BIT DEPTH_CLEAR_VALUE DEPTH_COMPONENT DEPTH_FUNC DEPTH_RANGE DEPTH_SCALE DEPTH_TEST DEPTH_WRITEMASK DIFFUSE DITHER DOMAIN DONT_CARE DOUBLE DOUBLEBUFFER DRAW_BUFFER DRAW_PIXEL_TOKEN DST_ALPHA DST_COLOR EDGE_FLAG ELEMENT_ARRAY_BUFFER EMISSION ENABLE_BIT EQUAL EQUIV EVAL_BIT EXP EXP2 EXTENSIONS EYE_LINEAR EYE_PLANE FALSE FASTEST FEEDBACK FEEDBACK_BUFFER_POINTER FEEDBACK_BUFFER_SIZE FEEDBACK_BUFFER_TYPE FILL FLAT FLOAT FOG FOG_BIT FOG_COLOR FOG_DENSITY FOG_END FOG_HINT FOG_INDEX FOG_MODE FOG_START FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT FRAMEBUFFER_BINDING_EXT FRAMEBUFFER_COMPLETE_EXT FRAMEBUFFER_EXT FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT FRAMEBUFFER_INCOMPLETE_FORMATS_EXT FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT FRAMEBUFFER_UNSUPPORTED_EXT FRONT FRONT_AND_BACK FRONT_FACE FRONT_LEFT FRONT_RIGHT GENERATE_MIPMAP GEQUAL GREATER GREEN GREEN_BIAS GREEN_BITS GREEN_SCALE HINT_BIT INCR INDEX_BITS INDEX_CLEAR_VALUE INDEX_LOGIC_OP INDEX_MODE INDEX_OFFSET INDEX_SHIFT INDEX_WRITEMASK INTEGER INTERPOLATE_ARB INVALID_ENUM INVALID_FRAMEBUFFER_OPERATION_EXT INVALID_OPERATION INVALID_VALUE INVERT KEEP LEFT LEQUAL LESS LIGHT0 LIGHT1 LIGHT2 LIGHT3 LIGHT4 LIGHT5 LIGHT6 LIGHT7 LIGHTING LIGHTING_BIT LIGHT_MODEL_AMBIENT LIGHT_MODEL_LOCAL_VIEWER LIGHT_MODEL_TWO_SIDE LINE LINEAR LINEAR_ATTENUATION LINEAR_MIPMAP_LINEAR LINEAR_MIPMAP_NEAREST LINES LINE_BIT LINE_LOOP LINE_RESET_TOKEN LINE_SMOOTH LINE_SMOOTH_HINT LINE_STIPPLE LINE_STIPPLE_PATTERN LINE_STIPPLE_REPEAT LINE_STRIP LINE_TOKEN LINE_WIDTH LIST_BASE LIST_BIT LIST_INDEX LIST_MODE LOAD LOGIC_OP LOGIC_OP_MODE LUMINANCE LUMINANCE_ALPHA MAP1_COLOR_4 MAP1_GRID_DOMAIN MAP1_GRID_SEGMENTS MAP1_INDEX MAP1_NORMAL MAP1_TEXTURE_COORD_1 MAP1_TEXTURE_COORD_2 MAP1_TEXTURE_COORD_3 MAP1_TEXTURE_COORD_4 MAP1_VERTEX_3 MAP1_VERTEX_4 MAP2_COLOR_4 MAP2_GRID_DOMAIN MAP2_GRID_SEGMENTS MAP2_INDEX MAP2_NORMAL MAP2_TEXTURE_COORD_1 MAP2_TEXTURE_COORD_2 MAP2_TEXTURE_COORD_3 MAP2_TEXTURE_COORD_4 MAP2_VERTEX_3 MAP2_VERTEX_4 MAP_COLOR MAP_STENCIL MATRIX_MODE MAX_ATTRIB_STACK_DEPTH MAX_CLIENT_ATTRIB_STACK_DEPTH MAX_CLIP_PLANES MAX_COLOR_ATTACHMENTS_EXT MAX_EVAL_ORDER MAX_LIGHTS MAX_LIST_NESTING MAX_MODELVIEW_STACK_DEPTH MAX_NAME_STACK_DEPTH MAX_PIXEL_MAP_TABLE MAX_PROJECTION_STACK_DEPTH MAX_RECTANGLE_TEXTURE_SIZE_ARB MAX_RENDERBUFFER_SIZE_EXT MAX_TEXTURE_SIZE MAX_TEXTURE_STACK_DEPTH MAX_VIEWPORT_DIMS MODELVIEW MODELVIEW_MATRIX MODELVIEW_STACK_DEPTH MODULATE MULT NAME_STACK_DEPTH NAND NEAREST NEAREST_MIPMAP_LINEAR NEAREST_MIPMAP_NEAREST NEVER NICEST NONE NOOP NOR NORMALIZE NORMAL_ARRAY NOTEQUAL NO_ERROR OBJECT_LINEAR OBJECT_PLANE ONE ONE_MINUS_DST_ALPHA ONE_MINUS_DST_COLOR ONE_MINUS_SRC_ALPHA ONE_MINUS_SRC_COLOR OPERAND0_ALPHA_ARB OPERAND0_RGB_ARB OPERAND1_ALPHA_ARB OPERAND1_RGB_ARB OPERAND2_ALPHA_ARB OPERAND2_RGB_ARB OR ORDER OR_INVERTED OR_REVERSE OUT_OF_MEMORY PACK_ALIGNMENT PACK_LSB_FIRST PACK_ROW_LENGTH PACK_SKIP_PIXELS PACK_SKIP_ROWS PACK_SWAP_BYTES PASS_THROUGH_TOKEN PERSPECTIVE_CORRECTION_HINT PIXEL_MAP_A_TO_A PIXEL_MAP_A_TO_A_SIZE PIXEL_MAP_B_TO_B PIXEL_MAP_B_TO_B_SIZE PIXEL_MAP_G_TO_G PIXEL_MAP_G_TO_G_SIZE PIXEL_MAP_I_TO_A PIXEL_MAP_I_TO_A_SIZE PIXEL_MAP_I_TO_B PIXEL_MAP_I_TO_B_SIZE PIXEL_MAP_I_TO_G PIXEL_MAP_I_TO_G_SIZE PIXEL_MAP_I_TO_I PIXEL_MAP_I_TO_I_SIZE PIXEL_MAP_I_TO_R PIXEL_MAP_I_TO_R_SIZE PIXEL_MAP_R_TO_R PIXEL_MAP_R_TO_R_SIZE PIXEL_MAP_S_TO_S PIXEL_MAP_S_TO_S_SIZE PIXEL_MODE_BIT POINT POINTS POINT_BIT POINT_SIZE POINT_SMOOTH POINT_SMOOTH_HINT POINT_TOKEN POLYGON POLYGON_BIT POLYGON_MODE POLYGON_OFFSET_FACTOR POLYGON_OFFSET_FILL POLYGON_OFFSET_LINE POLYGON_OFFSET_POINT POLYGON_OFFSET_UNITS POLYGON_SMOOTH POLYGON_SMOOTH_HINT POLYGON_STIPPLE POLYGON_STIPPLE_BIT POLYGON_TOKEN POSITION PREVIOUS_ARB PRIMARY_COLOR_ARB PRIMITIVES_GENERATED PROJECTION PROJECTION_MATRIX PROJECTION_STACK_DEPTH PROXY_TEXTURE_RECTANGLE_ARB Q QUADRATIC_ATTENUATION QUADS QUAD_STRIP QUERY_COUNTER_BITS QUERY_RESULT R READ_BUFFER RED RED_BIAS RED_BITS RED_SCALE RENDER RENDERBUFFER_ALPHA_SIZE_EXT RENDERBUFFER_BINDING_EXT RENDERBUFFER_BLUE_SIZE_EXT RENDERBUFFER_DEPTH_SIZE_EXT RENDERBUFFER_EXT RENDERBUFFER_GREEN_SIZE_EXT RENDERBUFFER_HEIGHT_EXT RENDERBUFFER_INTERNAL_FORMAT_EXT RENDERBUFFER_RED_SIZE_EXT RENDERBUFFER_STENCIL_SIZE_EXT RENDERBUFFER_WIDTH_EXT RENDERER RENDER_MODE REPEAT REPLACE RETURN RGB RGBA RGBA_MODE RGB_SCALE_ARB RIGHT S SAMPLER_2D_RECT_ARB SAMPLER_2D_RECT_SHADOW_ARB SAMPLES_PASSED SCISSOR_BIT SCISSOR_BOX SCISSOR_TEST SELECT SELECTION_BUFFER_POINTER SELECTION_BUFFER_SIZE SET SHADE_MODEL SHADING_LANGUAGE_VERSION SHININESS SMOOTH SMOOTH_LINE_WIDTH_GRANULARITY SMOOTH_LINE_WIDTH_RANGE SMOOTH_POINT_SIZE_GRANULARITY SMOOTH_POINT_SIZE_RANGE SOURCE0_ALPHA_ARB SOURCE0_RGB_ARB SOURCE1_ALPHA_ARB SOURCE1_RGB_ARB SOURCE2_ALPHA_ARB SOURCE2_RGB_ARB SPECULAR SPHERE_MAP SPOT_CUTTOFF SPOT_DIRECTION SPOT_EXPONENT SRC_ALPHA SRC_ALPHA_SATURATE SRC_COLOR STACK_OVERFLOW STACK_UNDERFLOW STATIC_DRAW STENCIL STENCIL_ATTACHMENT_EXT STENCIL_BITS STENCIL_BUFFER_BIT STENCIL_CLEAR_VALUE STENCIL_FAIL STENCIL_FUNC STENCIL_INDEX STENCIL_INDEX16_EXT STENCIL_INDEX1_EXT STENCIL_INDEX4_EXT STENCIL_INDEX8_EXT STENCIL_PASS_DEPTH_FAIL STENCIL_PASS_DEPTH_PASS STENCIL_REF STENCIL_TEST STENCIL_VALUE_MASK STENCIL_WRITEMASK STEREO SUBPIXEL_BITS SUBTRACT_ARB T TEXTURE TEXTURE0 TEXTURE0_ARB TEXTURE1 TEXTURE1_ARB TEXTURE2 TEXTURE2_ARB TEXTURE3 TEXTURE3_ARB TEXTURE4 TEXTURE4_ARB TEXTURE_1D TEXTURE_2D TEXTURE_ALPHA_SIZE TEXTURE_BINDING_RECTANGLE_ARB TEXTURE_BIT TEXTURE_BLUE_SIZE TEXTURE_BORDER TEXTURE_BORDER_COLOR TEXTURE_COMPONENTS TEXTURE_COORD_ARRAY TEXTURE_ENV TEXTURE_ENV_COLOR TEXTURE_ENV_MODE TEXTURE_GEN_MODE TEXTURE_GEN_Q TEXTURE_GEN_R TEXTURE_GEN_S TEXTURE_GEN_T TEXTURE_GREEN_SIZE TEXTURE_HEIGHT TEXTURE_INTENSITY_SIZE TEXTURE_LUMINANCE_SIZE TEXTURE_MAG_FILTER TEXTURE_MATRIX TEXTURE_MAX_LEVEL TEXTURE_MIN_FILTER TEXTURE_RECTANGLE_ARB TEXTURE_RED_SIZE TEXTURE_STACK_DEPTH TEXTURE_WIDTH TEXTURE_WRAP_S TEXTURE_WRAP_T TRANSFORM_BIT TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN TRIANGLES TRIANGLE_FAN TRIANGLE_STRIP TRUE UNPACK_ALIGNMENT UNPACK_LSB_FIRST UNPACK_ROW_LENGTH UNPACK_SKIP_PIXELS UNPACK_SKIP_ROWS UNPACK_SWAP_BYTES UNSIGNED_BYTE UNSIGNED_INT VENDOR VERSION VERTEX_ARRAY VIEWPORT_ VIEWPORT_BIT XOR ZERO ZOOM_X ZOOM_Y