1 /* dstep /path/to/ndk-r9d/platforms/android-9/arch-x86/usr/include/GLES2/gl2.h -o gl2.d*/ 2 3 module GLES2.gl2; 4 5 import core.stdc.config; 6 7 version (Android): 8 extern (C): 9 @system: 10 nothrow: 11 @nogc: 12 13 alias void GLvoid; 14 alias char GLchar; 15 alias uint GLenum; 16 alias ubyte GLboolean; 17 alias uint GLbitfield; 18 alias byte GLbyte; 19 alias short GLshort; 20 alias int GLint; 21 alias int GLsizei; 22 alias ubyte GLubyte; 23 alias ushort GLushort; 24 alias uint GLuint; 25 alias float GLfloat; 26 alias float GLclampf; 27 alias int GLfixed; 28 alias c_long GLintptr; 29 alias c_long GLsizeiptr; 30 31 enum GL_ES_VERSION_2_0 = 1; 32 enum GL_DEPTH_BUFFER_BIT = 0x00000100; 33 enum GL_STENCIL_BUFFER_BIT = 0x00000400; 34 enum GL_COLOR_BUFFER_BIT = 0x00004000; 35 enum GL_FALSE = 0; 36 enum GL_TRUE = 1; 37 enum GL_POINTS = 0x0000; 38 enum GL_LINES = 0x0001; 39 enum GL_LINE_LOOP = 0x0002; 40 enum GL_LINE_STRIP = 0x0003; 41 enum GL_TRIANGLES = 0x0004; 42 enum GL_TRIANGLE_STRIP = 0x0005; 43 enum GL_TRIANGLE_FAN = 0x0006; 44 enum GL_ZERO = 0; 45 enum GL_ONE = 1; 46 enum GL_SRC_COLOR = 0x0300; 47 enum GL_ONE_MINUS_SRC_COLOR = 0x0301; 48 enum GL_SRC_ALPHA = 0x0302; 49 enum GL_ONE_MINUS_SRC_ALPHA = 0x0303; 50 enum GL_DST_ALPHA = 0x0304; 51 enum GL_ONE_MINUS_DST_ALPHA = 0x0305; 52 enum GL_DST_COLOR = 0x0306; 53 enum GL_ONE_MINUS_DST_COLOR = 0x0307; 54 enum GL_SRC_ALPHA_SATURATE = 0x0308; 55 enum GL_FUNC_ADD = 0x8006; 56 enum GL_BLEND_EQUATION = 0x8009; 57 enum GL_BLEND_EQUATION_RGB = 0x8009; 58 enum GL_BLEND_EQUATION_ALPHA = 0x883D; 59 enum GL_FUNC_SUBTRACT = 0x800A; 60 enum GL_FUNC_REVERSE_SUBTRACT = 0x800B; 61 enum GL_BLEND_DST_RGB = 0x80C8; 62 enum GL_BLEND_SRC_RGB = 0x80C9; 63 enum GL_BLEND_DST_ALPHA = 0x80CA; 64 enum GL_BLEND_SRC_ALPHA = 0x80CB; 65 enum GL_CONSTANT_COLOR = 0x8001; 66 enum GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; 67 enum GL_CONSTANT_ALPHA = 0x8003; 68 enum GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004; 69 enum GL_BLEND_COLOR = 0x8005; 70 enum GL_ARRAY_BUFFER = 0x8892; 71 enum GL_ELEMENT_ARRAY_BUFFER = 0x8893; 72 enum GL_ARRAY_BUFFER_BINDING = 0x8894; 73 enum GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 74 enum GL_STREAM_DRAW = 0x88E0; 75 enum GL_STATIC_DRAW = 0x88E4; 76 enum GL_DYNAMIC_DRAW = 0x88E8; 77 enum GL_BUFFER_SIZE = 0x8764; 78 enum GL_BUFFER_USAGE = 0x8765; 79 enum GL_CURRENT_VERTEX_ATTRIB = 0x8626; 80 enum GL_FRONT = 0x0404; 81 enum GL_BACK = 0x0405; 82 enum GL_FRONT_AND_BACK = 0x0408; 83 enum GL_TEXTURE_2D = 0x0DE1; 84 enum GL_CULL_FACE = 0x0B44; 85 enum GL_BLEND = 0x0BE2; 86 enum GL_DITHER = 0x0BD0; 87 enum GL_STENCIL_TEST = 0x0B90; 88 enum GL_DEPTH_TEST = 0x0B71; 89 enum GL_SCISSOR_TEST = 0x0C11; 90 enum GL_POLYGON_OFFSET_FILL = 0x8037; 91 enum GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E; 92 enum GL_SAMPLE_COVERAGE = 0x80A0; 93 enum GL_NO_ERROR = 0; 94 enum GL_INVALID_ENUM = 0x0500; 95 enum GL_INVALID_VALUE = 0x0501; 96 enum GL_INVALID_OPERATION = 0x0502; 97 enum GL_OUT_OF_MEMORY = 0x0505; 98 enum GL_CW = 0x0900; 99 enum GL_CCW = 0x0901; 100 enum GL_LINE_WIDTH = 0x0B21; 101 enum GL_ALIASED_POINT_SIZE_RANGE = 0x846D; 102 enum GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; 103 enum GL_CULL_FACE_MODE = 0x0B45; 104 enum GL_FRONT_FACE = 0x0B46; 105 enum GL_DEPTH_RANGE = 0x0B70; 106 enum GL_DEPTH_WRITEMASK = 0x0B72; 107 enum GL_DEPTH_CLEAR_VALUE = 0x0B73; 108 enum GL_DEPTH_FUNC = 0x0B74; 109 enum GL_STENCIL_CLEAR_VALUE = 0x0B91; 110 enum GL_STENCIL_FUNC = 0x0B92; 111 enum GL_STENCIL_FAIL = 0x0B94; 112 enum GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; 113 enum GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; 114 enum GL_STENCIL_REF = 0x0B97; 115 enum GL_STENCIL_VALUE_MASK = 0x0B93; 116 enum GL_STENCIL_WRITEMASK = 0x0B98; 117 enum GL_STENCIL_BACK_FUNC = 0x8800; 118 enum GL_STENCIL_BACK_FAIL = 0x8801; 119 enum GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; 120 enum GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; 121 enum GL_STENCIL_BACK_REF = 0x8CA3; 122 enum GL_STENCIL_BACK_VALUE_MASK = 0x8CA4; 123 enum GL_STENCIL_BACK_WRITEMASK = 0x8CA5; 124 enum GL_VIEWPORT = 0x0BA2; 125 enum GL_SCISSOR_BOX = 0x0C10; 126 enum GL_COLOR_CLEAR_VALUE = 0x0C22; 127 enum GL_COLOR_WRITEMASK = 0x0C23; 128 enum GL_UNPACK_ALIGNMENT = 0x0CF5; 129 enum GL_PACK_ALIGNMENT = 0x0D05; 130 enum GL_MAX_TEXTURE_SIZE = 0x0D33; 131 enum GL_MAX_VIEWPORT_DIMS = 0x0D3A; 132 enum GL_SUBPIXEL_BITS = 0x0D50; 133 enum GL_RED_BITS = 0x0D52; 134 enum GL_GREEN_BITS = 0x0D53; 135 enum GL_BLUE_BITS = 0x0D54; 136 enum GL_ALPHA_BITS = 0x0D55; 137 enum GL_DEPTH_BITS = 0x0D56; 138 enum GL_STENCIL_BITS = 0x0D57; 139 enum GL_POLYGON_OFFSET_UNITS = 0x2A00; 140 enum GL_POLYGON_OFFSET_FACTOR = 0x8038; 141 enum GL_TEXTURE_BINDING_2D = 0x8069; 142 enum GL_SAMPLE_BUFFERS = 0x80A8; 143 enum GL_SAMPLES = 0x80A9; 144 enum GL_SAMPLE_COVERAGE_VALUE = 0x80AA; 145 enum GL_SAMPLE_COVERAGE_INVERT = 0x80AB; 146 enum GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; 147 enum GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3; 148 enum GL_DONT_CARE = 0x1100; 149 enum GL_FASTEST = 0x1101; 150 enum GL_NICEST = 0x1102; 151 enum GL_GENERATE_MIPMAP_HINT = 0x8192; 152 enum GL_BYTE = 0x1400; 153 enum GL_UNSIGNED_BYTE = 0x1401; 154 enum GL_SHORT = 0x1402; 155 enum GL_UNSIGNED_SHORT = 0x1403; 156 enum GL_INT = 0x1404; 157 enum GL_UNSIGNED_INT = 0x1405; 158 enum GL_FLOAT = 0x1406; 159 enum GL_FIXED = 0x140C; 160 enum GL_DEPTH_COMPONENT = 0x1902; 161 enum GL_ALPHA = 0x1906; 162 enum GL_RGB = 0x1907; 163 enum GL_RGBA = 0x1908; 164 enum GL_LUMINANCE = 0x1909; 165 enum GL_LUMINANCE_ALPHA = 0x190A; 166 enum GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033; 167 enum GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034; 168 enum GL_UNSIGNED_SHORT_5_6_5 = 0x8363; 169 enum GL_FRAGMENT_SHADER = 0x8B30; 170 enum GL_VERTEX_SHADER = 0x8B31; 171 enum GL_MAX_VERTEX_ATTRIBS = 0x8869; 172 enum GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; 173 enum GL_MAX_VARYING_VECTORS = 0x8DFC; 174 enum GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; 175 enum GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; 176 enum GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872; 177 enum GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; 178 enum GL_SHADER_TYPE = 0x8B4F; 179 enum GL_DELETE_STATUS = 0x8B80; 180 enum GL_LINK_STATUS = 0x8B82; 181 enum GL_VALIDATE_STATUS = 0x8B83; 182 enum GL_ATTACHED_SHADERS = 0x8B85; 183 enum GL_ACTIVE_UNIFORMS = 0x8B86; 184 enum GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87; 185 enum GL_ACTIVE_ATTRIBUTES = 0x8B89; 186 enum GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A; 187 enum GL_SHADING_LANGUAGE_VERSION = 0x8B8C; 188 enum GL_CURRENT_PROGRAM = 0x8B8D; 189 enum GL_NEVER = 0x0200; 190 enum GL_LESS = 0x0201; 191 enum GL_EQUAL = 0x0202; 192 enum GL_LEQUAL = 0x0203; 193 enum GL_GREATER = 0x0204; 194 enum GL_NOTEQUAL = 0x0205; 195 enum GL_GEQUAL = 0x0206; 196 enum GL_ALWAYS = 0x0207; 197 enum GL_KEEP = 0x1E00; 198 enum GL_REPLACE = 0x1E01; 199 enum GL_INCR = 0x1E02; 200 enum GL_DECR = 0x1E03; 201 enum GL_INVERT = 0x150A; 202 enum GL_INCR_WRAP = 0x8507; 203 enum GL_DECR_WRAP = 0x8508; 204 enum GL_VENDOR = 0x1F00; 205 enum GL_RENDERER = 0x1F01; 206 enum GL_VERSION = 0x1F02; 207 enum GL_EXTENSIONS = 0x1F03; 208 enum GL_NEAREST = 0x2600; 209 enum GL_LINEAR = 0x2601; 210 enum GL_NEAREST_MIPMAP_NEAREST = 0x2700; 211 enum GL_LINEAR_MIPMAP_NEAREST = 0x2701; 212 enum GL_NEAREST_MIPMAP_LINEAR = 0x2702; 213 enum GL_LINEAR_MIPMAP_LINEAR = 0x2703; 214 enum GL_TEXTURE_MAG_FILTER = 0x2800; 215 enum GL_TEXTURE_MIN_FILTER = 0x2801; 216 enum GL_TEXTURE_WRAP_S = 0x2802; 217 enum GL_TEXTURE_WRAP_T = 0x2803; 218 enum GL_TEXTURE = 0x1702; 219 enum GL_TEXTURE_CUBE_MAP = 0x8513; 220 enum GL_TEXTURE_BINDING_CUBE_MAP = 0x8514; 221 enum GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; 222 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; 223 enum GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; 224 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; 225 enum GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; 226 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; 227 enum GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; 228 enum GL_TEXTURE0 = 0x84C0; 229 enum GL_TEXTURE1 = 0x84C1; 230 enum GL_TEXTURE2 = 0x84C2; 231 enum GL_TEXTURE3 = 0x84C3; 232 enum GL_TEXTURE4 = 0x84C4; 233 enum GL_TEXTURE5 = 0x84C5; 234 enum GL_TEXTURE6 = 0x84C6; 235 enum GL_TEXTURE7 = 0x84C7; 236 enum GL_TEXTURE8 = 0x84C8; 237 enum GL_TEXTURE9 = 0x84C9; 238 enum GL_TEXTURE10 = 0x84CA; 239 enum GL_TEXTURE11 = 0x84CB; 240 enum GL_TEXTURE12 = 0x84CC; 241 enum GL_TEXTURE13 = 0x84CD; 242 enum GL_TEXTURE14 = 0x84CE; 243 enum GL_TEXTURE15 = 0x84CF; 244 enum GL_TEXTURE16 = 0x84D0; 245 enum GL_TEXTURE17 = 0x84D1; 246 enum GL_TEXTURE18 = 0x84D2; 247 enum GL_TEXTURE19 = 0x84D3; 248 enum GL_TEXTURE20 = 0x84D4; 249 enum GL_TEXTURE21 = 0x84D5; 250 enum GL_TEXTURE22 = 0x84D6; 251 enum GL_TEXTURE23 = 0x84D7; 252 enum GL_TEXTURE24 = 0x84D8; 253 enum GL_TEXTURE25 = 0x84D9; 254 enum GL_TEXTURE26 = 0x84DA; 255 enum GL_TEXTURE27 = 0x84DB; 256 enum GL_TEXTURE28 = 0x84DC; 257 enum GL_TEXTURE29 = 0x84DD; 258 enum GL_TEXTURE30 = 0x84DE; 259 enum GL_TEXTURE31 = 0x84DF; 260 enum GL_ACTIVE_TEXTURE = 0x84E0; 261 enum GL_REPEAT = 0x2901; 262 enum GL_CLAMP_TO_EDGE = 0x812F; 263 enum GL_MIRRORED_REPEAT = 0x8370; 264 enum GL_FLOAT_VEC2 = 0x8B50; 265 enum GL_FLOAT_VEC3 = 0x8B51; 266 enum GL_FLOAT_VEC4 = 0x8B52; 267 enum GL_INT_VEC2 = 0x8B53; 268 enum GL_INT_VEC3 = 0x8B54; 269 enum GL_INT_VEC4 = 0x8B55; 270 enum GL_BOOL = 0x8B56; 271 enum GL_BOOL_VEC2 = 0x8B57; 272 enum GL_BOOL_VEC3 = 0x8B58; 273 enum GL_BOOL_VEC4 = 0x8B59; 274 enum GL_FLOAT_MAT2 = 0x8B5A; 275 enum GL_FLOAT_MAT3 = 0x8B5B; 276 enum GL_FLOAT_MAT4 = 0x8B5C; 277 enum GL_SAMPLER_2D = 0x8B5E; 278 enum GL_SAMPLER_CUBE = 0x8B60; 279 enum GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; 280 enum GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 281 enum GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 282 enum GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 283 enum GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; 284 enum GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; 285 enum GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; 286 enum GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; 287 enum GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; 288 enum GL_COMPILE_STATUS = 0x8B81; 289 enum GL_INFO_LOG_LENGTH = 0x8B84; 290 enum GL_SHADER_SOURCE_LENGTH = 0x8B88; 291 enum GL_SHADER_COMPILER = 0x8DFA; 292 enum GL_SHADER_BINARY_FORMATS = 0x8DF8; 293 enum GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9; 294 enum GL_LOW_FLOAT = 0x8DF0; 295 enum GL_MEDIUM_FLOAT = 0x8DF1; 296 enum GL_HIGH_FLOAT = 0x8DF2; 297 enum GL_LOW_INT = 0x8DF3; 298 enum GL_MEDIUM_INT = 0x8DF4; 299 enum GL_HIGH_INT = 0x8DF5; 300 enum GL_FRAMEBUFFER = 0x8D40; 301 enum GL_RENDERBUFFER = 0x8D41; 302 enum GL_RGBA4 = 0x8056; 303 enum GL_RGB5_A1 = 0x8057; 304 enum GL_RGB565 = 0x8D62; 305 enum GL_DEPTH_COMPONENT16 = 0x81A5; 306 enum GL_STENCIL_INDEX = 0x1901; 307 enum GL_STENCIL_INDEX8 = 0x8D48; 308 enum GL_RENDERBUFFER_WIDTH = 0x8D42; 309 enum GL_RENDERBUFFER_HEIGHT = 0x8D43; 310 enum GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; 311 enum GL_RENDERBUFFER_RED_SIZE = 0x8D50; 312 enum GL_RENDERBUFFER_GREEN_SIZE = 0x8D51; 313 enum GL_RENDERBUFFER_BLUE_SIZE = 0x8D52; 314 enum GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53; 315 enum GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54; 316 enum GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55; 317 enum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; 318 enum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; 319 enum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; 320 enum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; 321 enum GL_COLOR_ATTACHMENT0 = 0x8CE0; 322 enum GL_DEPTH_ATTACHMENT = 0x8D00; 323 enum GL_STENCIL_ATTACHMENT = 0x8D20; 324 enum GL_NONE = 0; 325 enum GL_FRAMEBUFFER_COMPLETE = 0x8CD5; 326 enum GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; 327 enum GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; 328 enum GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; 329 enum GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD; 330 enum GL_FRAMEBUFFER_BINDING = 0x8CA6; 331 enum GL_RENDERBUFFER_BINDING = 0x8CA7; 332 enum GL_MAX_RENDERBUFFER_SIZE = 0x84E8; 333 enum GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506; 334 335 void glActiveTexture(GLenum texture); 336 void glAttachShader(GLuint program, GLuint shader); 337 void glBindAttribLocation(GLuint program, GLuint index, const(GLchar)* name); 338 void glBindBuffer(GLenum target, GLuint buffer); 339 void glBindFramebuffer(GLenum target, GLuint framebuffer); 340 void glBindRenderbuffer(GLenum target, GLuint renderbuffer); 341 void glBindTexture(GLenum target, GLuint texture); 342 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 343 void glBlendEquation(GLenum mode); 344 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); 345 void glBlendFunc(GLenum sfactor, GLenum dfactor); 346 void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 347 void glBufferData(GLenum target, GLsizeiptr size, const(GLvoid)* data, GLenum usage); 348 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const(GLvoid)* data); 349 GLenum glCheckFramebufferStatus(GLenum target); 350 void glClear(GLbitfield mask); 351 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 352 void glClearDepthf(GLclampf depth); 353 void glClearStencil(GLint s); 354 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 355 void glCompileShader(GLuint shader); 356 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const(GLvoid)* data); 357 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const(GLvoid)* data); 358 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 359 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 360 GLuint glCreateProgram(); 361 GLuint glCreateShader(GLenum type); 362 void glCullFace(GLenum mode); 363 void glDeleteBuffers(GLsizei n, const(GLuint)* buffers); 364 void glDeleteFramebuffers(GLsizei n, const(GLuint)* framebuffers); 365 void glDeleteProgram(GLuint program); 366 void glDeleteRenderbuffers(GLsizei n, const(GLuint)* renderbuffers); 367 void glDeleteShader(GLuint shader); 368 void glDeleteTextures(GLsizei n, const(GLuint)* textures); 369 void glDepthFunc(GLenum func); 370 void glDepthMask(GLboolean flag); 371 void glDepthRangef(GLclampf zNear, GLclampf zFar); 372 void glDetachShader(GLuint program, GLuint shader); 373 void glDisable(GLenum cap); 374 void glDisableVertexAttribArray(GLuint index); 375 void glDrawArrays(GLenum mode, GLint first, GLsizei count); 376 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const(GLvoid)* indices); 377 void glEnable(GLenum cap); 378 void glEnableVertexAttribArray(GLuint index); 379 void glFinish(); 380 void glFlush(); 381 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 382 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 383 void glFrontFace(GLenum mode); 384 void glGenBuffers(GLsizei n, GLuint* buffers); 385 void glGenerateMipmap(GLenum target); 386 void glGenFramebuffers(GLsizei n, GLuint* framebuffers); 387 void glGenRenderbuffers(GLsizei n, GLuint* renderbuffers); 388 void glGenTextures(GLsizei n, GLuint* textures); 389 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 390 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 391 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); 392 GLint glGetAttribLocation(GLuint program, const(GLchar)* name); 393 void glGetBooleanv(GLenum pname, GLboolean* params); 394 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params); 395 GLenum glGetError(); 396 void glGetFloatv(GLenum pname, GLfloat* params); 397 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params); 398 void glGetIntegerv(GLenum pname, GLint* params); 399 void glGetProgramiv(GLuint program, GLenum pname, GLint* params); 400 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); 401 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params); 402 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params); 403 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); 404 void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); 405 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); 406 const(GLubyte)* glGetString(GLenum name); 407 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params); 408 void glGetTexParameteriv(GLenum target, GLenum pname, GLint* params); 409 void glGetUniformfv(GLuint program, GLint location, GLfloat* params); 410 void glGetUniformiv(GLuint program, GLint location, GLint* params); 411 GLint glGetUniformLocation(GLuint program, const(GLchar)* name); 412 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params); 413 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params); 414 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer); 415 void glHint(GLenum target, GLenum mode); 416 GLboolean glIsBuffer(GLuint buffer); 417 GLboolean glIsEnabled(GLenum cap); 418 GLboolean glIsFramebuffer(GLuint framebuffer); 419 GLboolean glIsProgram(GLuint program); 420 GLboolean glIsRenderbuffer(GLuint renderbuffer); 421 GLboolean glIsShader(GLuint shader); 422 GLboolean glIsTexture(GLuint texture); 423 void glLineWidth(GLfloat width); 424 void glLinkProgram(GLuint program); 425 void glPixelStorei(GLenum pname, GLint param); 426 void glPolygonOffset(GLfloat factor, GLfloat units); 427 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); 428 void glReleaseShaderCompiler(); 429 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 430 void glSampleCoverage(GLclampf value, GLboolean invert); 431 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); 432 void glShaderBinary(GLsizei n, const(GLuint)* shaders, GLenum binaryformat, const(GLvoid)* binary, GLsizei length); 433 void glShaderSource(GLuint shader, GLsizei count, in GLchar** string, const(GLint)* length); 434 void glStencilFunc(GLenum func, GLint ref_, GLuint mask); 435 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref_, GLuint mask); 436 void glStencilMask(GLuint mask); 437 void glStencilMaskSeparate(GLenum face, GLuint mask); 438 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); 439 void glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); 440 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const(GLvoid)* pixels); 441 void glTexParameterf(GLenum target, GLenum pname, GLfloat param); 442 void glTexParameterfv(GLenum target, GLenum pname, const(GLfloat)* params); 443 void glTexParameteri(GLenum target, GLenum pname, GLint param); 444 void glTexParameteriv(GLenum target, GLenum pname, const(GLint)* params); 445 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const(GLvoid)* pixels); 446 void glUniform1f(GLint location, GLfloat x); 447 void glUniform1fv(GLint location, GLsizei count, const(GLfloat)* v); 448 void glUniform1i(GLint location, GLint x); 449 void glUniform1iv(GLint location, GLsizei count, const(GLint)* v); 450 void glUniform2f(GLint location, GLfloat x, GLfloat y); 451 void glUniform2fv(GLint location, GLsizei count, const(GLfloat)* v); 452 void glUniform2i(GLint location, GLint x, GLint y); 453 void glUniform2iv(GLint location, GLsizei count, const(GLint)* v); 454 void glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z); 455 void glUniform3fv(GLint location, GLsizei count, const(GLfloat)* v); 456 void glUniform3i(GLint location, GLint x, GLint y, GLint z); 457 void glUniform3iv(GLint location, GLsizei count, const(GLint)* v); 458 void glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 459 void glUniform4fv(GLint location, GLsizei count, const(GLfloat)* v); 460 void glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w); 461 void glUniform4iv(GLint location, GLsizei count, const(GLint)* v); 462 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value); 463 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value); 464 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value); 465 void glUseProgram(GLuint program); 466 void glValidateProgram(GLuint program); 467 void glVertexAttrib1f(GLuint indx, GLfloat x); 468 void glVertexAttrib1fv(GLuint indx, const(GLfloat)* values); 469 void glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); 470 void glVertexAttrib2fv(GLuint indx, const(GLfloat)* values); 471 void glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); 472 void glVertexAttrib3fv(GLuint indx, const(GLfloat)* values); 473 void glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 474 void glVertexAttrib4fv(GLuint indx, const(GLfloat)* values); 475 void glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const(GLvoid)* ptr); 476 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);