Skip to content

GlConstants

final class GlConstants
Package: dev.joid.base.opengl.binding · Module: base-opengl · Source: GlConstants.java
Backends: LWJGL 2 LWJGL 3

The OpenGL enum values that the OpenGL module passes to its binding, named after the OpenGL constants without their GL_ prefix.

They let IGlBinding take plain int values, so that base-opengl compiles against no LWJGL version. A binding passes them to OpenGL unchanged.

TypeNameValueSummary
intONE1The value of GL_ONE, the integer 1, as a blend factor or a boolean.
intZERO0The value of GL_ZERO, the integer 0, as a blend factor or a boolean.
intTRUE1The value of GL_TRUE, the integer 1, as a blend factor or a boolean.
intVERSION0x1F02The value of GL_VERSION, a name read with glGetString or glGetInteger to learn what the context offers.
intRENDERER0x1F01The value of GL_RENDERER, a name read with glGetString or glGetInteger to learn what the context offers.
intEXTENSIONS0x1F03The value of GL_EXTENSIONS, a name read with glGetString or glGetInteger to learn what the context offers.
intCONTEXT_FLAGS0x821EThe value of GL_CONTEXT_FLAGS, a name read with glGetString or glGetInteger to learn what the context offers.
intNUM_EXTENSIONS0x821DThe value of GL_NUM_EXTENSIONS, a name read with glGetString or glGetInteger to learn what the context offers.
intMAX_TEXTURE_SIZE0x0D33The value of GL_MAX_TEXTURE_SIZE, a name read with glGetString or glGetInteger to learn what the context offers.
intCONTEXT_PROFILE_MASK0x9126The value of GL_CONTEXT_PROFILE_MASK, a name read with glGetString or glGetInteger to learn what the context offers.
intSHADING_LANGUAGE_VERSION0x8B8CThe value of GL_SHADING_LANGUAGE_VERSION, a name read with glGetString or glGetInteger to learn what the context offers.
intCONTEXT_CORE_PROFILE_BIT0x0001The value of GL_CONTEXT_CORE_PROFILE_BIT, a bit of the profile mask or of the context flags.
intCONTEXT_FLAG_FORWARD_COMPATIBLE_BIT0x0001The value of GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT, a bit of the profile mask or of the context flags.
intBLEND0x0BE2The value of GL_BLEND, a capability switched with glEnable and glDisable.
intCULL_FACE0x0B44The value of GL_CULL_FACE, a capability switched with glEnable and glDisable.
intDEPTH_TEST0x0B71The value of GL_DEPTH_TEST, a capability switched with glEnable and glDisable.
intLINE_SMOOTH0x0B20The value of GL_LINE_SMOOTH, a capability switched with glEnable and glDisable.
intSTENCIL_TEST0x0B90The value of GL_STENCIL_TEST, a capability switched with glEnable and glDisable.
intSCISSOR_TEST0x0C11The value of GL_SCISSOR_TEST, a capability switched with glEnable and glDisable.
intCOLOR_BUFFER_BIT0x4000The value of GL_COLOR_BUFFER_BIT, a buffer bit of glClear.
intDEPTH_BUFFER_BIT0x0100The value of GL_DEPTH_BUFFER_BIT, a buffer bit of glClear.
intSTENCIL_BUFFER_BIT0x0400The value of GL_STENCIL_BUFFER_BIT, a buffer bit of glClear.
intMIN0x8007The value of GL_MIN, a blend equation.
intMAX0x8008The value of GL_MAX, a blend equation.
intFUNC_ADD0x8006The value of GL_FUNC_ADD, a blend equation.
intFUNC_SUBTRACT0x800AThe value of GL_FUNC_SUBTRACT, a blend equation.
intFUNC_REVERSE_SUBTRACT0x800BThe value of GL_FUNC_REVERSE_SUBTRACT, a blend equation.
intSRC_COLOR0x0300The value of GL_SRC_COLOR, a blend factor.
intDST_COLOR0x0306The value of GL_DST_COLOR, a blend factor.
intSRC_ALPHA0x0302The value of GL_SRC_ALPHA, a blend factor.
intDST_ALPHA0x0304The value of GL_DST_ALPHA, a blend factor.
intONE_MINUS_SRC_COLOR0x0301The value of GL_ONE_MINUS_SRC_COLOR, a blend factor.
intONE_MINUS_DST_COLOR0x0307The value of GL_ONE_MINUS_DST_COLOR, a blend factor.
intONE_MINUS_SRC_ALPHA0x0303The value of GL_ONE_MINUS_SRC_ALPHA, a blend factor.
intONE_MINUS_DST_ALPHA0x0305The value of GL_ONE_MINUS_DST_ALPHA, a blend factor.
intLESS0x0201The value of GL_LESS, a comparison function of the depth or stencil test.
intNEVER0x0200The value of GL_NEVER, a comparison function of the depth or stencil test.
intEQUAL0x0202The value of GL_EQUAL, a comparison function of the depth or stencil test.
intLEQUAL0x0203The value of GL_LEQUAL, a comparison function of the depth or stencil test.
intGEQUAL0x0206The value of GL_GEQUAL, a comparison function of the depth or stencil test.
intALWAYS0x0207The value of GL_ALWAYS, a comparison function of the depth or stencil test.
intGREATER0x0204The value of GL_GREATER, a comparison function of the depth or stencil test.
intNOTEQUAL0x0205The value of GL_NOTEQUAL, a comparison function of the depth or stencil test.
intKEEP0x1E00The value of GL_KEEP, a stencil operation.
intINCR0x1E02The value of GL_INCR, a stencil operation.
intDECR0x1E03The value of GL_DECR, a stencil operation.
intINVERT0x150AThe value of GL_INVERT, a stencil operation.
intREPLACE0x1E01The value of GL_REPLACE, a stencil operation.
intLINES0x0001The value of GL_LINES, a primitive of glDrawArrays.
intTRIANGLES0x0004The value of GL_TRIANGLES, a primitive of glDrawArrays.
intBYTE0x1400The value of GL_BYTE, a component type of vertices or pixels.
intFLOAT0x1406The value of GL_FLOAT, a component type of vertices or pixels.
intUNSIGNED_BYTE0x1401The value of GL_UNSIGNED_BYTE, a component type of vertices or pixels.
intRGBA0x1908The value of GL_RGBA, a pixel format or internal format of a texture.
intBGRA0x80E1The value of GL_BGRA, a pixel format or internal format of a texture.
intRGBA80x8058The value of GL_RGBA8, a pixel format or internal format of a texture.
intUNSIGNED_INT_8_8_8_8_REV0x8367The value of GL_UNSIGNED_INT_8_8_8_8_REV, a pixel format or internal format of a texture.
intTEXTURE00x84C0The value of GL_TEXTURE0, a texture unit, target or parameter.
intTEXTURE_2D0x0DE1The value of GL_TEXTURE_2D, a texture unit, target or parameter.
intTEXTURE_WIDTH0x1000The value of GL_TEXTURE_WIDTH, a texture unit, target or parameter.
intTEXTURE_HEIGHT0x1001The value of GL_TEXTURE_HEIGHT, a texture unit, target or parameter.
intTEXTURE_WRAP_S0x2802The value of GL_TEXTURE_WRAP_S, a texture unit, target or parameter.
intTEXTURE_WRAP_T0x2803The value of GL_TEXTURE_WRAP_T, a texture unit, target or parameter.
intTEXTURE_MAX_LEVEL0x813DThe value of GL_TEXTURE_MAX_LEVEL, a texture unit, target or parameter.
intTEXTURE_BASE_LEVEL0x813CThe value of GL_TEXTURE_BASE_LEVEL, a texture unit, target or parameter.
intTEXTURE_MIN_FILTER0x2801The value of GL_TEXTURE_MIN_FILTER, a texture unit, target or parameter.
intTEXTURE_MAG_FILTER0x2800The value of GL_TEXTURE_MAG_FILTER, a texture unit, target or parameter.
intLINEAR0x2601The value of GL_LINEAR, a texture filter.
intNEAREST0x2600The value of GL_NEAREST, a texture filter.
intLINEAR_MIPMAP_LINEAR0x2703The value of GL_LINEAR_MIPMAP_LINEAR, a texture filter.
intREPEAT0x2901The value of GL_REPEAT, a texture wrap mode.
intCLAMP_TO_EDGE0x812FThe value of GL_CLAMP_TO_EDGE, a texture wrap mode.
intCLAMP_TO_BORDER0x812DThe value of GL_CLAMP_TO_BORDER, a texture wrap mode.
intSTREAM_DRAW0x88E0The value of GL_STREAM_DRAW, a buffer target or usage.
intARRAY_BUFFER0x8892The value of GL_ARRAY_BUFFER, a buffer target or usage.
intLINK_STATUS0x8B82The value of GL_LINK_STATUS, a shader stage or a status of shader compilation and linking.
intVERTEX_SHADER0x8B31The value of GL_VERTEX_SHADER, a shader stage or a status of shader compilation and linking.
intCOMPILE_STATUS0x8B81The value of GL_COMPILE_STATUS, a shader stage or a status of shader compilation and linking.
intFRAGMENT_SHADER0x8B30The value of GL_FRAGMENT_SHADER, a shader stage or a status of shader compilation and linking.
intBACK0x0405The value of GL_BACK, a framebuffer, renderbuffer or attachment name.
intFRAMEBUFFER0x8D40The value of GL_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.
intRENDERBUFFER0x8D41The value of GL_RENDERBUFFER, a framebuffer, renderbuffer or attachment name.
intREAD_FRAMEBUFFER0x8CA8The value of GL_READ_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.
intDRAW_FRAMEBUFFER0x8CA9The value of GL_DRAW_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.
intDEPTH_ATTACHMENT0x8D00The value of GL_DEPTH_ATTACHMENT, a framebuffer, renderbuffer or attachment name.
intCOLOR_ATTACHMENT00x8CE0The value of GL_COLOR_ATTACHMENT0, a framebuffer, renderbuffer or attachment name.
intDEPTH_COMPONENT240x81A6The value of GL_DEPTH_COMPONENT24, a framebuffer, renderbuffer or attachment name.
intREAD_FRAMEBUFFER_BINDING0x8CAAThe value of GL_READ_FRAMEBUFFER_BINDING, a framebuffer, renderbuffer or attachment name.
intDRAW_FRAMEBUFFER_BINDING0x8CA6The value of GL_DRAW_FRAMEBUFFER_BINDING, a framebuffer, renderbuffer or attachment name.
intREAD_BUFFER0x0C02The value of GL_READ_BUFFER, a binding read with glGetInteger to save the state of a host.
intACTIVE_TEXTURE0x84E0The value of GL_ACTIVE_TEXTURE, a binding read with glGetInteger to save the state of a host.
intCURRENT_PROGRAM0x8B8DThe value of GL_CURRENT_PROGRAM, a binding read with glGetInteger to save the state of a host.
intSAMPLER_BINDING0x8919The value of GL_SAMPLER_BINDING, a binding read with glGetInteger to save the state of a host.
intTEXTURE_BINDING_2D0x8069The value of GL_TEXTURE_BINDING_2D, a binding read with glGetInteger to save the state of a host.
intARRAY_BUFFER_BINDING0x8894The value of GL_ARRAY_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.
intRENDERBUFFER_BINDING0x8CA7The value of GL_RENDERBUFFER_BINDING, a binding read with glGetInteger to save the state of a host.
intVERTEX_ARRAY_BINDING0x85B5The value of GL_VERTEX_ARRAY_BINDING, a binding read with glGetInteger to save the state of a host.
intPIXEL_PACK_BUFFER_BINDING0x88EDThe value of GL_PIXEL_PACK_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.
intPIXEL_UNPACK_BUFFER_BINDING0x88EFThe value of GL_PIXEL_UNPACK_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.
intPIXEL_PACK_BUFFER0x88EBThe value of GL_PIXEL_PACK_BUFFER, a pixel buffer target.
intPIXEL_UNPACK_BUFFER0x88ECThe value of GL_PIXEL_UNPACK_BUFFER, a pixel buffer target.
intDEPTH_CLAMP0x864FThe value of GL_DEPTH_CLAMP, a capability that a host may leave on, saved and reset around JOID.
intCOLOR_LOGIC_OP0x0BF2The value of GL_COLOR_LOGIC_OP, a capability that a host may leave on, saved and reset around JOID.
intFRAMEBUFFER_SRGB0x8DB9The value of GL_FRAMEBUFFER_SRGB, a capability that a host may leave on, saved and reset around JOID.
intPRIMITIVE_RESTART0x8F9DThe value of GL_PRIMITIVE_RESTART, a capability that a host may leave on, saved and reset around JOID.
intRASTERIZER_DISCARD0x8C89The value of GL_RASTERIZER_DISCARD, a capability that a host may leave on, saved and reset around JOID.
intPOLYGON_OFFSET_FILL0x8037The value of GL_POLYGON_OFFSET_FILL, a capability that a host may leave on, saved and reset around JOID.
intBLEND_SRC_RGB0x80C9The value of GL_BLEND_SRC_RGB, a blend state read with glGetInteger.
intBLEND_DST_RGB0x80C8The value of GL_BLEND_DST_RGB, a blend state read with glGetInteger.
intBLEND_SRC_ALPHA0x80CBThe value of GL_BLEND_SRC_ALPHA, a blend state read with glGetInteger.
intBLEND_DST_ALPHA0x80CAThe value of GL_BLEND_DST_ALPHA, a blend state read with glGetInteger.
intBLEND_EQUATION_RGB0x8009The value of GL_BLEND_EQUATION_RGB, a blend state read with glGetInteger.
intBLEND_EQUATION_ALPHA0x883DThe value of GL_BLEND_EQUATION_ALPHA, a blend state read with glGetInteger.
intVIEWPORT0x0BA2The value of GL_VIEWPORT, a rasterizer state read with glGet.
intLINE_WIDTH0x0B21The value of GL_LINE_WIDTH, a rasterizer state read with glGet.
intFRONT_FACE0x0B46The value of GL_FRONT_FACE, a rasterizer state read with glGet.
intPOLYGON_MODE0x0B40The value of GL_POLYGON_MODE, a rasterizer state read with glGet.
intCULL_FACE_MODE0x0B45The value of GL_CULL_FACE_MODE, a rasterizer state read with glGet.
intCOLOR_WRITEMASK0x0C23The value of GL_COLOR_WRITEMASK, a rasterizer state read with glGet.
intCOLOR_CLEAR_VALUE0x0C22The value of GL_COLOR_CLEAR_VALUE, a rasterizer state read with glGet.
intDEPTH_FUNC0x0B74The value of GL_DEPTH_FUNC, a depth state read with glGet.
intDEPTH_WRITEMASK0x0B72The value of GL_DEPTH_WRITEMASK, a depth state read with glGet.
intDEPTH_CLEAR_VALUE0x0B73The value of GL_DEPTH_CLEAR_VALUE, a depth state read with glGet.
intSTENCIL_REF0x0B97The value of GL_STENCIL_REF, a stencil state read with glGetInteger.
intSTENCIL_FUNC0x0B92The value of GL_STENCIL_FUNC, a stencil state read with glGetInteger.
intSTENCIL_FAIL0x0B94The value of GL_STENCIL_FAIL, a stencil state read with glGetInteger.
intSTENCIL_BACK_REF0x8CA3The value of GL_STENCIL_BACK_REF, a stencil state read with glGetInteger.
intSTENCIL_WRITEMASK0x0B98The value of GL_STENCIL_WRITEMASK, a stencil state read with glGetInteger.
intSTENCIL_BACK_FUNC0x8800The value of GL_STENCIL_BACK_FUNC, a stencil state read with glGetInteger.
intSTENCIL_BACK_FAIL0x8801The value of GL_STENCIL_BACK_FAIL, a stencil state read with glGetInteger.
intSTENCIL_VALUE_MASK0x0B93The value of GL_STENCIL_VALUE_MASK, a stencil state read with glGetInteger.
intSTENCIL_CLEAR_VALUE0x0B91The value of GL_STENCIL_CLEAR_VALUE, a stencil state read with glGetInteger.
intSTENCIL_BACK_WRITEMASK0x8CA5The value of GL_STENCIL_BACK_WRITEMASK, a stencil state read with glGetInteger.
intSTENCIL_PASS_DEPTH_FAIL0x0B95The value of GL_STENCIL_PASS_DEPTH_FAIL, a stencil state read with glGetInteger.
intSTENCIL_PASS_DEPTH_PASS0x0B96The value of GL_STENCIL_PASS_DEPTH_PASS, a stencil state read with glGetInteger.
intSTENCIL_BACK_VALUE_MASK0x8CA4The value of GL_STENCIL_BACK_VALUE_MASK, a stencil state read with glGetInteger.
intSTENCIL_BACK_PASS_DEPTH_FAIL0x8802The value of GL_STENCIL_BACK_PASS_DEPTH_FAIL, a stencil state read with glGetInteger.
intSTENCIL_BACK_PASS_DEPTH_PASS0x8803The value of GL_STENCIL_BACK_PASS_DEPTH_PASS, a stencil state read with glGetInteger.
intCCW0x0901The value of GL_CCW, a face or polygon mode value.
intFILL0x1B02The value of GL_FILL, a face or polygon mode value.
intFRONT0x0404The value of GL_FRONT, a face or polygon mode value.
intFRONT_AND_BACK0x0408The value of GL_FRONT_AND_BACK, a face or polygon mode value.
intPACK_ALIGNMENT0x0D05The value of GL_PACK_ALIGNMENT, a pixel storage parameter of glPixelStorei.
intPACK_SKIP_ROWS0x0D03The value of GL_PACK_SKIP_ROWS, a pixel storage parameter of glPixelStorei.
intPACK_ROW_LENGTH0x0D02The value of GL_PACK_ROW_LENGTH, a pixel storage parameter of glPixelStorei.
intPACK_SKIP_PIXELS0x0D04The value of GL_PACK_SKIP_PIXELS, a pixel storage parameter of glPixelStorei.
intUNPACK_ALIGNMENT0x0CF5The value of GL_UNPACK_ALIGNMENT, a pixel storage parameter of glPixelStorei.
intUNPACK_SKIP_ROWS0x0CF3The value of GL_UNPACK_SKIP_ROWS, a pixel storage parameter of glPixelStorei.
intUNPACK_ROW_LENGTH0x0CF2The value of GL_UNPACK_ROW_LENGTH, a pixel storage parameter of glPixelStorei.
intUNPACK_SKIP_PIXELS0x0CF4The value of GL_UNPACK_SKIP_PIXELS, a pixel storage parameter of glPixelStorei.
intCURRENT_VERTEX_ATTRIB0x8626The value of GL_CURRENT_VERTEX_ATTRIB, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_SIZE0x8623The value of GL_VERTEX_ATTRIB_ARRAY_SIZE, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_TYPE0x8625The value of GL_VERTEX_ATTRIB_ARRAY_TYPE, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_STRIDE0x8624The value of GL_VERTEX_ATTRIB_ARRAY_STRIDE, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_ENABLED0x8622The value of GL_VERTEX_ATTRIB_ARRAY_ENABLED, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_POINTER0x8645The value of GL_VERTEX_ATTRIB_ARRAY_POINTER, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_NORMALIZED0x886AThe value of GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, a vertex attribute state read with glGetVertexAttrib.
intVERTEX_ATTRIB_ARRAY_BUFFER_BINDING0x889FThe value of GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, a vertex attribute state read with glGetVertexAttrib.
intFOG0x0B60The value of GL_FOG, a capability of the fixed pipeline, reset for a host that uses it.
intLIGHTING0x0B50The value of GL_LIGHTING, a capability of the fixed pipeline, reset for a host that uses it.
intALPHA_TEST0x0BC0The value of GL_ALPHA_TEST, a capability of the fixed pipeline, reset for a host that uses it.
intCOLOR_MATERIAL0x0B57The value of GL_COLOR_MATERIAL, a capability of the fixed pipeline, reset for a host that uses it.
intMODELVIEW_MATRIX0x0BA6The value of GL_MODELVIEW_MATRIX, a matrix of the fixed pipeline read with glGetFloat.
intPROJECTION_MATRIX0x0BA7The value of GL_PROJECTION_MATRIX, a matrix of the fixed pipeline read with glGetFloat.

int ONE

The value of GL_ONE, the integer 1, as a blend factor or a boolean.

int ZERO

The value of GL_ZERO, the integer 0, as a blend factor or a boolean.

int TRUE

The value of GL_TRUE, the integer 1, as a blend factor or a boolean.

int VERSION

The value of GL_VERSION, a name read with glGetString or glGetInteger to learn what the context offers.

int RENDERER

The value of GL_RENDERER, a name read with glGetString or glGetInteger to learn what the context offers.

int EXTENSIONS

The value of GL_EXTENSIONS, a name read with glGetString or glGetInteger to learn what the context offers.

int CONTEXT_FLAGS

The value of GL_CONTEXT_FLAGS, a name read with glGetString or glGetInteger to learn what the context offers.

int NUM_EXTENSIONS

The value of GL_NUM_EXTENSIONS, a name read with glGetString or glGetInteger to learn what the context offers.

int MAX_TEXTURE_SIZE

The value of GL_MAX_TEXTURE_SIZE, a name read with glGetString or glGetInteger to learn what the context offers.

int CONTEXT_PROFILE_MASK

The value of GL_CONTEXT_PROFILE_MASK, a name read with glGetString or glGetInteger to learn what the context offers.

int SHADING_LANGUAGE_VERSION

The value of GL_SHADING_LANGUAGE_VERSION, a name read with glGetString or glGetInteger to learn what the context offers.

int CONTEXT_CORE_PROFILE_BIT

The value of GL_CONTEXT_CORE_PROFILE_BIT, a bit of the profile mask or of the context flags.

int CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT

The value of GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT, a bit of the profile mask or of the context flags.

int BLEND

The value of GL_BLEND, a capability switched with glEnable and glDisable.

int CULL_FACE

The value of GL_CULL_FACE, a capability switched with glEnable and glDisable.

int DEPTH_TEST

The value of GL_DEPTH_TEST, a capability switched with glEnable and glDisable.

int LINE_SMOOTH

The value of GL_LINE_SMOOTH, a capability switched with glEnable and glDisable.

int STENCIL_TEST

The value of GL_STENCIL_TEST, a capability switched with glEnable and glDisable.

int SCISSOR_TEST

The value of GL_SCISSOR_TEST, a capability switched with glEnable and glDisable.

int COLOR_BUFFER_BIT

The value of GL_COLOR_BUFFER_BIT, a buffer bit of glClear.

int DEPTH_BUFFER_BIT

The value of GL_DEPTH_BUFFER_BIT, a buffer bit of glClear.

int STENCIL_BUFFER_BIT

The value of GL_STENCIL_BUFFER_BIT, a buffer bit of glClear.

int MIN

The value of GL_MIN, a blend equation.

int MAX

The value of GL_MAX, a blend equation.

int FUNC_ADD

The value of GL_FUNC_ADD, a blend equation.

int FUNC_SUBTRACT

The value of GL_FUNC_SUBTRACT, a blend equation.

int FUNC_REVERSE_SUBTRACT

The value of GL_FUNC_REVERSE_SUBTRACT, a blend equation.

int SRC_COLOR

The value of GL_SRC_COLOR, a blend factor.

int DST_COLOR

The value of GL_DST_COLOR, a blend factor.

int SRC_ALPHA

The value of GL_SRC_ALPHA, a blend factor.

int DST_ALPHA

The value of GL_DST_ALPHA, a blend factor.

int ONE_MINUS_SRC_COLOR

The value of GL_ONE_MINUS_SRC_COLOR, a blend factor.

int ONE_MINUS_DST_COLOR

The value of GL_ONE_MINUS_DST_COLOR, a blend factor.

int ONE_MINUS_SRC_ALPHA

The value of GL_ONE_MINUS_SRC_ALPHA, a blend factor.

int ONE_MINUS_DST_ALPHA

The value of GL_ONE_MINUS_DST_ALPHA, a blend factor.

int LESS

The value of GL_LESS, a comparison function of the depth or stencil test.

int NEVER

The value of GL_NEVER, a comparison function of the depth or stencil test.

int EQUAL

The value of GL_EQUAL, a comparison function of the depth or stencil test.

int LEQUAL

The value of GL_LEQUAL, a comparison function of the depth or stencil test.

int GEQUAL

The value of GL_GEQUAL, a comparison function of the depth or stencil test.

int ALWAYS

The value of GL_ALWAYS, a comparison function of the depth or stencil test.

int GREATER

The value of GL_GREATER, a comparison function of the depth or stencil test.

int NOTEQUAL

The value of GL_NOTEQUAL, a comparison function of the depth or stencil test.

int KEEP

The value of GL_KEEP, a stencil operation.

int INCR

The value of GL_INCR, a stencil operation.

int DECR

The value of GL_DECR, a stencil operation.

int INVERT

The value of GL_INVERT, a stencil operation.

int REPLACE

The value of GL_REPLACE, a stencil operation.

int LINES

The value of GL_LINES, a primitive of glDrawArrays.

int TRIANGLES

The value of GL_TRIANGLES, a primitive of glDrawArrays.

int BYTE

The value of GL_BYTE, a component type of vertices or pixels.

int FLOAT

The value of GL_FLOAT, a component type of vertices or pixels.

int UNSIGNED_BYTE

The value of GL_UNSIGNED_BYTE, a component type of vertices or pixels.

int RGBA

The value of GL_RGBA, a pixel format or internal format of a texture.

int BGRA

The value of GL_BGRA, a pixel format or internal format of a texture.

int RGBA8

The value of GL_RGBA8, a pixel format or internal format of a texture.

int UNSIGNED_INT_8_8_8_8_REV

The value of GL_UNSIGNED_INT_8_8_8_8_REV, a pixel format or internal format of a texture.

int TEXTURE0

The value of GL_TEXTURE0, a texture unit, target or parameter.

int TEXTURE_2D

The value of GL_TEXTURE_2D, a texture unit, target or parameter.

int TEXTURE_WIDTH

The value of GL_TEXTURE_WIDTH, a texture unit, target or parameter.

int TEXTURE_HEIGHT

The value of GL_TEXTURE_HEIGHT, a texture unit, target or parameter.

int TEXTURE_WRAP_S

The value of GL_TEXTURE_WRAP_S, a texture unit, target or parameter.

int TEXTURE_WRAP_T

The value of GL_TEXTURE_WRAP_T, a texture unit, target or parameter.

int TEXTURE_MAX_LEVEL

The value of GL_TEXTURE_MAX_LEVEL, a texture unit, target or parameter.

int TEXTURE_BASE_LEVEL

The value of GL_TEXTURE_BASE_LEVEL, a texture unit, target or parameter.

int TEXTURE_MIN_FILTER

The value of GL_TEXTURE_MIN_FILTER, a texture unit, target or parameter.

int TEXTURE_MAG_FILTER

The value of GL_TEXTURE_MAG_FILTER, a texture unit, target or parameter.

int LINEAR

The value of GL_LINEAR, a texture filter.

int NEAREST

The value of GL_NEAREST, a texture filter.

int LINEAR_MIPMAP_LINEAR

The value of GL_LINEAR_MIPMAP_LINEAR, a texture filter.

int REPEAT

The value of GL_REPEAT, a texture wrap mode.

int CLAMP_TO_EDGE

The value of GL_CLAMP_TO_EDGE, a texture wrap mode.

int CLAMP_TO_BORDER

The value of GL_CLAMP_TO_BORDER, a texture wrap mode.

int STREAM_DRAW

The value of GL_STREAM_DRAW, a buffer target or usage.

int ARRAY_BUFFER

The value of GL_ARRAY_BUFFER, a buffer target or usage.

int LINK_STATUS

The value of GL_LINK_STATUS, a shader stage or a status of shader compilation and linking.

int VERTEX_SHADER

The value of GL_VERTEX_SHADER, a shader stage or a status of shader compilation and linking.

int COMPILE_STATUS

The value of GL_COMPILE_STATUS, a shader stage or a status of shader compilation and linking.

int FRAGMENT_SHADER

The value of GL_FRAGMENT_SHADER, a shader stage or a status of shader compilation and linking.

int BACK

The value of GL_BACK, a framebuffer, renderbuffer or attachment name.

int FRAMEBUFFER

The value of GL_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.

int RENDERBUFFER

The value of GL_RENDERBUFFER, a framebuffer, renderbuffer or attachment name.

int READ_FRAMEBUFFER

The value of GL_READ_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.

int DRAW_FRAMEBUFFER

The value of GL_DRAW_FRAMEBUFFER, a framebuffer, renderbuffer or attachment name.

int DEPTH_ATTACHMENT

The value of GL_DEPTH_ATTACHMENT, a framebuffer, renderbuffer or attachment name.

int COLOR_ATTACHMENT0

The value of GL_COLOR_ATTACHMENT0, a framebuffer, renderbuffer or attachment name.

int DEPTH_COMPONENT24

The value of GL_DEPTH_COMPONENT24, a framebuffer, renderbuffer or attachment name.

int READ_FRAMEBUFFER_BINDING

The value of GL_READ_FRAMEBUFFER_BINDING, a framebuffer, renderbuffer or attachment name.

int DRAW_FRAMEBUFFER_BINDING

The value of GL_DRAW_FRAMEBUFFER_BINDING, a framebuffer, renderbuffer or attachment name.

int READ_BUFFER

The value of GL_READ_BUFFER, a binding read with glGetInteger to save the state of a host.

int ACTIVE_TEXTURE

The value of GL_ACTIVE_TEXTURE, a binding read with glGetInteger to save the state of a host.

int CURRENT_PROGRAM

The value of GL_CURRENT_PROGRAM, a binding read with glGetInteger to save the state of a host.

int SAMPLER_BINDING

The value of GL_SAMPLER_BINDING, a binding read with glGetInteger to save the state of a host.

int TEXTURE_BINDING_2D

The value of GL_TEXTURE_BINDING_2D, a binding read with glGetInteger to save the state of a host.

int ARRAY_BUFFER_BINDING

The value of GL_ARRAY_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.

int RENDERBUFFER_BINDING

The value of GL_RENDERBUFFER_BINDING, a binding read with glGetInteger to save the state of a host.

int VERTEX_ARRAY_BINDING

The value of GL_VERTEX_ARRAY_BINDING, a binding read with glGetInteger to save the state of a host.

int PIXEL_PACK_BUFFER_BINDING

The value of GL_PIXEL_PACK_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.

int PIXEL_UNPACK_BUFFER_BINDING

The value of GL_PIXEL_UNPACK_BUFFER_BINDING, a binding read with glGetInteger to save the state of a host.

int PIXEL_PACK_BUFFER

The value of GL_PIXEL_PACK_BUFFER, a pixel buffer target.

int PIXEL_UNPACK_BUFFER

The value of GL_PIXEL_UNPACK_BUFFER, a pixel buffer target.

int DEPTH_CLAMP

The value of GL_DEPTH_CLAMP, a capability that a host may leave on, saved and reset around JOID.

int COLOR_LOGIC_OP

The value of GL_COLOR_LOGIC_OP, a capability that a host may leave on, saved and reset around JOID.

int FRAMEBUFFER_SRGB

The value of GL_FRAMEBUFFER_SRGB, a capability that a host may leave on, saved and reset around JOID.

int PRIMITIVE_RESTART

The value of GL_PRIMITIVE_RESTART, a capability that a host may leave on, saved and reset around JOID.

int RASTERIZER_DISCARD

The value of GL_RASTERIZER_DISCARD, a capability that a host may leave on, saved and reset around JOID.

int POLYGON_OFFSET_FILL

The value of GL_POLYGON_OFFSET_FILL, a capability that a host may leave on, saved and reset around JOID.

int BLEND_SRC_RGB

The value of GL_BLEND_SRC_RGB, a blend state read with glGetInteger.

int BLEND_DST_RGB

The value of GL_BLEND_DST_RGB, a blend state read with glGetInteger.

int BLEND_SRC_ALPHA

The value of GL_BLEND_SRC_ALPHA, a blend state read with glGetInteger.

int BLEND_DST_ALPHA

The value of GL_BLEND_DST_ALPHA, a blend state read with glGetInteger.

int BLEND_EQUATION_RGB

The value of GL_BLEND_EQUATION_RGB, a blend state read with glGetInteger.

int BLEND_EQUATION_ALPHA

The value of GL_BLEND_EQUATION_ALPHA, a blend state read with glGetInteger.

int VIEWPORT

The value of GL_VIEWPORT, a rasterizer state read with glGet.

int LINE_WIDTH

The value of GL_LINE_WIDTH, a rasterizer state read with glGet.

int FRONT_FACE

The value of GL_FRONT_FACE, a rasterizer state read with glGet.

int POLYGON_MODE

The value of GL_POLYGON_MODE, a rasterizer state read with glGet.

int CULL_FACE_MODE

The value of GL_CULL_FACE_MODE, a rasterizer state read with glGet.

int COLOR_WRITEMASK

The value of GL_COLOR_WRITEMASK, a rasterizer state read with glGet.

int COLOR_CLEAR_VALUE

The value of GL_COLOR_CLEAR_VALUE, a rasterizer state read with glGet.

int DEPTH_FUNC

The value of GL_DEPTH_FUNC, a depth state read with glGet.

int DEPTH_WRITEMASK

The value of GL_DEPTH_WRITEMASK, a depth state read with glGet.

int DEPTH_CLEAR_VALUE

The value of GL_DEPTH_CLEAR_VALUE, a depth state read with glGet.

int STENCIL_REF

The value of GL_STENCIL_REF, a stencil state read with glGetInteger.

int STENCIL_FUNC

The value of GL_STENCIL_FUNC, a stencil state read with glGetInteger.

int STENCIL_FAIL

The value of GL_STENCIL_FAIL, a stencil state read with glGetInteger.

int STENCIL_BACK_REF

The value of GL_STENCIL_BACK_REF, a stencil state read with glGetInteger.

int STENCIL_WRITEMASK

The value of GL_STENCIL_WRITEMASK, a stencil state read with glGetInteger.

int STENCIL_BACK_FUNC

The value of GL_STENCIL_BACK_FUNC, a stencil state read with glGetInteger.

int STENCIL_BACK_FAIL

The value of GL_STENCIL_BACK_FAIL, a stencil state read with glGetInteger.

int STENCIL_VALUE_MASK

The value of GL_STENCIL_VALUE_MASK, a stencil state read with glGetInteger.

int STENCIL_CLEAR_VALUE

The value of GL_STENCIL_CLEAR_VALUE, a stencil state read with glGetInteger.

int STENCIL_BACK_WRITEMASK

The value of GL_STENCIL_BACK_WRITEMASK, a stencil state read with glGetInteger.

int STENCIL_PASS_DEPTH_FAIL

The value of GL_STENCIL_PASS_DEPTH_FAIL, a stencil state read with glGetInteger.

int STENCIL_PASS_DEPTH_PASS

The value of GL_STENCIL_PASS_DEPTH_PASS, a stencil state read with glGetInteger.

int STENCIL_BACK_VALUE_MASK

The value of GL_STENCIL_BACK_VALUE_MASK, a stencil state read with glGetInteger.

int STENCIL_BACK_PASS_DEPTH_FAIL

The value of GL_STENCIL_BACK_PASS_DEPTH_FAIL, a stencil state read with glGetInteger.

int STENCIL_BACK_PASS_DEPTH_PASS

The value of GL_STENCIL_BACK_PASS_DEPTH_PASS, a stencil state read with glGetInteger.

int CCW

The value of GL_CCW, a face or polygon mode value.

int FILL

The value of GL_FILL, a face or polygon mode value.

int FRONT

The value of GL_FRONT, a face or polygon mode value.

int FRONT_AND_BACK

The value of GL_FRONT_AND_BACK, a face or polygon mode value.

int PACK_ALIGNMENT

The value of GL_PACK_ALIGNMENT, a pixel storage parameter of glPixelStorei.

int PACK_SKIP_ROWS

The value of GL_PACK_SKIP_ROWS, a pixel storage parameter of glPixelStorei.

int PACK_ROW_LENGTH

The value of GL_PACK_ROW_LENGTH, a pixel storage parameter of glPixelStorei.

int PACK_SKIP_PIXELS

The value of GL_PACK_SKIP_PIXELS, a pixel storage parameter of glPixelStorei.

int UNPACK_ALIGNMENT

The value of GL_UNPACK_ALIGNMENT, a pixel storage parameter of glPixelStorei.

int UNPACK_SKIP_ROWS

The value of GL_UNPACK_SKIP_ROWS, a pixel storage parameter of glPixelStorei.

int UNPACK_ROW_LENGTH

The value of GL_UNPACK_ROW_LENGTH, a pixel storage parameter of glPixelStorei.

int UNPACK_SKIP_PIXELS

The value of GL_UNPACK_SKIP_PIXELS, a pixel storage parameter of glPixelStorei.

int CURRENT_VERTEX_ATTRIB

The value of GL_CURRENT_VERTEX_ATTRIB, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_SIZE

The value of GL_VERTEX_ATTRIB_ARRAY_SIZE, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_TYPE

The value of GL_VERTEX_ATTRIB_ARRAY_TYPE, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_STRIDE

The value of GL_VERTEX_ATTRIB_ARRAY_STRIDE, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_ENABLED

The value of GL_VERTEX_ATTRIB_ARRAY_ENABLED, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_POINTER

The value of GL_VERTEX_ATTRIB_ARRAY_POINTER, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_NORMALIZED

The value of GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, a vertex attribute state read with glGetVertexAttrib.

int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

The value of GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, a vertex attribute state read with glGetVertexAttrib.

int FOG

The value of GL_FOG, a capability of the fixed pipeline, reset for a host that uses it.

int LIGHTING

The value of GL_LIGHTING, a capability of the fixed pipeline, reset for a host that uses it.

int ALPHA_TEST

The value of GL_ALPHA_TEST, a capability of the fixed pipeline, reset for a host that uses it.

int COLOR_MATERIAL

The value of GL_COLOR_MATERIAL, a capability of the fixed pipeline, reset for a host that uses it.

int MODELVIEW_MATRIX

The value of GL_MODELVIEW_MATRIX, a matrix of the fixed pipeline read with glGetFloat.

int PROJECTION_MATRIX

The value of GL_PROJECTION_MATRIX, a matrix of the fixed pipeline read with glGetFloat.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page