OpenGL-Refpages
OpenGL-Refpages copied to clipboard
OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
Fixes the documentation for the `indices` parameter so that correctly documents OpenGL 4 behavior for the following functions: - `glDrawElements` - `glDrawElementsInstanced` - `glDrawElementsBaseVertex` - `glDrawElementsInstancedBaseVertex` - `glDrawElementsInstancedBaseVertexBaseInstance` - `glDrawRangeElements`...
On https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteFramebuffers.xhtml, it says: > void glDeleteFramebuffers( GLsizei n, GLuint *framebuffers); but the type of `framebuffers` must be `const GLuint*` in my opinion. At least on GLES2, it is: https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glDeleteFramebuffers.xml...
On the page https://registry.khronos.org/OpenGL-Refpages/gl4/html/atomicCompSwap.xhtml The declaration `int atomicCompSwap(inout int mem, uint compare, uint data);` should be replaced with `int atomicCompSwap(inout int mem, int compare, int data);`
Fixes #41 I also need to add from which version these constants are available from. Adds: - `GL_DEBUG_LOGGED_MESSAGES` - `GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH` - `GL_MAX_DEBUG_MESSAGE_LENGTH` - `GL_MAX_DEBUG_LOGGED_MESSAGES` - `GL_QUERY_BUFFER_BINDING` - `GL_COPY_READ_BUFFER_BINDING` - `GL_COPY_WRITE_BUFFER_BINDING`...
Fixes #72
The documentation for [glMultiDrawElementsIndirect](https://registry.khronos.org/OpenGL-Refpages/gl4/html/glMultiDrawElementsIndirect.xhtml) suggests that the `indirect` parameter may refer to client memory, if no buffer is bound to `GL_DRAW_INDIRECT_BUFFER`: > If a buffer is bound to the GL_DRAW_INDIRECT_BUFFER...
This should fix the remaining parts of #54 to my knowledge. The constants `GL_VERTEX_BINDING_BUFFER` and `GL_VERTEX_ATTRIB_BINDING` do not exist in the OpenGL 2.1 spec so it shouldn't be added to...