1!gles3_only 2 3%#include <GLES3/gl31.h> 4 5%// Return types must be single words, see GLDispatch.cpp 6%typedef const GLubyte* GL3constubyteptr; 7 8void glReadBuffer(GLenum src); 9void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 10void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 11void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 12void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 13void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 14void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 15void glGenQueries(GLsizei n, GLuint *ids); 16void glDeleteQueries(GLsizei n, const GLuint *ids); 17GLboolean glIsQuery(GLuint id); 18void glBeginQuery(GLenum target, GLuint id); 19void glEndQuery(GLenum target); 20void glGetQueryiv(GLenum target, GLenum pname, GLint *params); 21void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); 22GLboolean glUnmapBuffer(GLenum target); 23void glGetBufferPointerv(GLenum target, GLenum pname, void **params); 24void glDrawBuffers(GLsizei n, const GLenum *bufs); 25void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 26void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 27void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 28void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 29void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 30void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 31void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 32void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 33void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 34void* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 35void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); 36void glBindVertexArray(GLuint array); 37void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); 38void glGenVertexArrays(GLsizei n, GLuint *arrays); 39GLboolean glIsVertexArray(GLuint array); 40void glGetIntegeri_v(GLenum target, GLuint index, GLint *data); 41void glBeginTransformFeedback(GLenum primitiveMode); 42void glEndTransformFeedback(void); 43void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 44void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); 45void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 46void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 47void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 48void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); 49void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); 50void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); 51void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 52void glVertexAttribI4iv(GLuint index, const GLint *v); 53void glVertexAttribI4uiv(GLuint index, const GLuint *v); 54void glGetUniformuiv(GLuint program, GLint location, GLuint *params); 55GLint glGetFragDataLocation(GLuint program, const GLchar *name); 56void glUniform1ui(GLint location, GLuint v0); 57void glUniform2ui(GLint location, GLuint v0, GLuint v1); 58void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); 59void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 60void glUniform1uiv(GLint location, GLsizei count, const GLuint *value); 61void glUniform2uiv(GLint location, GLsizei count, const GLuint *value); 62void glUniform3uiv(GLint location, GLsizei count, const GLuint *value); 63void glUniform4uiv(GLint location, GLsizei count, const GLuint *value); 64void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); 65void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); 66void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); 67void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 68GL3constubyteptr glGetStringi(GLenum name, GLuint index); 69void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 70void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 71void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 72GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName); 73void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 74void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 75void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 76void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 77void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 78GLsync glFenceSync(GLenum condition, GLbitfield flags); 79GLboolean glIsSync(GLsync sync); 80void glDeleteSync(GLsync sync); 81GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 82void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 83void glGetInteger64v(GLenum pname, GLint64 *data); 84void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 85void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data); 86void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); 87void glGenSamplers(GLsizei count, GLuint *samplers); 88void glDeleteSamplers(GLsizei count, const GLuint *samplers); 89GLboolean glIsSampler(GLuint sampler); 90void glBindSampler(GLuint unit, GLuint sampler); 91void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param); 92void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param); 93void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); 94void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param); 95void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params); 96void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params); 97void glVertexAttribDivisor(GLuint index, GLuint divisor); 98void glBindTransformFeedback(GLenum target, GLuint id); 99void glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids); 100void glGenTransformFeedbacks(GLsizei n, GLuint *ids); 101GLboolean glIsTransformFeedback(GLuint id); 102void glPauseTransformFeedback(void); 103void glResumeTransformFeedback(void); 104void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 105void glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); 106void glProgramParameteri(GLuint program, GLenum pname, GLint value); 107void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments); 108void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); 109void glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 110void glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 111void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 112