OpenGL 1.x Cheat Sheet
Data Types
| Type | Meaning |
|---|---|
| GLenum | Enum constant (e.g. GL_TRIANGLES) |
| GLboolean | Boolean (GL_TRUE / GL_FALSE) |
| GLbitfield | Bitmask flags (e.g. GL_COLOR_BUFFER_BIT) |
| GLbyte/GLshort/GLint/GLuint | Signed/unsigned integers |
| GLfloat/GLdouble | Floating-point values |
| GLclampf/GLclampd | Clamped floats in [0,1] |
Drawing Primitives
| Constant | Shape |
|---|---|
| GL_POINTS | Individual points |
| GL_LINES | Independent lines |
| GL_TRIANGLES | Independent triangles |
| GL_QUADS | Independent quadrilaterals |
| GL_POLYGON | Filled polygon |
Buffers & Clearing
| Function | Purpose |
|---|---|
| glClear(mask) | Clear buffers (GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT) |
| glClearColor(r,g,b,a) | Set clear color |
| glClearDepth(d) | Set depth clear value |
| glClearStencil(s) | Set stencil clear value |
| glViewport(x,y,w,h) | Set rendering region |
State Control
| Function | Purpose |
|---|---|
| glEnable(feature) / glDisable(feature) | Turn features on/off (GL_DEPTH_TEST, GL_BLEND, GL_LIGHTING, etc.) |
| glCullFace, glFrontFace | Control back-face culling |
| glPolygonMode | Draw filled / lines / points |
OpenGL glEnable/glDisable Options
| Constant | Purpose |
|---|---|
| GL_BLEND | Enables blending (used for transparency, alpha blending) |
| GL_COLOR_LOGIC_OP | Enables logical pixel operations (bitwise ops on framebuffer) |
| GL_COLOR_MATERIAL | Enables tracking of material properties by current color |
| GL_CULL_FACE | Enables face culling (discarding back/front faces) |
| GL_DEPTH_TEST | Enables depth testing (hidden surface removal) |
| GL_DITHER | Enables dithering of colors |
| GL_FOG | Enables fog calculation |
| GL_LIGHTING | Enables lighting calculations |
| GL_LIGHT0 ... GL_LIGHT7 | Enables individual light sources |
| GL_LINE_SMOOTH | Enables anti-aliasing for lines |
| GL_MULTISAMPLE | Enables multisample anti-aliasing (if supported) |
| GL_NORMALIZE | Normalizes normals to unit length (needed after scaling) |
| GL_POINT_SMOOTH | Enables anti-aliasing for points |
| GL_POLYGON_OFFSET_FILL | Enables depth offset for filled polygons |
| GL_POLYGON_OFFSET_LINE | Enables depth offset for lines |
| GL_POLYGON_OFFSET_POINT | Enables depth offset for points |
| GL_POLYGON_SMOOTH | Enables anti-aliasing for polygons |
| GL_SCISSOR_TEST | Restricts drawing to a rectangular region |
| GL_STENCIL_TEST | Enables stencil buffer testing |
| GL_TEXTURE_1D | Enables 1D texturing |
| GL_TEXTURE_2D | Enables 2D texturing |
| GL_TEXTURE_3D | Enables 3D texturing (if supported) |
| GL_TEXTURE_CUBE_MAP | Enables cube map texturing (if supported) |
| GL_TEXTURE_GEN_S / GL_TEXTURE_GEN_T / GL_TEXTURE_GEN_R / GL_TEXTURE_GEN_Q |
Enables automatic texture coordinate generation |
| GL_ALPHA_TEST | Enables per-fragment alpha testing (discard fragments based on alpha) |
Transformations & Matrices
| Function | Purpose |
|---|---|
| glMatrixMode(mode) | Switch matrix (GL_MODELVIEW, GL_PROJECTION, GL_TEXTURE) |
| glLoadIdentity() | Reset current matrix |
| glTranslatef(x,y,z) | Translate |
| glRotatef(angle,x,y,z) | Rotate |
| glScalef(x,y,z) | Scale |
| glFrustum(...), glOrtho(...) | Define projection |
Lighting & Materials
| Function | Purpose |
|---|---|
| glEnable(GL_LIGHTING) | Turn on lighting system |
| glEnable(GL_LIGHT0..7) | Enable a light |
| glLightfv(light, pname, values) | Set light property (GL_POSITION, GL_DIFFUSE, GL_SPECULAR) |
| glMaterialfv(face, pname, values) | Set material property (GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_SHININESS) |
Colors & Shading
| Function | Purpose |
|---|---|
| glColor3f(r,g,b) / glColor4f(r,g,b,a) | Set current color |
| glShadeModel(mode) | GL_FLAT (per-face) or GL_SMOOTH (per-vertex) shading |
Textures
| Function | Purpose |
|---|---|
| glBindTexture(target, id) | Bind texture (GL_TEXTURE_2D) |
| glTexImage2D(...) | Upload texture data |
| glTexParameteri(target, pname, param) | Texture filtering/wrapping (GL_NEAREST, GL_LINEAR, GL_REPEAT, GL_CLAMP) |
| glTexCoord2f(u,v) | Texture coordinate per vertex |
Depth, Blending, Fog
| Function | Purpose |
|---|---|
| glDepthFunc(func) | Depth test function (GL_LESS, GL_ALWAYS, etc.) |
| glDepthMask(flag) | Enable/disable writing to depth buffer |
| glBlendFunc(src, dst) | Blend mode (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) |
| glFogf/pfv(...) | Set fog parameters |
Drawing (Immediate Mode)
| Function | Purpose |
|---|---|
| glBegin(mode) / glEnd() | Start/stop primitive drawing |
| glVertex3f(x,y,z) | Vertex position |
| glNormal3f(x,y,z) | Normal vector for lighting |
| glTexCoord2f(u,v) | Texture coordinate |
Errors & Queries
| Function | Purpose |
|---|---|
| glGetError() | Returns error (GL_NO_ERROR, GL_INVALID_ENUM, etc.) |
| glIsEnabled(cap) | Query if feature is enabled |
| glIsTexture(id) | Check if ID is a texture |
What is supported in KUIML
Here is the full list of supported OpenGL API in KUIML:
- OpenGL 1.1 constants, data types, and functions supported by KUIML.
- 1. OpenGL Data Types
- OpenGL defines its own types so it works consistently across platforms:
- GLenum → an enum constant (like GL_TRIANGLES).
- GLboolean → true/false (stored as uint8).
- GLbitfield → bit flags (combine options with OR).
- GLbyte, GLshort, GLint, GLuint → signed/unsigned integers.
- GLfloat, GLdouble → floating-point numbers.
- GLclampf, GLclampd → clamped floats/doubles (values restricted to [0,1]).
- These are just type aliases. They ensure OpenGL behaves the same on all systems.
- uint GLenum
- uint8 GLboolean GLbitfield
- int8 GLbyte
- int16 GLshort
- int GLint GLsizei GLubyte
- uint16 GLushort GLuint
- float GLfloat GLclampf
- double GLdouble GLclampd
- 2. Constants (GL_*)
- These are pre-defined numbers OpenGL uses. They fall into categories:
- a) Primitive Types (what to draw):
- GL_POINTS, GL_LINES, GL_TRIANGLES, GL_QUADS, GL_POLYGON → shapes for glBegin(...)/glDrawArrays.
- b) Buffers and Masks:
- GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT → used in glClear(...).
- GL_ACCUM_BUFFER_BIT, GL_VIEWPORT_BIT, etc. → control different parts of OpenGL state.
- c) Comparison Functions:
- GL_LESS, GL_EQUAL, GL_ALWAYS, GL_NEVER → used in depth/stencil tests.
- d) Blending Modes:
- GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ZERO → how source/destination colors mix.
- e) Matrix Modes:
- GL_MODELVIEW, GL_PROJECTION, GL_TEXTURE → which transformation matrix is active.
- f) Errors:
- GL_NO_ERROR, GL_INVALID_ENUM, GL_OUT_OF_MEMORY → returned by glGetError.
- g) Lighting:
- GL_LIGHT0 … GL_LIGHT7 → built-in lights.
- GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION → light properties.
- h) Shading and Polygon Drawing:
- GL_FLAT, GL_SMOOTH → shading model.
- GL_POINT, GL_LINE, GL_FILL → polygon mode.
- i) Texture Parameters:
- GL_NEAREST, GL_LINEAR, GL_REPEAT, GL_CLAMP → filtering/wrapping.
- GL_TEXTURE_1D, GL_TEXTURE_2D → texture targets.
- All constants are just labels for integer codes that OpenGL understands.
- const GLenum GL_VERSION_1_1
- const GLenum GL_ACCUM
- const GLenum GL_LOAD
- const GLenum GL_RETURN
- const GLenum GL_MULT
- const GLenum GL_ADD
- const GLenum GL_NEVER
- const GLenum GL_LESS
- const GLenum GL_EQUAL
- const GLenum GL_LEQUAL
- const GLenum GL_GREATER
- const GLenum GL_NOTEQUAL
- const GLenum GL_GEQUAL
- const GLenum GL_ALWAYS
- const GLbitfield GL_CURRENT_BIT
- const GLbitfield GL_POINT_BIT
- const GLbitfield GL_LINE_BIT
- const GLbitfield GL_POLYGON_BIT
- const GLbitfield GL_POLYGON_STIPPLE_BIT
- const GLbitfield GL_PIXEL_MODE_BIT
- const GLbitfield GL_LIGHTING_BIT
- const GLbitfield GL_FOG_BIT
- const GLbitfield GL_DEPTH_BUFFER_BIT
- const GLbitfield GL_ACCUM_BUFFER_BIT
- const GLbitfield GL_STENCIL_BUFFER_BIT
- const GLbitfield GL_VIEWPORT_BIT
- const GLbitfield GL_TRANSFORM_BIT
- const GLbitfield GL_ENABLE_BIT
- const GLbitfield GL_COLOR_BUFFER_BIT
- const GLbitfield GL_HINT_BIT
- const GLbitfield GL_EVAL_BIT
- const GLbitfield GL_LIST_BIT
- const GLbitfield GL_TEXTURE_BIT
- const GLbitfield GL_SCISSOR_BIT
- const GLenum GL_ALL_ATTRIB_BITS
- const GLenum GL_POINTS
- const GLenum GL_LINES
- const GLenum GL_LINE_LOOP
- const GLenum GL_LINE_STRIP
- const GLenum GL_TRIANGLES
- const GLenum GL_TRIANGLE_STRIP
- const GLenum GL_TRIANGLE_FAN
- const GLenum GL_QUADS
- const GLenum GL_QUAD_STRIP
- const GLenum GL_POLYGON
- const GLenum GL_ZERO
- const GLenum GL_ONE
- const GLenum GL_SRC_COLOR
- const GLenum GL_ONE_MINUS_SRC_COLOR
- const GLenum GL_SRC_ALPHA
- const GLenum GL_ONE_MINUS_SRC_ALPHA
- const GLenum GL_DST_ALPHA
- const GLenum GL_ONE_MINUS_DST_ALPHA
- const GLenum GL_DST_COLOR
- const GLenum GL_ONE_MINUS_DST_COLOR
- const GLenum GL_SRC_ALPHA_SATURATE
- const GLenum GL_TRUE
- const GLenum GL_FALSE
- const GLenum GL_CLIP_PLANE0
- const GLenum GL_CLIP_PLANE1
- const GLenum GL_CLIP_PLANE2
- const GLenum GL_CLIP_PLANE3
- const GLenum GL_CLIP_PLANE4
- const GLenum GL_CLIP_PLANE5
- const GLenum GL_BYTE
- const GLenum GL_UNSIGNED_BYTE
- const GLenum GL_SHORT
- const GLenum GL_UNSIGNED_SHORT
- const GLenum GL_INT
- const GLenum GL_UNSIGNED_INT
- const GLenum GL_FLOAT
- const GLenum GL_2_BYTES
- const GLenum GL_3_BYTES
- const GLenum GL_4_BYTES
- const GLenum GL_DOUBLE
- const GLenum GL_NONE
- const GLenum GL_FRONT_LEFT
- const GLenum GL_FRONT_RIGHT
- const GLenum GL_BACK_LEFT
- const GLenum GL_BACK_RIGHT
- const GLenum GL_FRONT
- const GLenum GL_BACK
- const GLenum GL_LEFT
- const GLenum GL_RIGHT
- const GLenum GL_FRONT_AND_BACK
- const GLenum GL_AUX0
- const GLenum GL_AUX1
- const GLenum GL_AUX2
- const GLenum GL_AUX3
- const GLenum GL_NO_ERROR
- const GLenum GL_INVALID_ENUM
- const GLenum GL_INVALID_VALUE
- const GLenum GL_INVALID_OPERATION
- const GLenum GL_STACK_OVERFLOW
- const GLenum GL_STACK_UNDERFLOW
- const GLenum GL_OUT_OF_MEMORY
- const GLenum GL_2D
- const GLenum GL_3D
- const GLenum GL_3D_COLOR
- const GLenum GL_3D_COLOR_TEXTURE
- const GLenum GL_4D_COLOR_TEXTURE
- const GLenum GL_PASS_THROUGH_TOKEN
- const GLenum GL_POINT_TOKEN
- const GLenum GL_LINE_TOKEN
- const GLenum GL_POLYGON_TOKEN
- const GLenum GL_BITMAP_TOKEN
- const GLenum GL_DRAW_PIXEL_TOKEN
- const GLenum GL_COPY_PIXEL_TOKEN
- const GLenum GL_LINE_RESET_TOKEN
- const GLenum GL_EXP
- const GLenum GL_EXP2
- const GLenum GL_CW
- const GLenum GL_CCW
- const GLenum GL_COEFF
- const GLenum GL_ORDER
- const GLenum GL_DOMAIN
- const GLenum GL_CURRENT_COLOR
- const GLenum GL_CURRENT_INDEX
- const GLenum GL_CURRENT_NORMAL
- const GLenum GL_CURRENT_TEXTURE_COORDS
- const GLenum GL_CURRENT_RASTER_COLOR
- const GLenum GL_CURRENT_RASTER_INDEX
- const GLenum GL_CURRENT_RASTER_TEXTURE_COORDS
- const GLenum GL_CURRENT_RASTER_POSITION
- const GLenum GL_CURRENT_RASTER_POSITION_VALID
- const GLenum GL_CURRENT_RASTER_DISTANCE
- const GLenum GL_POINT_SMOOTH
- const GLenum GL_POINT_SIZE
- const GLenum GL_POINT_SIZE_RANGE
- const GLenum GL_POINT_SIZE_GRANULARITY
- const GLenum GL_LINE_SMOOTH
- const GLenum GL_LINE_WIDTH
- const GLenum GL_LINE_WIDTH_RANGE
- const GLenum GL_LINE_WIDTH_GRANULARITY
- const GLenum GL_LINE_STIPPLE
- const GLenum GL_LINE_STIPPLE_PATTERN
- const GLenum GL_LINE_STIPPLE_REPEAT
- const GLenum GL_LIST_MODE
- const GLenum GL_MAX_LIST_NESTING
- const GLenum GL_LIST_BASE
- const GLenum GL_LIST_INDEX
- const GLenum GL_POLYGON_MODE
- const GLenum GL_POLYGON_SMOOTH
- const GLenum GL_POLYGON_STIPPLE
- const GLenum GL_EDGE_FLAG
- const GLenum GL_CULL_FACE
- const GLenum GL_CULL_FACE_MODE
- const GLenum GL_FRONT_FACE
- const GLenum GL_LIGHTING
- const GLenum GL_LIGHT_MODEL_LOCAL_VIEWER
- const GLenum GL_LIGHT_MODEL_TWO_SIDE
- const GLenum GL_LIGHT_MODEL_AMBIENT
- const GLenum GL_SHADE_MODEL
- const GLenum GL_COLOR_MATERIAL_FACE
- const GLenum GL_COLOR_MATERIAL_PARAMETER
- const GLenum GL_COLOR_MATERIAL
- const GLenum GL_FOG
- const GLenum GL_FOG_INDEX
- const GLenum GL_FOG_DENSITY
- const GLenum GL_FOG_START
- const GLenum GL_FOG_END
- const GLenum GL_FOG_MODE
- const GLenum GL_FOG_COLOR
- const GLenum GL_DEPTH_RANGE
- const GLenum GL_DEPTH_TEST
- const GLenum GL_DEPTH_WRITEMASK
- const GLenum GL_DEPTH_CLEAR_VALUE
- const GLenum GL_DEPTH_FUNC
- const GLenum GL_ACCUM_CLEAR_VALUE
- const GLenum GL_STENCIL_TEST
- const GLenum GL_STENCIL_CLEAR_VALUE
- const GLenum GL_STENCIL_FUNC
- const GLenum GL_STENCIL_VALUE_MASK
- const GLenum GL_STENCIL_FAIL
- const GLenum GL_STENCIL_PASS_DEPTH_FAIL
- const GLenum GL_STENCIL_PASS_DEPTH_PASS
- const GLenum GL_STENCIL_REF
- const GLenum GL_STENCIL_WRITEMASK
- const GLenum GL_MATRIX_MODE
- const GLenum GL_NORMALIZE
- const GLenum GL_VIEWPORT
- const GLenum GL_MODELVIEW_STACK_DEPTH
- const GLenum GL_PROJECTION_STACK_DEPTH
- const GLenum GL_TEXTURE_STACK_DEPTH
- const GLenum GL_MODELVIEW_MATRIX
- const GLenum GL_PROJECTION_MATRIX
- const GLenum GL_TEXTURE_MATRIX
- const GLenum GL_ATTRIB_STACK_DEPTH
- const GLenum GL_CLIENT_ATTRIB_STACK_DEPTH
- const GLenum GL_ALPHA_TEST
- const GLenum GL_ALPHA_TEST_FUNC
- const GLenum GL_ALPHA_TEST_REF
- const GLenum GL_DITHER
- const GLenum GL_BLEND_DST
- const GLenum GL_BLEND_SRC
- const GLenum GL_BLEND
- const GLenum GL_LOGIC_OP_MODE
- const GLenum GL_INDEX_LOGIC_OP
- const GLenum GL_COLOR_LOGIC_OP
- const GLenum GL_AUX_BUFFERS
- const GLenum GL_DRAW_BUFFER
- const GLenum GL_READ_BUFFER
- const GLenum GL_SCISSOR_BOX
- const GLenum GL_SCISSOR_TEST
- const GLenum GL_INDEX_CLEAR_VALUE
- const GLenum GL_INDEX_WRITEMASK
- const GLenum GL_COLOR_CLEAR_VALUE
- const GLenum GL_COLOR_WRITEMASK
- const GLenum GL_INDEX_MODE
- const GLenum GL_RGBA_MODE
- const GLenum GL_DOUBLEBUFFER
- const GLenum GL_STEREO
- const GLenum GL_RENDER_MODE
- const GLenum GL_PERSPECTIVE_CORRECTION_HINT
- const GLenum GL_POINT_SMOOTH_HINT
- const GLenum GL_LINE_SMOOTH_HINT
- const GLenum GL_POLYGON_SMOOTH_HINT
- const GLenum GL_FOG_HINT
- const GLenum GL_TEXTURE_GEN_S
- const GLenum GL_TEXTURE_GEN_T
- const GLenum GL_TEXTURE_GEN_R
- const GLenum GL_TEXTURE_GEN_Q
- const GLenum GL_PIXEL_MAP_I_TO_I
- const GLenum GL_PIXEL_MAP_S_TO_S
- const GLenum GL_PIXEL_MAP_I_TO_R
- const GLenum GL_PIXEL_MAP_I_TO_G
- const GLenum GL_PIXEL_MAP_I_TO_B
- const GLenum GL_PIXEL_MAP_I_TO_A
- const GLenum GL_PIXEL_MAP_R_TO_R
- const GLenum GL_PIXEL_MAP_G_TO_G
- const GLenum GL_PIXEL_MAP_B_TO_B
- const GLenum GL_PIXEL_MAP_A_TO_A
- const GLenum GL_PIXEL_MAP_I_TO_I_SIZE
- const GLenum GL_PIXEL_MAP_S_TO_S_SIZE
- const GLenum GL_PIXEL_MAP_I_TO_R_SIZE
- const GLenum GL_PIXEL_MAP_I_TO_G_SIZE
- const GLenum GL_PIXEL_MAP_I_TO_B_SIZE
- const GLenum GL_PIXEL_MAP_I_TO_A_SIZE
- const GLenum GL_PIXEL_MAP_R_TO_R_SIZE
- const GLenum GL_PIXEL_MAP_G_TO_G_SIZE
- const GLenum GL_PIXEL_MAP_B_TO_B_SIZE
- const GLenum GL_PIXEL_MAP_A_TO_A_SIZE
- const GLenum GL_UNPACK_SWAP_BYTES
- const GLenum GL_UNPACK_LSB_FIRST
- const GLenum GL_UNPACK_ROW_LENGTH
- const GLenum GL_UNPACK_SKIP_ROWS
- const GLenum GL_UNPACK_SKIP_PIXELS
- const GLenum GL_UNPACK_ALIGNMENT
- const GLenum GL_PACK_SWAP_BYTES
- const GLenum GL_PACK_LSB_FIRST
- const GLenum GL_PACK_ROW_LENGTH
- const GLenum GL_PACK_SKIP_ROWS
- const GLenum GL_PACK_SKIP_PIXELS
- const GLenum GL_PACK_ALIGNMENT
- const GLenum GL_MAP_COLOR
- const GLenum GL_MAP_STENCIL
- const GLenum GL_INDEX_SHIFT
- const GLenum GL_INDEX_OFFSET
- const GLenum GL_RED_SCALE
- const GLenum GL_RED_BIAS
- const GLenum GL_ZOOM_X
- const GLenum GL_ZOOM_Y
- const GLenum GL_GREEN_SCALE
- const GLenum GL_GREEN_BIAS
- const GLenum GL_BLUE_SCALE
- const GLenum GL_BLUE_BIAS
- const GLenum GL_ALPHA_SCALE
- const GLenum GL_ALPHA_BIAS
- const GLenum GL_DEPTH_SCALE
- const GLenum GL_DEPTH_BIAS
- const GLenum GL_MAX_EVAL_ORDER
- const GLenum GL_MAX_LIGHTS
- const GLenum GL_MAX_CLIP_PLANES
- const GLenum GL_MAX_TEXTURE_SIZE
- const GLenum GL_MAX_PIXEL_MAP_TABLE
- const GLenum GL_MAX_ATTRIB_STACK_DEPTH
- const GLenum GL_MAX_MODELVIEW_STACK_DEPTH
- const GLenum GL_MAX_NAME_STACK_DEPTH
- const GLenum GL_MAX_PROJECTION_STACK_DEPTH
- const GLenum GL_MAX_TEXTURE_STACK_DEPTH
- const GLenum GL_MAX_VIEWPORT_DIMS
- const GLenum GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
- const GLenum GL_SUBPIXEL_BITS
- const GLenum GL_INDEX_BITS
- const GLenum GL_RED_BITS
- const GLenum GL_GREEN_BITS
- const GLenum GL_BLUE_BITS
- const GLenum GL_ALPHA_BITS
- const GLenum GL_DEPTH_BITS
- const GLenum GL_STENCIL_BITS
- const GLenum GL_ACCUM_RED_BITS
- const GLenum GL_ACCUM_GREEN_BITS
- const GLenum GL_ACCUM_BLUE_BITS
- const GLenum GL_ACCUM_ALPHA_BITS
- const GLenum GL_NAME_STACK_DEPTH
- const GLenum GL_AUTO_NORMAL
- const GLenum GL_MAP1_COLOR_4
- const GLenum GL_MAP1_INDEX
- const GLenum GL_MAP1_NORMAL
- const GLenum GL_MAP1_TEXTURE_COORD_1
- const GLenum GL_MAP1_TEXTURE_COORD_2
- const GLenum GL_MAP1_TEXTURE_COORD_3
- const GLenum GL_MAP1_TEXTURE_COORD_4
- const GLenum GL_MAP1_VERTEX_3
- const GLenum GL_MAP1_VERTEX_4
- const GLenum GL_MAP2_COLOR_4
- const GLenum GL_MAP2_INDEX
- const GLenum GL_MAP2_NORMAL
- const GLenum GL_MAP2_TEXTURE_COORD_1
- const GLenum GL_MAP2_TEXTURE_COORD_2
- const GLenum GL_MAP2_TEXTURE_COORD_3
- const GLenum GL_MAP2_TEXTURE_COORD_4
- const GLenum GL_MAP2_VERTEX_3
- const GLenum GL_MAP2_VERTEX_4
- const GLenum GL_MAP1_GRID_DOMAIN
- const GLenum GL_MAP1_GRID_SEGMENTS
- const GLenum GL_MAP2_GRID_DOMAIN
- const GLenum GL_MAP2_GRID_SEGMENTS
- const GLenum GL_TEXTURE_1D
- const GLenum GL_TEXTURE_2D
- const GLenum GL_FEEDBACK_BUFFER_POINTER
- const GLenum GL_FEEDBACK_BUFFER_SIZE
- const GLenum GL_FEEDBACK_BUFFER_TYPE
- const GLenum GL_SELECTION_BUFFER_POINTER
- const GLenum GL_SELECTION_BUFFER_SIZE
- const GLenum GL_TEXTURE_WIDTH
- const GLenum GL_TEXTURE_HEIGHT
- const GLenum GL_TEXTURE_INTERNAL_FORMAT
- const GLenum GL_TEXTURE_BORDER_COLOR
- const GLenum GL_TEXTURE_BORDER
- const GLenum GL_DONT_CARE
- const GLenum GL_FASTEST
- const GLenum GL_NICEST
- const GLenum GL_LIGHT0
- const GLenum GL_LIGHT1
- const GLenum GL_LIGHT2
- const GLenum GL_LIGHT3
- const GLenum GL_LIGHT4
- const GLenum GL_LIGHT5
- const GLenum GL_LIGHT6
- const GLenum GL_LIGHT7
- const GLenum GL_AMBIENT
- const GLenum GL_DIFFUSE
- const GLenum GL_SPECULAR
- const GLenum GL_POSITION
- const GLenum GL_SPOT_DIRECTION
- const GLenum GL_SPOT_EXPONENT
- const GLenum GL_SPOT_CUTOFF
- const GLenum GL_CONSTANT_ATTENUATION
- const GLenum GL_LINEAR_ATTENUATION
- const GLenum GL_QUADRATIC_ATTENUATION
- const GLenum GL_COMPILE
- const GLenum GL_COMPILE_AND_EXECUTE
- const GLenum GL_CLEAR
- const GLenum GL_AND
- const GLenum GL_AND_REVERSE
- const GLenum GL_COPY
- const GLenum GL_AND_INVERTED
- const GLenum GL_NOOP
- const GLenum GL_XOR
- const GLenum GL_OR
- const GLenum GL_NOR
- const GLenum GL_EQUIV
- const GLenum GL_INVERT
- const GLenum GL_OR_REVERSE
- const GLenum GL_COPY_INVERTED
- const GLenum GL_OR_INVERTED
- const GLenum GL_NAND
- const GLenum GL_SET
- const GLenum GL_EMISSION
- const GLenum GL_SHININESS
- const GLenum GL_AMBIENT_AND_DIFFUSE
- const GLenum GL_COLOR_INDEXES
- const GLenum GL_MODELVIEW
- const GLenum GL_PROJECTION
- const GLenum GL_TEXTURE
- const GLenum GL_COLOR
- const GLenum GL_DEPTH
- const GLenum GL_STENCIL
- const GLenum GL_COLOR_INDEX
- const GLenum GL_STENCIL_INDEX
- const GLenum GL_DEPTH_COMPONENT
- const GLenum GL_RED
- const GLenum GL_GREEN
- const GLenum GL_BLUE
- const GLenum GL_ALPHA
- const GLenum GL_RGB
- const GLenum GL_RGBA
- const GLenum GL_LUMINANCE
- const GLenum GL_LUMINANCE_ALPHA
- const GLenum GL_BITMAP
- const GLenum GL_POINT
- const GLenum GL_LINE
- const GLenum GL_FILL
- const GLenum GL_RENDER
- const GLenum GL_FEEDBACK
- const GLenum GL_SELECT
- const GLenum GL_FLAT
- const GLenum GL_SMOOTH
- const GLenum GL_KEEP
- const GLenum GL_REPLACE
- const GLenum GL_INCR
- const GLenum GL_DECR
- const GLenum GL_VENDOR
- const GLenum GL_RENDERER
- const GLenum GL_VERSION
- const GLenum GL_EXTENSIONS
- const GLenum GL_S
- const GLenum GL_T
- const GLenum GL_R
- const GLenum GL_Q
- const GLenum GL_MODULATE
- const GLenum GL_DECAL
- const GLenum GL_TEXTURE_ENV_MODE
- const GLenum GL_TEXTURE_ENV_COLOR
- const GLenum GL_TEXTURE_ENV
- const GLenum GL_EYE_LINEAR
- const GLenum GL_OBJECT_LINEAR
- const GLenum GL_SPHERE_MAP
- const GLenum GL_TEXTURE_GEN_MODE
- const GLenum GL_OBJECT_PLANE
- const GLenum GL_EYE_PLANE
- const GLenum GL_NEAREST
- const GLenum GL_LINEAR
- const GLenum GL_NEAREST_MIPMAP_NEAREST
- const GLenum GL_LINEAR_MIPMAP_NEAREST
- const GLenum GL_NEAREST_MIPMAP_LINEAR
- const GLenum GL_LINEAR_MIPMAP_LINEAR
- const GLenum GL_TEXTURE_MAG_FILTER
- const GLenum GL_TEXTURE_MIN_FILTER
- const GLenum GL_TEXTURE_WRAP_S
- const GLenum GL_TEXTURE_WRAP_T
- const GLenum GL_CLAMP
- const GLenum GL_REPEAT
- const GLbitfield GL_CLIENT_PIXEL_STORE_BIT
- const GLbitfield GL_CLIENT_VERTEX_ARRAY_BIT
- const GLenum GL_CLIENT_ALL_ATTRIB_BITS
- const GLenum GL_POLYGON_OFFSET_FACTOR
- const GLenum GL_POLYGON_OFFSET_UNITS
- const GLenum GL_POLYGON_OFFSET_POINT
- const GLenum GL_POLYGON_OFFSET_LINE
- const GLenum GL_POLYGON_OFFSET_FILL
- const GLenum GL_ALPHA4
- const GLenum GL_ALPHA8
- const GLenum GL_ALPHA12
- const GLenum GL_ALPHA16
- const GLenum GL_LUMINANCE4
- const GLenum GL_LUMINANCE8
- const GLenum GL_LUMINANCE12
- const GLenum GL_LUMINANCE16
- const GLenum GL_LUMINANCE4_ALPHA4
- const GLenum GL_LUMINANCE6_ALPHA2
- const GLenum GL_LUMINANCE8_ALPHA8
- const GLenum GL_LUMINANCE12_ALPHA4
- const GLenum GL_LUMINANCE12_ALPHA12
- const GLenum GL_LUMINANCE16_ALPHA16
- const GLenum GL_INTENSITY
- const GLenum GL_INTENSITY4
- const GLenum GL_INTENSITY8
- const GLenum GL_INTENSITY12
- const GLenum GL_INTENSITY16
- const GLenum GL_R3_G3_B2
- const GLenum GL_RGB4
- const GLenum GL_RGB5
- const GLenum GL_RGB8
- const GLenum GL_RGB10
- const GLenum GL_RGB12
- const GLenum GL_RGB16
- const GLenum GL_RGBA2
- const GLenum GL_RGBA4
- const GLenum GL_RGB5_A1
- const GLenum GL_RGBA8
- const GLenum GL_RGB10_A2
- const GLenum GL_RGBA12
- const GLenum GL_RGBA16
- const GLenum GL_TEXTURE_RED_SIZE
- const GLenum GL_TEXTURE_GREEN_SIZE
- const GLenum GL_TEXTURE_BLUE_SIZE
- const GLenum GL_TEXTURE_ALPHA_SIZE
- const GLenum GL_TEXTURE_LUMINANCE_SIZE
- const GLenum GL_TEXTURE_INTENSITY_SIZE
- const GLenum GL_PROXY_TEXTURE_1D
- const GLenum GL_PROXY_TEXTURE_2D
- const GLenum GL_TEXTURE_PRIORITY
- const GLenum GL_TEXTURE_RESIDENT
- const GLenum GL_TEXTURE_BINDING_1D
- const GLenum GL_TEXTURE_BINDING_2D
- const GLenum GL_VERTEX_ARRAY
- const GLenum GL_NORMAL_ARRAY
- const GLenum GL_COLOR_ARRAY
- const GLenum GL_INDEX_ARRAY
- const GLenum GL_TEXTURE_COORD_ARRAY
- const GLenum GL_EDGE_FLAG_ARRAY
- const GLenum GL_VERTEX_ARRAY_SIZE
- const GLenum GL_VERTEX_ARRAY_TYPE
- const GLenum GL_VERTEX_ARRAY_STRIDE
- const GLenum GL_NORMAL_ARRAY_TYPE
- const GLenum GL_NORMAL_ARRAY_STRIDE
- const GLenum GL_COLOR_ARRAY_SIZE
- const GLenum GL_COLOR_ARRAY_TYPE
- const GLenum GL_COLOR_ARRAY_STRIDE
- const GLenum GL_INDEX_ARRAY_TYPE
- const GLenum GL_INDEX_ARRAY_STRIDE
- const GLenum GL_TEXTURE_COORD_ARRAY_SIZE
- const GLenum GL_TEXTURE_COORD_ARRAY_TYPE
- const GLenum GL_TEXTURE_COORD_ARRAY_STRIDE
- const GLenum GL_EDGE_FLAG_ARRAY_STRIDE
- const GLenum GL_VERTEX_ARRAY_POINTER
- const GLenum GL_NORMAL_ARRAY_POINTER
- const GLenum GL_COLOR_ARRAY_POINTER
- const GLenum GL_INDEX_ARRAY_POINTER
- const GLenum GL_TEXTURE_COORD_ARRAY_POINTER
- const GLenum GL_EDGE_FLAG_ARRAY_POINTER
- const GLenum GL_V2F
- const GLenum GL_V3F
- const GLenum GL_C4UB_V2F
- const GLenum GL_C4UB_V3F
- const GLenum GL_C3F_V3F
- const GLenum GL_N3F_V3F
- const GLenum GL_C4F_N3F_V3F
- const GLenum GL_T2F_V3F
- const GLenum GL_T4F_V4F
- const GLenum GL_T2F_C4UB_V3F
- const GLenum GL_T2F_C3F_V3F
- const GLenum GL_T2F_N3F_V3F
- const GLenum GL_T2F_C4F_N3F_V3F
- const GLenum GL_T4F_C4F_N3F_V4F
- const GLenum GL_EXT_vertex_array
- const GLenum GL_EXT_bgra
- const GLenum GL_EXT_paletted_texture
- const GLenum GL_VERTEX_ARRAY_EXT
- const GLenum GL_NORMAL_ARRAY_EXT
- const GLenum GL_COLOR_ARRAY_EXT
- const GLenum GL_INDEX_ARRAY_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_EXT
- const GLenum GL_EDGE_FLAG_ARRAY_EXT
- const GLenum GL_VERTEX_ARRAY_SIZE_EXT
- const GLenum GL_VERTEX_ARRAY_TYPE_EXT
- const GLenum GL_VERTEX_ARRAY_STRIDE_EXT
- const GLenum GL_VERTEX_ARRAY_COUNT_EXT
- const GLenum GL_NORMAL_ARRAY_TYPE_EXT
- const GLenum GL_NORMAL_ARRAY_STRIDE_EXT
- const GLenum GL_NORMAL_ARRAY_COUNT_EXT
- const GLenum GL_COLOR_ARRAY_SIZE_EXT
- const GLenum GL_COLOR_ARRAY_TYPE_EXT
- const GLenum GL_COLOR_ARRAY_STRIDE_EXT
- const GLenum GL_COLOR_ARRAY_COUNT_EXT
- const GLenum GL_INDEX_ARRAY_TYPE_EXT
- const GLenum GL_INDEX_ARRAY_STRIDE_EXT
- const GLenum GL_INDEX_ARRAY_COUNT_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_SIZE_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_TYPE_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_STRIDE_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_COUNT_EXT
- const GLenum GL_EDGE_FLAG_ARRAY_STRIDE_EXT
- const GLenum GL_EDGE_FLAG_ARRAY_COUNT_EXT
- const GLenum GL_VERTEX_ARRAY_POINTER_EXT
- const GLenum GL_NORMAL_ARRAY_POINTER_EXT
- const GLenum GL_COLOR_ARRAY_POINTER_EXT
- const GLenum GL_INDEX_ARRAY_POINTER_EXT
- const GLenum GL_TEXTURE_COORD_ARRAY_POINTER_EXT
- const GLenum GL_EDGE_FLAG_ARRAY_POINTER_EXT
- const GLenum GL_BGR_EXT
- const GLenum GL_BGRA_EXT
- const GLenum GL_COLOR_INDEX1_EXT
- const GLenum GL_COLOR_INDEX2_EXT
- const GLenum GL_COLOR_INDEX4_EXT
- const GLenum GL_COLOR_INDEX8_EXT
- const GLenum GL_COLOR_INDEX12_EXT
- const GLenum GL_COLOR_INDEX16_EXT
- const GLenum GL_LOGIC_OP
- const GLenum GL_TEXTURE_COMPONENTS
- 3. Functions (gl*)
- These are the actual API calls. Broad categories:
- a) Drawing:
- glBegin, glEnd, glVertex* → (old immediate mode).
- glDrawArrays, glDrawBuffer → (newer, uses arrays).
- b) State Control:
- glEnable, glDisable → turn features on/off (e.g., GL_DEPTH_TEST).
- glCullFace, glFrontFace, glPolygonMode → control polygon rendering.
- c) Colors and Materials:
- glColor3f, glColor4f → set colors.
- glMaterial*, glLight* → set material and light properties.
- d) Matrices and Transformations:
- glMatrixMode, glLoadIdentity, glTranslatef, glRotatef, glScalef, glFrustum, glOrtho → transformations and projections.
- e) Buffers:
- glClear, glClearColor, glClearDepth, glClearStencil → clear frame/depth/stencil.
- glViewport → set rendering area.
- f) Textures:
- glBindTexture, glTexImage*, glTexParameteri, glTexCoord* → texture setup and mapping.
- g) Fog, Blending, Depth:
- glFog*, glBlendFunc, glDepthFunc, glDepthMask → environment and transparency control.
- h) Queries and Errors:
- glGetError, glIsEnabled, glIsTexture → query OpenGL state.
- void glAccum (GLenum op, GLfloat value)
- void glAlphaFunc (GLenum func, GLclampf ref)
- void glArrayElement (GLint i)
- void glBegin (GLenum mode)
- void glBindTexture (GLenum target, GLuint texture)
- void glBlendFunc (GLenum sfactor, GLenum dfactor)
- void glCallList (GLuint list)
- void glClear (GLbitfield mask)
- void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
- void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
- void glClearDepth (GLclampd depth)
- void glClearIndex (GLfloat c)
- void glClearStencil (GLint s)
- void glColor3b (GLbyte red, GLbyte green, GLbyte blue)
- void glColor3d (GLdouble red, GLdouble green, GLdouble blue)
- void glColor3f (GLfloat red, GLfloat green, GLfloat blue)
- void glColor3i (GLint red, GLint green, GLint blue)
- void glColor3s (GLshort red, GLshort green, GLshort blue)
- void glColor3ub (GLubyte red, GLubyte green, GLubyte blue)
- void glColor3ui (GLuint red, GLuint green, GLuint blue)
- void glColor3us (GLushort red, GLushort green, GLushort blue)
- void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
- void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
- void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
- void glColor4i (GLint red, GLint green, GLint blue, GLint alpha)
- void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha)
- void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
- void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha)
- void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha)
- void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
- void glColorMaterial (GLenum face, GLenum mode)
- void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
- void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
- void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
- void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
- void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
- void glCullFace (GLenum mode)
- void glDeleteLists (GLuint list, GLsizei range)
- void glDepthFunc (GLenum func)
- void glDepthMask (GLboolean flag)
- void glDepthRange (GLclampd zNear, GLclampd zFar)
- void glDisable (GLenum cap)
- void glDisableClientState (GLenum array)
- void glDrawArrays (GLenum mode, GLint first, GLsizei count)
- void glDrawBuffer (GLenum mode)
- void glEdgeFlag (GLboolean flag)
- void glEnable (GLenum cap)
- void glEnableClientState (GLenum array)
- void glEnd (void)
- void glEndList (void)
- void glEvalCoord1d (GLdouble u)
- void glEvalCoord1f (GLfloat u)
- void glEvalCoord2d (GLdouble u, GLdouble v)
- void glEvalCoord2f (GLfloat u, GLfloat v)
- void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
- void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
- void glEvalPoint1 (GLint i)
- void glEvalPoint2 (GLint i, GLint j)
- void glFinish (void)
- void glFlush (void)
- void glFogf (GLenum pname, GLfloat param)
- void glFogi (GLenum pname, GLint param)
- void glFrontFace (GLenum mode)
- void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
- GLuint glGenLists (GLsizei range)
- GLenum glGetError (void)
- void glHint (GLenum target, GLenum mode)
- void glIndexMask (GLuint mask)
- void glIndexd (GLdouble c)
- void glIndexf (GLfloat c)
- void glIndexi (GLint c)
- void glIndexs (GLshort c)
- void glIndexub (GLubyte c)
- void glInitNames (void)
- GLboolean glIsEnabled (GLenum cap)
- GLboolean glIsList (GLuint list)
- GLboolean glIsTexture (GLuint texture)
- void glLightModelf (GLenum pname, GLfloat param)
- void glLightModeli (GLenum pname, GLint param)
- void glLightf (GLenum light, GLenum pname, GLfloat param)
- void glLighti (GLenum light, GLenum pname, GLint param)
- void glLineStipple (GLint factor, GLushort pattern)
- void glLineWidth (GLfloat width)
- void glListBase (GLuint base)
- void glLoadIdentity (void)
- void glLoadName (GLuint name)
- void glLogicOp (GLenum opcode)
- void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
- void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
- void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
- void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
- void glMaterialf (GLenum face, GLenum pname, GLfloat param)
- void glMateriali (GLenum face, GLenum pname, GLint param)
- void glMatrixMode (GLenum mode)
- void glNewList (GLuint list, GLenum mode)
- void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
- void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
- void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
- void glNormal3i (GLint nx, GLint ny, GLint nz)
- void glNormal3s (GLshort nx, GLshort ny, GLshort nz)
- void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
- void glPassThrough (GLfloat token)
- void glPixelStoref (GLenum pname, GLfloat param)
- void glPixelStorei (GLenum pname, GLint param)
- void glPixelTransferf (GLenum pname, GLfloat param)
- void glPixelTransferi (GLenum pname, GLint param)
- void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
- void glPointSize (GLfloat size)
- void glPolygonMode (GLenum face, GLenum mode)
- void glPolygonOffset (GLfloat factor, GLfloat units)
- void glPopAttrib (void)
- void glPopClientAttrib (void)
- void glPopMatrix (void)
- void glPopName (void)
- void glPushAttrib (GLbitfield mask)
- void glPushClientAttrib (GLbitfield mask)
- void glPushMatrix (void)
- void glPushName (GLuint name)
- void glRasterPos2d (GLdouble x, GLdouble y)
- void glRasterPos2f (GLfloat x, GLfloat y)
- void glRasterPos2i (GLint x, GLint y)
- void glRasterPos2s (GLshort x, GLshort y)
- void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
- void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
- void glRasterPos3i (GLint x, GLint y, GLint z)
- void glRasterPos3s (GLshort x, GLshort y, GLshort z)
- void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
- void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
- void glRasterPos4i (GLint x, GLint y, GLint z, GLint w)
- void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
- void glReadBuffer (GLenum mode)
- void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
- void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
- void glRecti (GLint x1, GLint y1, GLint x2, GLint y2)
- void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
- GLint glRenderMode (GLenum mode)
- void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
- void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
- void glScaled (GLdouble x, GLdouble y, GLdouble z)
- void glScalef (GLfloat x, GLfloat y, GLfloat z)
- void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
- void glShadeModel (GLenum mode)
- void glStencilFunc (GLenum func, GLint ref, GLuint mask)
- void glStencilMask (GLuint mask)
- void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
- void glTexCoord1d (GLdouble s)
- void glTexCoord1f (GLfloat s)
- void glTexCoord1i (GLint s)
- void glTexCoord1s (GLshort s)
- void glTexCoord2d (GLdouble s, GLdouble t)
- void glTexCoord2f (GLfloat s, GLfloat t)
- void glTexCoord2i (GLint s, GLint t)
- void glTexCoord2s (GLshort s, GLshort t)
- void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
- void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
- void glTexCoord3i (GLint s, GLint t, GLint r)
- void glTexCoord3s (GLshort s, GLshort t, GLshort r)
- void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
- void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
- void glTexCoord4i (GLint s, GLint t, GLint r, GLint q)
- void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
- void glTexEnvf (GLenum target, GLenum pname, GLfloat param)
- void glTexEnvi (GLenum target, GLenum pname, GLint param)
- void glTexGend (GLenum coord, GLenum pname, GLdouble param)
- void glTexGenf (GLenum coord, GLenum pname, GLfloat param)
- void glTexGeni (GLenum coord, GLenum pname, GLint param)
- void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
- void glTexParameteri (GLenum target, GLenum pname, GLint param)
- void glTranslated (GLdouble x, GLdouble y, GLdouble z)
- void glTranslatef (GLfloat x, GLfloat y, GLfloat z)
- void glVertex2d (GLdouble x, GLdouble y)
- void glVertex2f (GLfloat x, GLfloat y)
- void glVertex2i (GLint x, GLint y)
- void glVertex2s (GLshort x, GLshort y)
- void glVertex3d (GLdouble x, GLdouble y, GLdouble z)
- void glVertex3f (GLfloat x, GLfloat y, GLfloat z)
- void glVertex3i (GLint x, GLint y, GLint z)
- void glVertex3s (GLshort x, GLshort y, GLshort z)
- void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
- void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
- void glVertex4i (GLint x, GLint y, GLint z, GLint w)
- void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w)
- void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
- void glLightfv(GLenum light, GLenum pname, const array<GLfloat> )
- void glLightiv(GLenum light, GLenum pname, const array<GLint> )
- void glMaterialfv(GLenum light, GLenum pname, const array<GLfloat> )
- void glMaterialiv(GLenum light, GLenum pname, const array<GLint> )
Comments
Please, authorize to view and post comments.