Module GL
OpenGL Constants
See also:
Drawing Primitives
BlendingFactorDest
BlendingFactorSrc
AlphaFunction and DepthFunction
LogicOp
Culling
PolygonMode
Clear Bits
ShadeModel
MatrixMode
Texture Filtering
Texture Clamping
Texture Environment
Texture Generation
glPushAttrib() bits
glHint() targets
glHint() modes
Light Specification
Shader Types
Geometry Shader Parameters
Tesselation control shader parameters
OpenGL Data Types
OpenGL Buffer Types
FBO Attachments
- GL_COLOR_ATTACHMENT0_EXT
- GL_COLOR_ATTACHMENT1_EXT
- GL_COLOR_ATTACHMENT2_EXT
- GL_COLOR_ATTACHMENT3_EXT
- GL_COLOR_ATTACHMENT4_EXT
- GL_COLOR_ATTACHMENT5_EXT
- GL_COLOR_ATTACHMENT6_EXT
- GL_COLOR_ATTACHMENT7_EXT
- GL_COLOR_ATTACHMENT8_EXT
- GL_COLOR_ATTACHMENT9_EXT
- GL_COLOR_ATTACHMENT10_EXT
- GL_COLOR_ATTACHMENT11_EXT
- GL_COLOR_ATTACHMENT12_EXT
- GL_COLOR_ATTACHMENT13_EXT
- GL_COLOR_ATTACHMENT14_EXT
- GL_COLOR_ATTACHMENT15_EXT
- GL_DEPTH_ATTACHMENT_EXT
- GL_STENCIL_ATTACHMENT_EXT
Not included, but useful texture Formats
Not included, but useful RBO Formats
Not included, but useful FBO Targets
Not included, but useful FBO Status
- GL_FRAMEBUFFER_COMPLETE_EXT
- GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
- GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
- GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
- GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
- GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
- GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
- GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
- GL_FRAMEBUFFER_UNSUPPORTED_EXT
- GL_FRAMEBUFFER_STATUS_ERROR_EXT
Drawing Primitives
GL
Fields:
-
POINTS
number -
LINES
number -
LINE_LOOP
number -
LINE_STRIP
number -
TRIANGLES
number -
TRIANGLE_STRIP
number -
TRIANGLE_FAN
number -
QUADS
number -
QUAD_STRIP
number -
POLYGON
number -
PATCHES
number
BlendingFactorDest
GL
Fields:
-
ZERO
number -
ONE
number -
SRC_COLOR
number -
ONE_MINUS_SRC_COLOR
number -
SRC_ALPHA
number -
ONE_MINUS_SRC_ALPHA
number -
DST_ALPHA
number -
ONE_MINUS_DST_ALPHA
number
BlendingFactorSrc
GL
Fields:
-
ZERO
number -
ONE
number -
SRC_COLOR
number -
ONE_MINUS_SRC_COLOR
number -
SRC_ALPHA
number -
ONE_MINUS_SRC_ALPHA
number -
DST_ALPHA
number -
ONE_MINUS_DST_ALPHA
number -
DST_COLOR
number -
ONE_MINUS_DST_COLOR
number -
SRC_ALPHA_SATURATE
number -
FUNC_ADD
number -
FUNC_SUBTRACT
number -
FUNC_REVERSE_SUBTRACT
number -
MIN
number -
MAX
number
AlphaFunction and DepthFunction
GL
Fields:
-
NEVER
number -
LESS
number -
EQUAL
number -
LEQUAL
number -
GREATER
number -
NOTEQUAL
number -
GEQUAL
number -
ALWAYS
number
LogicOp
GL
Fields:
-
CLEAR
number -
AND
number -
AND_REVERSE
number -
COPY
number -
AND_INVERTED
number -
NOOP
number -
XOR
number -
OR
number -
NOR
number -
EQUIV
number -
INVERT
number -
OR_REVERSE
number -
COPY_INVERTED
number -
OR_INVERTED
number -
NAND
number -
SET
number
Culling
GL
Fields:
-
BACK
number -
FRONT
number -
FRONT_AND_BACK
number
PolygonMode
GL
Fields:
-
POINT
number -
LINE
number -
FILL
number
Clear Bits
GL
Fields:
-
DEPTH_BUFFER_BIT
number -
ACCUM_BUFFER_BIT
number -
STENCIL_BUFFER_BIT
number -
COLOR_BUFFER_BIT
number
ShadeModel
GL
Fields:
-
FLAT
number -
SMOOTH
number
MatrixMode
GL
Fields:
-
MODELVIEW
number -
PROJECTION
number -
TEXTURE
number
Texture Filtering
GL
Fields:
-
NEAREST
number -
LINEAR
number -
NEAREST_MIPMAP_NEAREST
number -
LINEAR_MIPMAP_NEAREST
number -
NEAREST_MIPMAP_LINEAR
number -
LINEAR_MIPMAP_LINEAR
number
Texture Clamping
GL
Fields:
-
REPEAT
number -
MIRRORED_REPEAT
number -
CLAMP
number -
CLAMP_TO_EDGE
number -
CLAMP_TO_BORDER
number
Texture Environment
GL
Fields:
-
TEXTURE_ENV
number -
TEXTURE_ENV_MODE
number -
TEXTURE_ENV_COLOR
number -
MODULATE
number -
DECAL
number -
BLEND
number -
REPLACE
number
GL_TEXTURE_FILTER_CONTROL
-
GL_TEXTURE_FILTER_CONTROL
GL_TEXTURE_LOD_BIAS
-
GL_TEXTURE_LOD_BIAS
Texture Generation
GL
Fields:
-
TEXTURE_GEN_MODE
number -
EYE_PLANE
number -
OBJECT_PLANE
number -
EYE_LINEAR
number -
OBJECT_LINEAR
number -
SPHERE_MAP
number -
NORMAL_MAP
number -
REFLECTION_MAP
number -
S
number -
T
number -
R
number -
Q
number
glPushAttrib() bits
GL
Fields:
-
CURRENT_BIT
number -
POINT_BIT
number -
LINE_BIT
number -
POLYGON_BIT
number -
POLYGON_STIPPLE_BIT
number -
PIXEL_MODE_BIT
number -
LIGHTING_BIT
number -
FOG_BIT
number -
DEPTH_BUFFER_BIT
number -
ACCUM_BUFFER_BIT
number -
STENCIL_BUFFER_BIT
number -
VIEWPORT_BIT
number -
TRANSFORM_BIT
number -
ENABLE_BIT
number -
COLOR_BUFFER_BIT
number -
HINT_BIT
number -
EVAL_BIT
number -
LIST_BIT
number -
TEXTURE_BIT
number -
SCISSOR_BIT
number -
ALL_ATTRIB_BITS
number
glHint() targets
GL
Fields:
-
FOG_HINT
number -
LINE_SMOOTH_HINT
number -
POINT_SMOOTH_HINT
number -
POLYGON_SMOOTH_HINT
number -
PERSPECTIVE_CORRECTION_HINT
number
glHint() modes
GL
Fields:
-
DONT_CARE
number -
FASTEST
number -
NICEST
number
Light Specification
GL
Fields:
-
AMBIENT
number -
DIFFUSE
number -
SPECULAR
number -
POSITION
number -
SPOT_DIRECTION
number -
SPOT_EXPONENT
number -
SPOT_CUTOFF
number -
CONSTANT_ATTENUATION
number -
LINEAR_ATTENUATION
number -
QUADRATIC_ATTENUATION
number
Shader Types
GL
Fields:
-
VERTEX_SHADER
number -
TESS_CONTROL_SHADER
number -
TESS_EVALUATION_SHADER
number -
GEOMETRY_SHADER
number -
FRAGMENT_SHADER
number
Geometry Shader Parameters
GL
Fields:
-
GEOMETRY_INPUT_TYPE
number -
GEOMETRY_OUTPUT_TYPE
number -
GEOMETRY_VERTICES_OUT
number
Tesselation control shader parameters
GL
Fields:
-
PATCH_VERTICES
number -
PATCH_DEFAULT_OUTER_LEVEL
number -
PATCH_DEFAULT_INNER_LEVEL
number
OpenGL Data Types
GL
Fields:
-
BYTE
number -
UNSIGNED_BYTE
number -
SHORT
number -
UNSIGNED_SHORT
number -
INT
number -
UNSIGNED_INT
number -
FLOAT
number -
FLOAT_VEC4
number -
INT_VEC4
number -
UNSIGNED_INT_VEC4
number -
FLOAT_MAT4
number
OpenGL Buffer Types
GL
Fields:
-
ELEMENT_ARRAY_BUFFER
number -
ARRAY_BUFFER
number -
UNIFORM_BUFFER
number -
SHADER_STORAGE_BUFFER
number
FBO Attachments
GL_COLOR_ATTACHMENT0_EXT
-
GL_COLOR_ATTACHMENT0_EXT
0x8CE0
GL_COLOR_ATTACHMENT1_EXT
-
GL_COLOR_ATTACHMENT1_EXT
0x8CE1
GL_COLOR_ATTACHMENT2_EXT
-
GL_COLOR_ATTACHMENT2_EXT
0x8CE2
GL_COLOR_ATTACHMENT3_EXT
-
GL_COLOR_ATTACHMENT3_EXT
0x8CE3
GL_COLOR_ATTACHMENT4_EXT
-
GL_COLOR_ATTACHMENT4_EXT
0x8CE4
GL_COLOR_ATTACHMENT5_EXT
-
GL_COLOR_ATTACHMENT5_EXT
0x8CE5
GL_COLOR_ATTACHMENT6_EXT
-
GL_COLOR_ATTACHMENT6_EXT
0x8CE6
GL_COLOR_ATTACHMENT7_EXT
-
GL_COLOR_ATTACHMENT7_EXT
0x8CE7
GL_COLOR_ATTACHMENT8_EXT
-
GL_COLOR_ATTACHMENT8_EXT
0x8CE8
GL_COLOR_ATTACHMENT9_EXT
-
GL_COLOR_ATTACHMENT9_EXT
0x8CE9
GL_COLOR_ATTACHMENT10_EXT
-
GL_COLOR_ATTACHMENT10_EXT
0x8CEA
GL_COLOR_ATTACHMENT11_EXT
-
GL_COLOR_ATTACHMENT11_EXT
0x8CEB
GL_COLOR_ATTACHMENT12_EXT
-
GL_COLOR_ATTACHMENT12_EXT
0x8CEC
GL_COLOR_ATTACHMENT13_EXT
-
GL_COLOR_ATTACHMENT13_EXT
0x8CED
GL_COLOR_ATTACHMENT14_EXT
-
GL_COLOR_ATTACHMENT14_EXT
0x8CEE
GL_COLOR_ATTACHMENT15_EXT
-
GL_COLOR_ATTACHMENT15_EXT
0x8CEF
GL_DEPTH_ATTACHMENT_EXT
-
GL_DEPTH_ATTACHMENT_EXT
0x8D00
GL_STENCIL_ATTACHMENT_EXT
-
GL_STENCIL_ATTACHMENT_EXT
0x8D20
Not included, but useful texture Formats
GL_RGBA16F_ARB
-
GL_RGBA16F_ARB
0x881A
GL_RGBA32F_ARB
-
GL_RGBA32F_ARB
0x8814
GL_DEPTH_COMPONENT
-
GL_DEPTH_COMPONENT
0x1902
Not included, but useful RBO Formats
GL_RGB
-
GL_RGB
0x1907
GL_RGBA
-
GL_RGBA
0x1908
GL_DEPTH_COMPONENT
-
GL_DEPTH_COMPONENT
0x1902
GL_STENCIL_INDEX
-
GL_STENCIL_INDEX
0x1901
Not included, but useful FBO Targets
GL_FRAMEBUFFER_EXT
-
GL_FRAMEBUFFER_EXT
0x8D40
GL_READ_FRAMEBUFFER_EXT
-
GL_READ_FRAMEBUFFER_EXT
0x8CA8
GL_DRAW_FRAMEBUFFER_EXT
-
GL_DRAW_FRAMEBUFFER_EXT
0x8CA9
Not included, but useful FBO Status
GL_FRAMEBUFFER_COMPLETE_EXT
-
GL_FRAMEBUFFER_COMPLETE_EXT
0x8CD5
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
0x8CD6
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
0x8CD7
GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
0x8CD8
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
0x8CD9
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
0x8CDA
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
0x8CDB
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
-
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
0x8CDC
GL_FRAMEBUFFER_UNSUPPORTED_EXT
-
GL_FRAMEBUFFER_UNSUPPORTED_EXT
0x8CDD
GL_FRAMEBUFFER_STATUS_ERROR_EXT
-
GL_FRAMEBUFFER_STATUS_ERROR_EXT
0x8CDE