PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
  • Overview
  • Tutorial
  • Reference
Layout and positioning
  • CELL
  • TABLE
Language basics
  • SKIN
  • DUMMY
  • INCLUDE
  • INCLUDE_ONCE
  • DEFINE
  • UNDEFINE
  • VARIABLE
  • LOCAL_VARIABLE
  • TEMPLATE
  • TEMPLATE_INNER_CONTENT
  • TEMPLATE_UNLOAD
  • REPEAT
Text widgets
  • TEXT
  • TEXT_FIELD
  • TEXT_EDIT_BOX
  • TOOLTIP
  • PARAM_TEXT
  • PARAM_TEXT_CONTROL
  • PARAM_TEXT_EDIT_BOX
  • PARAM_TOOLTIP
Image widgets
  • IMAGE
  • IMAGE_ACTION_BUTTON
  • IMAGE_GROUP_BOX
  • IMAGE_PARAM_BUTTON
  • IMAGE_PARAM_KNOB
  • IMAGE_PARAM_LINEAR_METER
  • IMAGE_PARAM_MENU_BUTTON
  • IMAGE_PARAM_METER
  • IMAGE_PARAM_SLIDER
  • IMAGE_PARAM_TOGGLE_SWITCH
  • XYZ_IMAGE_PARAM_JOYSTICK
Invisible controls
  • INVISIBLE_ACTION_BUTTON
  • INVISIBLE_PARAM_BUTTON
  • INVISIBLE_PARAM_KNOB
  • INVISIBLE_PARAM_MENU_BUTTON
  • INVISIBLE_PARAM_SLIDER
  • INVISIBLE_PARAM_TOGGLE_SWITCH
  • XY_PARAM_PAD
  • XY_ZOOM_SELECT_PAD
  • XYZ_PARAM_SCRATCH_PAD
  • XYZ_PARAM_CLICK_PAD
Drawing, curves & 3D
  • CANVAS
    • Graphics API
  • svg
  • CURVE_GRAPH
  • XY_CURVES_GRAPH
  • GRID
  • RULER
  • COLOR_SCALE
  • VIEW_3D
  • COLOR_SURFACE_3D
  • GRID_3D
  • GL_OBJECT_3D
    • OpenGL Cheat Sheet
  • SURFACE_COLORMAP_2DPLOT
Miscellaneous
  • SCRIPT
  • WIDGET
  • KUIML_WIDGET
  • POPUP_MENU
  • MENU_ITEM
  • MENU_SEPARATOR
  • FILE_SELECT_MENU
  • SYSTEM_ACTION_BUTTON
  • SYSTEM_PARAM_CHECKBOX
  • SYSTEM_PARAM_DROPDOWN_LIST
  • WINDOW
  • LOAD_FONT
Data model
  • STRING
  • PARAM
  • FORMULA_PARAM
  • PARAM_ANIMATOR
  • ACTION
    • Built-in action types
  • TIMER
  • ACTION_TRIGGER
  • CURVE
  • FORMULA_CURVE
  • CURVE_FROM_PARAM_OVER_TIME
  • SURFACE
  • FORMULA_SURFACE
  • SURFACE_FROM_CURVE_OVER_TIME
  • GROUP
Links and commands
  • PARAM_LINK
  • PARAM_MULTI_LINK
  • PARAM_CONNECTION
  • PARAM_TO_STRING_LINK
  • STRING_LINK
  • STRING_MULTI_LINK
  • CURVE_LINK
  • CURVE_MULTI_LINK
  • SURFACE_LINK
  • REQUIRED_OBJECTS
  • EXPOSED_OBJECTS
  • PERSISTENT_OBJECTS
Common attrubutes
  • For all elements
  • Widgets
  • Param Widgets
  • Param Controls
  • Param Info Viewers
  • Text Widgets
  • Surface Viewers
  • Curve Viewers
  • Images
  • 3D Objects
Additional information
  • All attributes
  • Attribute types
  • Cursors
  • Math formulas
  • Scripting
    • Built-in addons
  • User experience
  • Errors and solutions
  • Built-in variables
  • Runtime model
  • Parameters mapping
  • Script converter
  • LetiMix
KUIMLReferenceGL_OBJECT_3DOpenGL Cheat Sheet
August 20, 2025

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:

  1. OpenGL 1.1 constants, data types, and functions supported by KUIML.

  2. 1. OpenGL Data Types

  3. OpenGL defines its own types so it works consistently across platforms:

  4. GLenum → an enum constant (like GL_TRIANGLES).
  5. GLboolean → true/false (stored as uint8).
  6. GLbitfield → bit flags (combine options with OR).
  7. GLbyte, GLshort, GLint, GLuint → signed/unsigned integers.
  8. GLfloat, GLdouble → floating-point numbers.
  9. GLclampf, GLclampd → clamped floats/doubles (values restricted to [0,1]).
  10. These are just type aliases. They ensure OpenGL behaves the same on all systems.

  11. uint GLenum
  12. uint8 GLboolean GLbitfield
  13. int8 GLbyte
  14. int16 GLshort
  15. int GLint GLsizei GLubyte
  16. uint16 GLushort GLuint
  17. float GLfloat GLclampf
  18. double GLdouble GLclampd


  19. 2. Constants (GL_*)

  20. These are pre-defined numbers OpenGL uses. They fall into categories:

  21. a) Primitive Types (what to draw):

  22. GL_POINTS, GL_LINES, GL_TRIANGLES, GL_QUADS, GL_POLYGON → shapes for glBegin(...)/glDrawArrays.

  23. b) Buffers and Masks:

  24. GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT → used in glClear(...).

  25. GL_ACCUM_BUFFER_BIT, GL_VIEWPORT_BIT, etc. → control different parts of OpenGL state.

  26. c) Comparison Functions:

  27. GL_LESS, GL_EQUAL, GL_ALWAYS, GL_NEVER → used in depth/stencil tests.

  28. d) Blending Modes:

  29. GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ZERO → how source/destination colors mix.

  30. e) Matrix Modes:

  31. GL_MODELVIEW, GL_PROJECTION, GL_TEXTURE → which transformation matrix is active.

  32. f) Errors:

  33. GL_NO_ERROR, GL_INVALID_ENUM, GL_OUT_OF_MEMORY → returned by glGetError.

  34. g) Lighting:

  35. GL_LIGHT0 … GL_LIGHT7 → built-in lights.

  36. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION → light properties.

  37. h) Shading and Polygon Drawing:

  38. GL_FLAT, GL_SMOOTH → shading model.

  39. GL_POINT, GL_LINE, GL_FILL → polygon mode.

  40. i) Texture Parameters:

  41. GL_NEAREST, GL_LINEAR, GL_REPEAT, GL_CLAMP → filtering/wrapping.

  42. GL_TEXTURE_1D, GL_TEXTURE_2D → texture targets.

  43. All constants are just labels for integer codes that OpenGL understands.

  44. const GLenum GL_VERSION_1_1
  45. const GLenum GL_ACCUM
  46. const GLenum GL_LOAD
  47. const GLenum GL_RETURN
  48. const GLenum GL_MULT
  49. const GLenum GL_ADD
  50. const GLenum GL_NEVER
  51. const GLenum GL_LESS
  52. const GLenum GL_EQUAL
  53. const GLenum GL_LEQUAL
  54. const GLenum GL_GREATER
  55. const GLenum GL_NOTEQUAL
  56. const GLenum GL_GEQUAL
  57. const GLenum GL_ALWAYS

  58. const GLbitfield GL_CURRENT_BIT
  59. const GLbitfield GL_POINT_BIT
  60. const GLbitfield GL_LINE_BIT
  61. const GLbitfield GL_POLYGON_BIT
  62. const GLbitfield GL_POLYGON_STIPPLE_BIT
  63. const GLbitfield GL_PIXEL_MODE_BIT
  64. const GLbitfield GL_LIGHTING_BIT
  65. const GLbitfield GL_FOG_BIT
  66. const GLbitfield GL_DEPTH_BUFFER_BIT
  67. const GLbitfield GL_ACCUM_BUFFER_BIT
  68. const GLbitfield GL_STENCIL_BUFFER_BIT
  69. const GLbitfield GL_VIEWPORT_BIT
  70. const GLbitfield GL_TRANSFORM_BIT
  71. const GLbitfield GL_ENABLE_BIT
  72. const GLbitfield GL_COLOR_BUFFER_BIT
  73. const GLbitfield GL_HINT_BIT
  74. const GLbitfield GL_EVAL_BIT
  75. const GLbitfield GL_LIST_BIT
  76. const GLbitfield GL_TEXTURE_BIT
  77. const GLbitfield GL_SCISSOR_BIT

  78. const GLenum GL_ALL_ATTRIB_BITS
  79. const GLenum GL_POINTS
  80. const GLenum GL_LINES
  81. const GLenum GL_LINE_LOOP
  82. const GLenum GL_LINE_STRIP
  83. const GLenum GL_TRIANGLES
  84. const GLenum GL_TRIANGLE_STRIP
  85. const GLenum GL_TRIANGLE_FAN
  86. const GLenum GL_QUADS
  87. const GLenum GL_QUAD_STRIP
  88. const GLenum GL_POLYGON
  89. const GLenum GL_ZERO
  90. const GLenum GL_ONE
  91. const GLenum GL_SRC_COLOR
  92. const GLenum GL_ONE_MINUS_SRC_COLOR
  93. const GLenum GL_SRC_ALPHA
  94. const GLenum GL_ONE_MINUS_SRC_ALPHA
  95. const GLenum GL_DST_ALPHA
  96. const GLenum GL_ONE_MINUS_DST_ALPHA
  97. const GLenum GL_DST_COLOR
  98. const GLenum GL_ONE_MINUS_DST_COLOR
  99. const GLenum GL_SRC_ALPHA_SATURATE
  100. const GLenum GL_TRUE
  101. const GLenum GL_FALSE
  102. const GLenum GL_CLIP_PLANE0
  103. const GLenum GL_CLIP_PLANE1
  104. const GLenum GL_CLIP_PLANE2
  105. const GLenum GL_CLIP_PLANE3
  106. const GLenum GL_CLIP_PLANE4
  107. const GLenum GL_CLIP_PLANE5
  108. const GLenum GL_BYTE
  109. const GLenum GL_UNSIGNED_BYTE
  110. const GLenum GL_SHORT
  111. const GLenum GL_UNSIGNED_SHORT
  112. const GLenum GL_INT
  113. const GLenum GL_UNSIGNED_INT
  114. const GLenum GL_FLOAT
  115. const GLenum GL_2_BYTES
  116. const GLenum GL_3_BYTES
  117. const GLenum GL_4_BYTES
  118. const GLenum GL_DOUBLE
  119. const GLenum GL_NONE
  120. const GLenum GL_FRONT_LEFT
  121. const GLenum GL_FRONT_RIGHT
  122. const GLenum GL_BACK_LEFT
  123. const GLenum GL_BACK_RIGHT
  124. const GLenum GL_FRONT
  125. const GLenum GL_BACK
  126. const GLenum GL_LEFT
  127. const GLenum GL_RIGHT
  128. const GLenum GL_FRONT_AND_BACK
  129. const GLenum GL_AUX0
  130. const GLenum GL_AUX1
  131. const GLenum GL_AUX2
  132. const GLenum GL_AUX3
  133. const GLenum GL_NO_ERROR
  134. const GLenum GL_INVALID_ENUM
  135. const GLenum GL_INVALID_VALUE
  136. const GLenum GL_INVALID_OPERATION
  137. const GLenum GL_STACK_OVERFLOW
  138. const GLenum GL_STACK_UNDERFLOW
  139. const GLenum GL_OUT_OF_MEMORY
  140. const GLenum GL_2D
  141. const GLenum GL_3D
  142. const GLenum GL_3D_COLOR
  143. const GLenum GL_3D_COLOR_TEXTURE
  144. const GLenum GL_4D_COLOR_TEXTURE
  145. const GLenum GL_PASS_THROUGH_TOKEN
  146. const GLenum GL_POINT_TOKEN
  147. const GLenum GL_LINE_TOKEN
  148. const GLenum GL_POLYGON_TOKEN
  149. const GLenum GL_BITMAP_TOKEN
  150. const GLenum GL_DRAW_PIXEL_TOKEN
  151. const GLenum GL_COPY_PIXEL_TOKEN
  152. const GLenum GL_LINE_RESET_TOKEN
  153. const GLenum GL_EXP
  154. const GLenum GL_EXP2
  155. const GLenum GL_CW
  156. const GLenum GL_CCW
  157. const GLenum GL_COEFF
  158. const GLenum GL_ORDER
  159. const GLenum GL_DOMAIN
  160. const GLenum GL_CURRENT_COLOR
  161. const GLenum GL_CURRENT_INDEX
  162. const GLenum GL_CURRENT_NORMAL
  163. const GLenum GL_CURRENT_TEXTURE_COORDS
  164. const GLenum GL_CURRENT_RASTER_COLOR
  165. const GLenum GL_CURRENT_RASTER_INDEX
  166. const GLenum GL_CURRENT_RASTER_TEXTURE_COORDS
  167. const GLenum GL_CURRENT_RASTER_POSITION
  168. const GLenum GL_CURRENT_RASTER_POSITION_VALID
  169. const GLenum GL_CURRENT_RASTER_DISTANCE
  170. const GLenum GL_POINT_SMOOTH
  171. const GLenum GL_POINT_SIZE
  172. const GLenum GL_POINT_SIZE_RANGE
  173. const GLenum GL_POINT_SIZE_GRANULARITY
  174. const GLenum GL_LINE_SMOOTH
  175. const GLenum GL_LINE_WIDTH
  176. const GLenum GL_LINE_WIDTH_RANGE
  177. const GLenum GL_LINE_WIDTH_GRANULARITY
  178. const GLenum GL_LINE_STIPPLE
  179. const GLenum GL_LINE_STIPPLE_PATTERN
  180. const GLenum GL_LINE_STIPPLE_REPEAT
  181. const GLenum GL_LIST_MODE
  182. const GLenum GL_MAX_LIST_NESTING
  183. const GLenum GL_LIST_BASE
  184. const GLenum GL_LIST_INDEX
  185. const GLenum GL_POLYGON_MODE
  186. const GLenum GL_POLYGON_SMOOTH
  187. const GLenum GL_POLYGON_STIPPLE
  188. const GLenum GL_EDGE_FLAG
  189. const GLenum GL_CULL_FACE
  190. const GLenum GL_CULL_FACE_MODE
  191. const GLenum GL_FRONT_FACE
  192. const GLenum GL_LIGHTING
  193. const GLenum GL_LIGHT_MODEL_LOCAL_VIEWER
  194. const GLenum GL_LIGHT_MODEL_TWO_SIDE
  195. const GLenum GL_LIGHT_MODEL_AMBIENT
  196. const GLenum GL_SHADE_MODEL
  197. const GLenum GL_COLOR_MATERIAL_FACE
  198. const GLenum GL_COLOR_MATERIAL_PARAMETER
  199. const GLenum GL_COLOR_MATERIAL
  200. const GLenum GL_FOG
  201. const GLenum GL_FOG_INDEX
  202. const GLenum GL_FOG_DENSITY
  203. const GLenum GL_FOG_START
  204. const GLenum GL_FOG_END
  205. const GLenum GL_FOG_MODE
  206. const GLenum GL_FOG_COLOR
  207. const GLenum GL_DEPTH_RANGE
  208. const GLenum GL_DEPTH_TEST
  209. const GLenum GL_DEPTH_WRITEMASK
  210. const GLenum GL_DEPTH_CLEAR_VALUE
  211. const GLenum GL_DEPTH_FUNC
  212. const GLenum GL_ACCUM_CLEAR_VALUE
  213. const GLenum GL_STENCIL_TEST
  214. const GLenum GL_STENCIL_CLEAR_VALUE
  215. const GLenum GL_STENCIL_FUNC
  216. const GLenum GL_STENCIL_VALUE_MASK
  217. const GLenum GL_STENCIL_FAIL
  218. const GLenum GL_STENCIL_PASS_DEPTH_FAIL
  219. const GLenum GL_STENCIL_PASS_DEPTH_PASS
  220. const GLenum GL_STENCIL_REF
  221. const GLenum GL_STENCIL_WRITEMASK
  222. const GLenum GL_MATRIX_MODE
  223. const GLenum GL_NORMALIZE
  224. const GLenum GL_VIEWPORT
  225. const GLenum GL_MODELVIEW_STACK_DEPTH
  226. const GLenum GL_PROJECTION_STACK_DEPTH
  227. const GLenum GL_TEXTURE_STACK_DEPTH
  228. const GLenum GL_MODELVIEW_MATRIX
  229. const GLenum GL_PROJECTION_MATRIX
  230. const GLenum GL_TEXTURE_MATRIX
  231. const GLenum GL_ATTRIB_STACK_DEPTH
  232. const GLenum GL_CLIENT_ATTRIB_STACK_DEPTH
  233. const GLenum GL_ALPHA_TEST
  234. const GLenum GL_ALPHA_TEST_FUNC
  235. const GLenum GL_ALPHA_TEST_REF
  236. const GLenum GL_DITHER
  237. const GLenum GL_BLEND_DST
  238. const GLenum GL_BLEND_SRC
  239. const GLenum GL_BLEND
  240. const GLenum GL_LOGIC_OP_MODE
  241. const GLenum GL_INDEX_LOGIC_OP
  242. const GLenum GL_COLOR_LOGIC_OP
  243. const GLenum GL_AUX_BUFFERS
  244. const GLenum GL_DRAW_BUFFER
  245. const GLenum GL_READ_BUFFER
  246. const GLenum GL_SCISSOR_BOX
  247. const GLenum GL_SCISSOR_TEST
  248. const GLenum GL_INDEX_CLEAR_VALUE
  249. const GLenum GL_INDEX_WRITEMASK
  250. const GLenum GL_COLOR_CLEAR_VALUE
  251. const GLenum GL_COLOR_WRITEMASK
  252. const GLenum GL_INDEX_MODE
  253. const GLenum GL_RGBA_MODE
  254. const GLenum GL_DOUBLEBUFFER
  255. const GLenum GL_STEREO
  256. const GLenum GL_RENDER_MODE
  257. const GLenum GL_PERSPECTIVE_CORRECTION_HINT
  258. const GLenum GL_POINT_SMOOTH_HINT
  259. const GLenum GL_LINE_SMOOTH_HINT
  260. const GLenum GL_POLYGON_SMOOTH_HINT
  261. const GLenum GL_FOG_HINT
  262. const GLenum GL_TEXTURE_GEN_S
  263. const GLenum GL_TEXTURE_GEN_T
  264. const GLenum GL_TEXTURE_GEN_R
  265. const GLenum GL_TEXTURE_GEN_Q
  266. const GLenum GL_PIXEL_MAP_I_TO_I
  267. const GLenum GL_PIXEL_MAP_S_TO_S
  268. const GLenum GL_PIXEL_MAP_I_TO_R
  269. const GLenum GL_PIXEL_MAP_I_TO_G
  270. const GLenum GL_PIXEL_MAP_I_TO_B
  271. const GLenum GL_PIXEL_MAP_I_TO_A
  272. const GLenum GL_PIXEL_MAP_R_TO_R
  273. const GLenum GL_PIXEL_MAP_G_TO_G
  274. const GLenum GL_PIXEL_MAP_B_TO_B
  275. const GLenum GL_PIXEL_MAP_A_TO_A
  276. const GLenum GL_PIXEL_MAP_I_TO_I_SIZE
  277. const GLenum GL_PIXEL_MAP_S_TO_S_SIZE
  278. const GLenum GL_PIXEL_MAP_I_TO_R_SIZE
  279. const GLenum GL_PIXEL_MAP_I_TO_G_SIZE
  280. const GLenum GL_PIXEL_MAP_I_TO_B_SIZE
  281. const GLenum GL_PIXEL_MAP_I_TO_A_SIZE
  282. const GLenum GL_PIXEL_MAP_R_TO_R_SIZE
  283. const GLenum GL_PIXEL_MAP_G_TO_G_SIZE
  284. const GLenum GL_PIXEL_MAP_B_TO_B_SIZE
  285. const GLenum GL_PIXEL_MAP_A_TO_A_SIZE
  286. const GLenum GL_UNPACK_SWAP_BYTES
  287. const GLenum GL_UNPACK_LSB_FIRST
  288. const GLenum GL_UNPACK_ROW_LENGTH
  289. const GLenum GL_UNPACK_SKIP_ROWS
  290. const GLenum GL_UNPACK_SKIP_PIXELS
  291. const GLenum GL_UNPACK_ALIGNMENT
  292. const GLenum GL_PACK_SWAP_BYTES
  293. const GLenum GL_PACK_LSB_FIRST
  294. const GLenum GL_PACK_ROW_LENGTH
  295. const GLenum GL_PACK_SKIP_ROWS
  296. const GLenum GL_PACK_SKIP_PIXELS
  297. const GLenum GL_PACK_ALIGNMENT
  298. const GLenum GL_MAP_COLOR
  299. const GLenum GL_MAP_STENCIL
  300. const GLenum GL_INDEX_SHIFT
  301. const GLenum GL_INDEX_OFFSET
  302. const GLenum GL_RED_SCALE
  303. const GLenum GL_RED_BIAS
  304. const GLenum GL_ZOOM_X
  305. const GLenum GL_ZOOM_Y
  306. const GLenum GL_GREEN_SCALE
  307. const GLenum GL_GREEN_BIAS
  308. const GLenum GL_BLUE_SCALE
  309. const GLenum GL_BLUE_BIAS
  310. const GLenum GL_ALPHA_SCALE
  311. const GLenum GL_ALPHA_BIAS
  312. const GLenum GL_DEPTH_SCALE
  313. const GLenum GL_DEPTH_BIAS
  314. const GLenum GL_MAX_EVAL_ORDER
  315. const GLenum GL_MAX_LIGHTS
  316. const GLenum GL_MAX_CLIP_PLANES
  317. const GLenum GL_MAX_TEXTURE_SIZE
  318. const GLenum GL_MAX_PIXEL_MAP_TABLE
  319. const GLenum GL_MAX_ATTRIB_STACK_DEPTH
  320. const GLenum GL_MAX_MODELVIEW_STACK_DEPTH
  321. const GLenum GL_MAX_NAME_STACK_DEPTH
  322. const GLenum GL_MAX_PROJECTION_STACK_DEPTH
  323. const GLenum GL_MAX_TEXTURE_STACK_DEPTH
  324. const GLenum GL_MAX_VIEWPORT_DIMS
  325. const GLenum GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
  326. const GLenum GL_SUBPIXEL_BITS
  327. const GLenum GL_INDEX_BITS
  328. const GLenum GL_RED_BITS
  329. const GLenum GL_GREEN_BITS
  330. const GLenum GL_BLUE_BITS
  331. const GLenum GL_ALPHA_BITS
  332. const GLenum GL_DEPTH_BITS
  333. const GLenum GL_STENCIL_BITS
  334. const GLenum GL_ACCUM_RED_BITS
  335. const GLenum GL_ACCUM_GREEN_BITS
  336. const GLenum GL_ACCUM_BLUE_BITS
  337. const GLenum GL_ACCUM_ALPHA_BITS
  338. const GLenum GL_NAME_STACK_DEPTH
  339. const GLenum GL_AUTO_NORMAL
  340. const GLenum GL_MAP1_COLOR_4
  341. const GLenum GL_MAP1_INDEX
  342. const GLenum GL_MAP1_NORMAL
  343. const GLenum GL_MAP1_TEXTURE_COORD_1
  344. const GLenum GL_MAP1_TEXTURE_COORD_2
  345. const GLenum GL_MAP1_TEXTURE_COORD_3
  346. const GLenum GL_MAP1_TEXTURE_COORD_4
  347. const GLenum GL_MAP1_VERTEX_3
  348. const GLenum GL_MAP1_VERTEX_4
  349. const GLenum GL_MAP2_COLOR_4
  350. const GLenum GL_MAP2_INDEX
  351. const GLenum GL_MAP2_NORMAL
  352. const GLenum GL_MAP2_TEXTURE_COORD_1
  353. const GLenum GL_MAP2_TEXTURE_COORD_2
  354. const GLenum GL_MAP2_TEXTURE_COORD_3
  355. const GLenum GL_MAP2_TEXTURE_COORD_4
  356. const GLenum GL_MAP2_VERTEX_3
  357. const GLenum GL_MAP2_VERTEX_4
  358. const GLenum GL_MAP1_GRID_DOMAIN
  359. const GLenum GL_MAP1_GRID_SEGMENTS
  360. const GLenum GL_MAP2_GRID_DOMAIN
  361. const GLenum GL_MAP2_GRID_SEGMENTS
  362. const GLenum GL_TEXTURE_1D
  363. const GLenum GL_TEXTURE_2D
  364. const GLenum GL_FEEDBACK_BUFFER_POINTER
  365. const GLenum GL_FEEDBACK_BUFFER_SIZE
  366. const GLenum GL_FEEDBACK_BUFFER_TYPE
  367. const GLenum GL_SELECTION_BUFFER_POINTER
  368. const GLenum GL_SELECTION_BUFFER_SIZE
  369. const GLenum GL_TEXTURE_WIDTH
  370. const GLenum GL_TEXTURE_HEIGHT
  371. const GLenum GL_TEXTURE_INTERNAL_FORMAT
  372. const GLenum GL_TEXTURE_BORDER_COLOR
  373. const GLenum GL_TEXTURE_BORDER
  374. const GLenum GL_DONT_CARE
  375. const GLenum GL_FASTEST
  376. const GLenum GL_NICEST
  377. const GLenum GL_LIGHT0
  378. const GLenum GL_LIGHT1
  379. const GLenum GL_LIGHT2
  380. const GLenum GL_LIGHT3
  381. const GLenum GL_LIGHT4
  382. const GLenum GL_LIGHT5
  383. const GLenum GL_LIGHT6
  384. const GLenum GL_LIGHT7
  385. const GLenum GL_AMBIENT
  386. const GLenum GL_DIFFUSE
  387. const GLenum GL_SPECULAR
  388. const GLenum GL_POSITION
  389. const GLenum GL_SPOT_DIRECTION
  390. const GLenum GL_SPOT_EXPONENT
  391. const GLenum GL_SPOT_CUTOFF
  392. const GLenum GL_CONSTANT_ATTENUATION
  393. const GLenum GL_LINEAR_ATTENUATION
  394. const GLenum GL_QUADRATIC_ATTENUATION
  395. const GLenum GL_COMPILE
  396. const GLenum GL_COMPILE_AND_EXECUTE
  397. const GLenum GL_CLEAR
  398. const GLenum GL_AND
  399. const GLenum GL_AND_REVERSE
  400. const GLenum GL_COPY
  401. const GLenum GL_AND_INVERTED
  402. const GLenum GL_NOOP
  403. const GLenum GL_XOR
  404. const GLenum GL_OR
  405. const GLenum GL_NOR
  406. const GLenum GL_EQUIV
  407. const GLenum GL_INVERT
  408. const GLenum GL_OR_REVERSE
  409. const GLenum GL_COPY_INVERTED
  410. const GLenum GL_OR_INVERTED
  411. const GLenum GL_NAND
  412. const GLenum GL_SET
  413. const GLenum GL_EMISSION
  414. const GLenum GL_SHININESS
  415. const GLenum GL_AMBIENT_AND_DIFFUSE
  416. const GLenum GL_COLOR_INDEXES
  417. const GLenum GL_MODELVIEW
  418. const GLenum GL_PROJECTION
  419. const GLenum GL_TEXTURE
  420. const GLenum GL_COLOR
  421. const GLenum GL_DEPTH
  422. const GLenum GL_STENCIL
  423. const GLenum GL_COLOR_INDEX
  424. const GLenum GL_STENCIL_INDEX
  425. const GLenum GL_DEPTH_COMPONENT
  426. const GLenum GL_RED
  427. const GLenum GL_GREEN
  428. const GLenum GL_BLUE
  429. const GLenum GL_ALPHA
  430. const GLenum GL_RGB
  431. const GLenum GL_RGBA
  432. const GLenum GL_LUMINANCE
  433. const GLenum GL_LUMINANCE_ALPHA
  434. const GLenum GL_BITMAP
  435. const GLenum GL_POINT
  436. const GLenum GL_LINE
  437. const GLenum GL_FILL
  438. const GLenum GL_RENDER
  439. const GLenum GL_FEEDBACK
  440. const GLenum GL_SELECT
  441. const GLenum GL_FLAT
  442. const GLenum GL_SMOOTH
  443. const GLenum GL_KEEP
  444. const GLenum GL_REPLACE
  445. const GLenum GL_INCR
  446. const GLenum GL_DECR
  447. const GLenum GL_VENDOR
  448. const GLenum GL_RENDERER
  449. const GLenum GL_VERSION
  450. const GLenum GL_EXTENSIONS
  451. const GLenum GL_S
  452. const GLenum GL_T
  453. const GLenum GL_R
  454. const GLenum GL_Q
  455. const GLenum GL_MODULATE
  456. const GLenum GL_DECAL
  457. const GLenum GL_TEXTURE_ENV_MODE
  458. const GLenum GL_TEXTURE_ENV_COLOR
  459. const GLenum GL_TEXTURE_ENV
  460. const GLenum GL_EYE_LINEAR
  461. const GLenum GL_OBJECT_LINEAR
  462. const GLenum GL_SPHERE_MAP
  463. const GLenum GL_TEXTURE_GEN_MODE
  464. const GLenum GL_OBJECT_PLANE
  465. const GLenum GL_EYE_PLANE
  466. const GLenum GL_NEAREST
  467. const GLenum GL_LINEAR
  468. const GLenum GL_NEAREST_MIPMAP_NEAREST
  469. const GLenum GL_LINEAR_MIPMAP_NEAREST
  470. const GLenum GL_NEAREST_MIPMAP_LINEAR
  471. const GLenum GL_LINEAR_MIPMAP_LINEAR
  472. const GLenum GL_TEXTURE_MAG_FILTER
  473. const GLenum GL_TEXTURE_MIN_FILTER
  474. const GLenum GL_TEXTURE_WRAP_S
  475. const GLenum GL_TEXTURE_WRAP_T
  476. const GLenum GL_CLAMP
  477. const GLenum GL_REPEAT
  478. const GLbitfield GL_CLIENT_PIXEL_STORE_BIT
  479. const GLbitfield GL_CLIENT_VERTEX_ARRAY_BIT
  480. const GLenum GL_CLIENT_ALL_ATTRIB_BITS
  481. const GLenum GL_POLYGON_OFFSET_FACTOR
  482. const GLenum GL_POLYGON_OFFSET_UNITS
  483. const GLenum GL_POLYGON_OFFSET_POINT
  484. const GLenum GL_POLYGON_OFFSET_LINE
  485. const GLenum GL_POLYGON_OFFSET_FILL
  486. const GLenum GL_ALPHA4
  487. const GLenum GL_ALPHA8
  488. const GLenum GL_ALPHA12
  489. const GLenum GL_ALPHA16
  490. const GLenum GL_LUMINANCE4
  491. const GLenum GL_LUMINANCE8
  492. const GLenum GL_LUMINANCE12
  493. const GLenum GL_LUMINANCE16
  494. const GLenum GL_LUMINANCE4_ALPHA4
  495. const GLenum GL_LUMINANCE6_ALPHA2
  496. const GLenum GL_LUMINANCE8_ALPHA8
  497. const GLenum GL_LUMINANCE12_ALPHA4
  498. const GLenum GL_LUMINANCE12_ALPHA12
  499. const GLenum GL_LUMINANCE16_ALPHA16
  500. const GLenum GL_INTENSITY
  501. const GLenum GL_INTENSITY4
  502. const GLenum GL_INTENSITY8
  503. const GLenum GL_INTENSITY12
  504. const GLenum GL_INTENSITY16
  505. const GLenum GL_R3_G3_B2
  506. const GLenum GL_RGB4
  507. const GLenum GL_RGB5
  508. const GLenum GL_RGB8
  509. const GLenum GL_RGB10
  510. const GLenum GL_RGB12
  511. const GLenum GL_RGB16
  512. const GLenum GL_RGBA2
  513. const GLenum GL_RGBA4
  514. const GLenum GL_RGB5_A1
  515. const GLenum GL_RGBA8
  516. const GLenum GL_RGB10_A2
  517. const GLenum GL_RGBA12
  518. const GLenum GL_RGBA16
  519. const GLenum GL_TEXTURE_RED_SIZE
  520. const GLenum GL_TEXTURE_GREEN_SIZE
  521. const GLenum GL_TEXTURE_BLUE_SIZE
  522. const GLenum GL_TEXTURE_ALPHA_SIZE
  523. const GLenum GL_TEXTURE_LUMINANCE_SIZE
  524. const GLenum GL_TEXTURE_INTENSITY_SIZE
  525. const GLenum GL_PROXY_TEXTURE_1D
  526. const GLenum GL_PROXY_TEXTURE_2D
  527. const GLenum GL_TEXTURE_PRIORITY
  528. const GLenum GL_TEXTURE_RESIDENT
  529. const GLenum GL_TEXTURE_BINDING_1D
  530. const GLenum GL_TEXTURE_BINDING_2D
  531. const GLenum GL_VERTEX_ARRAY
  532. const GLenum GL_NORMAL_ARRAY
  533. const GLenum GL_COLOR_ARRAY
  534. const GLenum GL_INDEX_ARRAY
  535. const GLenum GL_TEXTURE_COORD_ARRAY
  536. const GLenum GL_EDGE_FLAG_ARRAY
  537. const GLenum GL_VERTEX_ARRAY_SIZE
  538. const GLenum GL_VERTEX_ARRAY_TYPE
  539. const GLenum GL_VERTEX_ARRAY_STRIDE
  540. const GLenum GL_NORMAL_ARRAY_TYPE
  541. const GLenum GL_NORMAL_ARRAY_STRIDE
  542. const GLenum GL_COLOR_ARRAY_SIZE
  543. const GLenum GL_COLOR_ARRAY_TYPE
  544. const GLenum GL_COLOR_ARRAY_STRIDE
  545. const GLenum GL_INDEX_ARRAY_TYPE
  546. const GLenum GL_INDEX_ARRAY_STRIDE
  547. const GLenum GL_TEXTURE_COORD_ARRAY_SIZE
  548. const GLenum GL_TEXTURE_COORD_ARRAY_TYPE
  549. const GLenum GL_TEXTURE_COORD_ARRAY_STRIDE
  550. const GLenum GL_EDGE_FLAG_ARRAY_STRIDE
  551. const GLenum GL_VERTEX_ARRAY_POINTER
  552. const GLenum GL_NORMAL_ARRAY_POINTER
  553. const GLenum GL_COLOR_ARRAY_POINTER
  554. const GLenum GL_INDEX_ARRAY_POINTER
  555. const GLenum GL_TEXTURE_COORD_ARRAY_POINTER
  556. const GLenum GL_EDGE_FLAG_ARRAY_POINTER
  557. const GLenum GL_V2F
  558. const GLenum GL_V3F
  559. const GLenum GL_C4UB_V2F
  560. const GLenum GL_C4UB_V3F
  561. const GLenum GL_C3F_V3F
  562. const GLenum GL_N3F_V3F
  563. const GLenum GL_C4F_N3F_V3F
  564. const GLenum GL_T2F_V3F
  565. const GLenum GL_T4F_V4F
  566. const GLenum GL_T2F_C4UB_V3F
  567. const GLenum GL_T2F_C3F_V3F
  568. const GLenum GL_T2F_N3F_V3F
  569. const GLenum GL_T2F_C4F_N3F_V3F
  570. const GLenum GL_T4F_C4F_N3F_V4F
  571. const GLenum GL_EXT_vertex_array
  572. const GLenum GL_EXT_bgra
  573. const GLenum GL_EXT_paletted_texture
  574. const GLenum GL_VERTEX_ARRAY_EXT
  575. const GLenum GL_NORMAL_ARRAY_EXT
  576. const GLenum GL_COLOR_ARRAY_EXT
  577. const GLenum GL_INDEX_ARRAY_EXT
  578. const GLenum GL_TEXTURE_COORD_ARRAY_EXT
  579. const GLenum GL_EDGE_FLAG_ARRAY_EXT
  580. const GLenum GL_VERTEX_ARRAY_SIZE_EXT
  581. const GLenum GL_VERTEX_ARRAY_TYPE_EXT
  582. const GLenum GL_VERTEX_ARRAY_STRIDE_EXT
  583. const GLenum GL_VERTEX_ARRAY_COUNT_EXT
  584. const GLenum GL_NORMAL_ARRAY_TYPE_EXT
  585. const GLenum GL_NORMAL_ARRAY_STRIDE_EXT
  586. const GLenum GL_NORMAL_ARRAY_COUNT_EXT
  587. const GLenum GL_COLOR_ARRAY_SIZE_EXT
  588. const GLenum GL_COLOR_ARRAY_TYPE_EXT
  589. const GLenum GL_COLOR_ARRAY_STRIDE_EXT
  590. const GLenum GL_COLOR_ARRAY_COUNT_EXT
  591. const GLenum GL_INDEX_ARRAY_TYPE_EXT
  592. const GLenum GL_INDEX_ARRAY_STRIDE_EXT
  593. const GLenum GL_INDEX_ARRAY_COUNT_EXT
  594. const GLenum GL_TEXTURE_COORD_ARRAY_SIZE_EXT
  595. const GLenum GL_TEXTURE_COORD_ARRAY_TYPE_EXT
  596. const GLenum GL_TEXTURE_COORD_ARRAY_STRIDE_EXT
  597. const GLenum GL_TEXTURE_COORD_ARRAY_COUNT_EXT
  598. const GLenum GL_EDGE_FLAG_ARRAY_STRIDE_EXT
  599. const GLenum GL_EDGE_FLAG_ARRAY_COUNT_EXT
  600. const GLenum GL_VERTEX_ARRAY_POINTER_EXT
  601. const GLenum GL_NORMAL_ARRAY_POINTER_EXT
  602. const GLenum GL_COLOR_ARRAY_POINTER_EXT
  603. const GLenum GL_INDEX_ARRAY_POINTER_EXT
  604. const GLenum GL_TEXTURE_COORD_ARRAY_POINTER_EXT
  605. const GLenum GL_EDGE_FLAG_ARRAY_POINTER_EXT
  606. const GLenum GL_BGR_EXT
  607. const GLenum GL_BGRA_EXT
  608. const GLenum GL_COLOR_INDEX1_EXT
  609. const GLenum GL_COLOR_INDEX2_EXT
  610. const GLenum GL_COLOR_INDEX4_EXT
  611. const GLenum GL_COLOR_INDEX8_EXT
  612. const GLenum GL_COLOR_INDEX12_EXT
  613. const GLenum GL_COLOR_INDEX16_EXT
  614. const GLenum GL_LOGIC_OP
  615. const GLenum GL_TEXTURE_COMPONENTS

  616. 3. Functions (gl*)

  617. These are the actual API calls. Broad categories:

  618. a) Drawing:
  619. glBegin, glEnd, glVertex* → (old immediate mode).
  620. glDrawArrays, glDrawBuffer → (newer, uses arrays).

  621. b) State Control:
  622. glEnable, glDisable → turn features on/off (e.g., GL_DEPTH_TEST).
  623. glCullFace, glFrontFace, glPolygonMode → control polygon rendering.

  624. c) Colors and Materials:
  625. glColor3f, glColor4f → set colors.
  626. glMaterial*, glLight* → set material and light properties.

  627. d) Matrices and Transformations:
  628. glMatrixMode, glLoadIdentity, glTranslatef, glRotatef, glScalef, glFrustum, glOrtho → transformations and projections.

  629. e) Buffers:
  630. glClear, glClearColor, glClearDepth, glClearStencil → clear frame/depth/stencil.
  631. glViewport → set rendering area.

  632. f) Textures:
  633. glBindTexture, glTexImage*, glTexParameteri, glTexCoord* → texture setup and mapping.

  634. g) Fog, Blending, Depth:
  635. glFog*, glBlendFunc, glDepthFunc, glDepthMask → environment and transparency control.

  636. h) Queries and Errors:
  637. glGetError, glIsEnabled, glIsTexture → query OpenGL state.

  638. void glAccum (GLenum op, GLfloat value)
  639. void glAlphaFunc (GLenum func, GLclampf ref)
  640. void glArrayElement (GLint i)
  641. void glBegin (GLenum mode)
  642. void glBindTexture (GLenum target, GLuint texture)
  643. void glBlendFunc (GLenum sfactor, GLenum dfactor)
  644. void glCallList (GLuint list)
  645. void glClear (GLbitfield mask)
  646. void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
  647. void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
  648. void glClearDepth (GLclampd depth)
  649. void glClearIndex (GLfloat c)
  650. void glClearStencil (GLint s)
  651. void glColor3b (GLbyte red, GLbyte green, GLbyte blue)
  652. void glColor3d (GLdouble red, GLdouble green, GLdouble blue)
  653. void glColor3f (GLfloat red, GLfloat green, GLfloat blue)
  654. void glColor3i (GLint red, GLint green, GLint blue)
  655. void glColor3s (GLshort red, GLshort green, GLshort blue)
  656. void glColor3ub (GLubyte red, GLubyte green, GLubyte blue)
  657. void glColor3ui (GLuint red, GLuint green, GLuint blue)
  658. void glColor3us (GLushort red, GLushort green, GLushort blue)
  659. void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
  660. void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
  661. void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
  662. void glColor4i (GLint red, GLint green, GLint blue, GLint alpha)
  663. void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha)
  664. void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
  665. void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha)
  666. void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha)
  667. void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
  668. void glColorMaterial (GLenum face, GLenum mode)
  669. void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
  670. void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
  671. void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
  672. void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
  673. void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
  674. void glCullFace (GLenum mode)
  675. void glDeleteLists (GLuint list, GLsizei range)
  676. void glDepthFunc (GLenum func)
  677. void glDepthMask (GLboolean flag)
  678. void glDepthRange (GLclampd zNear, GLclampd zFar)
  679. void glDisable (GLenum cap)
  680. void glDisableClientState (GLenum array)
  681. void glDrawArrays (GLenum mode, GLint first, GLsizei count)
  682. void glDrawBuffer (GLenum mode)
  683. void glEdgeFlag (GLboolean flag)
  684. void glEnable (GLenum cap)
  685. void glEnableClientState (GLenum array)
  686. void glEnd (void)
  687. void glEndList (void)
  688. void glEvalCoord1d (GLdouble u)
  689. void glEvalCoord1f (GLfloat u)
  690. void glEvalCoord2d (GLdouble u, GLdouble v)
  691. void glEvalCoord2f (GLfloat u, GLfloat v)
  692. void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
  693. void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
  694. void glEvalPoint1 (GLint i)
  695. void glEvalPoint2 (GLint i, GLint j)
  696. void glFinish (void)
  697. void glFlush (void)
  698. void glFogf (GLenum pname, GLfloat param)
  699. void glFogi (GLenum pname, GLint param)
  700. void glFrontFace (GLenum mode)
  701. void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
  702. GLuint glGenLists (GLsizei range)
  703. GLenum glGetError (void)
  704. void glHint (GLenum target, GLenum mode)
  705. void glIndexMask (GLuint mask)
  706. void glIndexd (GLdouble c)
  707. void glIndexf (GLfloat c)
  708. void glIndexi (GLint c)
  709. void glIndexs (GLshort c)
  710. void glIndexub (GLubyte c)
  711. void glInitNames (void)
  712. GLboolean glIsEnabled (GLenum cap)
  713. GLboolean glIsList (GLuint list)
  714. GLboolean glIsTexture (GLuint texture)
  715. void glLightModelf (GLenum pname, GLfloat param)
  716. void glLightModeli (GLenum pname, GLint param)
  717. void glLightf (GLenum light, GLenum pname, GLfloat param)
  718. void glLighti (GLenum light, GLenum pname, GLint param)
  719. void glLineStipple (GLint factor, GLushort pattern)
  720. void glLineWidth (GLfloat width)
  721. void glListBase (GLuint base)
  722. void glLoadIdentity (void)
  723. void glLoadName (GLuint name)
  724. void glLogicOp (GLenum opcode)
  725. void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
  726. void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
  727. void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
  728. void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
  729. void glMaterialf (GLenum face, GLenum pname, GLfloat param)
  730. void glMateriali (GLenum face, GLenum pname, GLint param)
  731. void glMatrixMode (GLenum mode)
  732. void glNewList (GLuint list, GLenum mode)
  733. void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
  734. void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
  735. void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
  736. void glNormal3i (GLint nx, GLint ny, GLint nz)
  737. void glNormal3s (GLshort nx, GLshort ny, GLshort nz)
  738. void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
  739. void glPassThrough (GLfloat token)
  740. void glPixelStoref (GLenum pname, GLfloat param)
  741. void glPixelStorei (GLenum pname, GLint param)
  742. void glPixelTransferf (GLenum pname, GLfloat param)
  743. void glPixelTransferi (GLenum pname, GLint param)
  744. void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
  745. void glPointSize (GLfloat size)
  746. void glPolygonMode (GLenum face, GLenum mode)
  747. void glPolygonOffset (GLfloat factor, GLfloat units)
  748. void glPopAttrib (void)
  749. void glPopClientAttrib (void)
  750. void glPopMatrix (void)
  751. void glPopName (void)
  752. void glPushAttrib (GLbitfield mask)
  753. void glPushClientAttrib (GLbitfield mask)
  754. void glPushMatrix (void)
  755. void glPushName (GLuint name)
  756. void glRasterPos2d (GLdouble x, GLdouble y)
  757. void glRasterPos2f (GLfloat x, GLfloat y)
  758. void glRasterPos2i (GLint x, GLint y)
  759. void glRasterPos2s (GLshort x, GLshort y)
  760. void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
  761. void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
  762. void glRasterPos3i (GLint x, GLint y, GLint z)
  763. void glRasterPos3s (GLshort x, GLshort y, GLshort z)
  764. void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
  765. void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
  766. void glRasterPos4i (GLint x, GLint y, GLint z, GLint w)
  767. void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
  768. void glReadBuffer (GLenum mode)
  769. void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
  770. void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
  771. void glRecti (GLint x1, GLint y1, GLint x2, GLint y2)
  772. void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
  773. GLint glRenderMode (GLenum mode)
  774. void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
  775. void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
  776. void glScaled (GLdouble x, GLdouble y, GLdouble z)
  777. void glScalef (GLfloat x, GLfloat y, GLfloat z)
  778. void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
  779. void glShadeModel (GLenum mode)
  780. void glStencilFunc (GLenum func, GLint ref, GLuint mask)
  781. void glStencilMask (GLuint mask)
  782. void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
  783. void glTexCoord1d (GLdouble s)
  784. void glTexCoord1f (GLfloat s)
  785. void glTexCoord1i (GLint s)
  786. void glTexCoord1s (GLshort s)
  787. void glTexCoord2d (GLdouble s, GLdouble t)
  788. void glTexCoord2f (GLfloat s, GLfloat t)
  789. void glTexCoord2i (GLint s, GLint t)
  790. void glTexCoord2s (GLshort s, GLshort t)
  791. void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
  792. void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
  793. void glTexCoord3i (GLint s, GLint t, GLint r)
  794. void glTexCoord3s (GLshort s, GLshort t, GLshort r)
  795. void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
  796. void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
  797. void glTexCoord4i (GLint s, GLint t, GLint r, GLint q)
  798. void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
  799. void glTexEnvf (GLenum target, GLenum pname, GLfloat param)
  800. void glTexEnvi (GLenum target, GLenum pname, GLint param)
  801. void glTexGend (GLenum coord, GLenum pname, GLdouble param)
  802. void glTexGenf (GLenum coord, GLenum pname, GLfloat param)
  803. void glTexGeni (GLenum coord, GLenum pname, GLint param)
  804. void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
  805. void glTexParameteri (GLenum target, GLenum pname, GLint param)
  806. void glTranslated (GLdouble x, GLdouble y, GLdouble z)
  807. void glTranslatef (GLfloat x, GLfloat y, GLfloat z)
  808. void glVertex2d (GLdouble x, GLdouble y)
  809. void glVertex2f (GLfloat x, GLfloat y)
  810. void glVertex2i (GLint x, GLint y)
  811. void glVertex2s (GLshort x, GLshort y)
  812. void glVertex3d (GLdouble x, GLdouble y, GLdouble z)
  813. void glVertex3f (GLfloat x, GLfloat y, GLfloat z)
  814. void glVertex3i (GLint x, GLint y, GLint z)
  815. void glVertex3s (GLshort x, GLshort y, GLshort z)
  816. void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
  817. void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
  818. void glVertex4i (GLint x, GLint y, GLint z, GLint w)
  819. void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w)
  820. void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
  821. void glLightfv(GLenum light, GLenum pname, const array<GLfloat> )
  822. void glLightiv(GLenum light, GLenum pname, const array<GLint> )
  823. void glMaterialfv(GLenum light, GLenum pname, const array<GLfloat> )
  824. void glMaterialiv(GLenum light, GLenum pname, const array<GLint> )

Comments

Please, authorize to view and post comments.

2020 - 2026 © Site by LetiMix · Donate  |  Plug'n Script and KUIML by Blue Cat Audio