Last active
November 7, 2016 06:15
-
-
Save rikkimax/38cc0478de880623efe1d1540066049d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Performing "debug" build using dmd for x86. | |
std-experimental-xml ~master: target for configuration "library" is up to date. | |
ogl_gen ~master: target for configuration "application" is up to date. | |
To force a rebuild of up-to-date targets, run again with --force. | |
Running .\ogl_gen.exe | |
Families: | |
- man4/glActiveShaderProgram.xml[glActiveShaderProgram] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program pipeline object to set the active program object for. | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to set as the active program pipeline object | |
| | |----^parameter | |
| | | |----#text | |
| | | | pipeline | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glActiveShaderProgram(GLuint pipeline, GLuint program) | |
- man4/glActiveTexture.xml[glActiveTexture] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies which texture unit to make active. The number | |
| | | of texture units is implementation dependent, but must | |
| | | be at least 80. | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE | |
| | |----#text | |
| | | , | |
| | | where | |
| | |----#text | |
| | | ranges from zero to the value | |
| | | of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS | |
| | |----#text | |
| | | minus one. The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE0 | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glActiveTexture(GLenum texture) | |
- man4/glAttachShader.xml[glAttachShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to which a shader | |
| | | object will be attached. | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object that is to be attached. | |
Function varients: | |
- void glAttachShader(GLuint program, GLuint shader) | |
- man4/glBeginConditionalRender.xml[glBeginConditionalRender] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded. | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how | |
| | |----^function | |
| | | |----#text | |
| | | | glBeginConditionalRender | |
| | |----#text | |
| | | interprets the results of the occlusion query. | |
Function varients: | |
- void glBeginConditionalRender(GLuint id, GLenum mode) | |
- man4/glBeginQuery.xml[glBeginQuery] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target type of query object established between | |
| | |----^function | |
| | | |----#text | |
| | | | glBeginQuery | |
| | |----#text | |
| | | and the subsequent | |
| | |----^function | |
| | | |----#text | |
| | | | glEndQuery | |
| | |----#text | |
| | | . | |
| | | The symbolic constant must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED_CONSERVATIVE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PRIMITIVES_GENERATED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIME_ELAPSED | |
| | |----#text | |
| | | . | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a query object. | |
Function varients: | |
- void glBeginQuery(GLenum target, GLuint id) | |
- man4/glBeginQueryIndexed.xml[glBeginQueryIndexed] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target type of query object established between | |
| | |----^function | |
| | | |----#text | |
| | | | glBeginQueryIndexed | |
| | |----#text | |
| | | and the subsequent | |
| | |----^function | |
| | | |----#text | |
| | | | glEndQueryIndexed | |
| | |----#text | |
| | | . | |
| | | The symbolic constant must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PRIMITIVES_GENERATED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIME_ELAPSED | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the query target upon which to begin the query. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a query object. | |
Function varients: | |
- void glBeginQueryIndexed(GLenum target, GLuint index, GLuint id) | |
- man4/glBeginTransformFeedback.xml[glBeginTransformFeedback] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- primitiveMode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the output type of the primitives that will be recorded into the | |
| | | buffer objects that are bound for transform feedback. | |
Function varients: | |
- void glBeginTransformFeedback(GLenum primitiveMode) | |
- man4/glBindAttribLocation.xml[glBindAttribLocation] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the program object in | |
| | | which the association is to be made. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the generic vertex | |
| | | attribute to be bound. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a null terminated string containing | |
| | | the name of the vertex shader attribute variable to | |
| | | which | |
| | |----^parameter | |
| | | |----#text | |
| | | | index | |
| | |----#text | |
| | | is to be | |
| | | bound. | |
Function varients: | |
- void glBindAttribLocation(GLuint program, GLuint index, const GLchar name) | |
- man4/glBindBuffer.xml[glBindBuffer] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is | |
| | | bound, which must be one of the buffer binding targets | |
| | | in the following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a buffer object. | |
Function varients: | |
- void glBindBuffer(GLenum target, GLuint buffer) | |
- man4/glBindBufferBase.xml[glBindBufferBase] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the target of the bind operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BUFFER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BUFFER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the index of the binding point within the array specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a buffer object to bind to the specified binding point. | |
Function varients: | |
- void glBindBufferBase(GLenum target, GLuint index, GLuint buffer) | |
- man4/glBindBufferRange.xml[glBindBufferRange] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the target of the bind operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BUFFER | |
| | |----#text | |
| | | , | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BUFFER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the index of the binding point within the array specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a buffer object to bind to the specified binding point. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The starting offset in basic machine units into the buffer object | |
| | |----^parameter | |
| | | |----#text | |
| | | | buffer | |
| | |----#text | |
| | | . | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | The amount of data in machine units that can be read from the buffer object while used as an indexed target. | |
Function varients: | |
- void glBindBufferRange(GLenu target, GLuin index, GLuin buffer, GLintpt offset, GLsizeipt size) | |
- man4/glBindBuffersBase.xml[glBindBuffersBase] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the target of the bind operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BUFFER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BUFFER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the index of the first binding point within the array specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | . | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of contiguous binding points to which to bind buffers. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer to an array of names of buffer objects to bind to the targets on the specified binding point, or | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBindBuffersBase(GLenum target, GLuint first, GLsizei count, const GLuint buffers) | |
- man4/glBindBuffersRange.xml[glBindBuffersRange] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the target of the bind operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BUFFER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BUFFER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the index of the first binding point within the array specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | . | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of contiguous binding points to which to bind buffers. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer to an array of names of buffer objects to bind to the targets on the specified binding point, or | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBindBuffersRange(GLenum target, GLuint first, GLsizei count, const GLuint buffers, const GLintptr offsets, const GLintptr sizes) | |
- man4/glBindFragDataLocation.xml[glBindFragDataLocation] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the program containing varying out variable whose binding to modify | |
- colorNumber | |
|---- | |
| |---- | |
| | |----#text | |
| | | The color number to bind the user-defined varying out variable to | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the user-defined varying out variable whose binding to modify | |
Function varients: | |
- void glBindFragDataLocation(GLuint program, GLuint colorNumber, const char * name) | |
- man4/glBindFragDataLocationIndexed.xml[glBindFragDataLocationIndexed] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the program containing varying out variable whose binding to modify | |
- colorNumber | |
|---- | |
| |---- | |
| | |----#text | |
| | | The color number to bind the user-defined varying out variable to | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the color input to bind the user-defined varying out variable to | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the user-defined varying out variable whose binding to modify | |
Function varients: | |
- void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const char name) | |
- man4/glBindFramebuffer.xml[glBindFramebuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the framebuffer target of the binding operation. | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object to bind. | |
Function varients: | |
- void glBindFramebuffer(GLenum target, GLuint framebuffer) | |
- man4/glBindImageTexture.xml[glBindImageTexture] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- unit | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the image unit to which to bind the texture | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the texture to bind to the image unit. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level of the texture that is to be bound. | |
- layered | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether a layered texture binding is to be established. | |
- layer | |
|---- | |
| |---- | |
| | |----#text | |
| | | If | |
| | |----^parameter | |
| | | |----#text | |
| | | | layered | |
| | |----#text | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | , specifies the layer of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | to be bound to the image unit. Ignored otherwise. | |
- access | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a token indicating the type of access that will be performed on the image. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format that the elements of the image will be treated as for the purposes of formatted stores. | |
Function varients: | |
- void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) | |
- man4/glBindImageTextures.xml[glBindImageTextures] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the first image unit to which a texture is to be bound. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of textures to bind. | |
- textures | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of names of existing texture objects. | |
Function varients: | |
- void glBindImageTextures(GLuint first, GLsizei count, const GLuint textures) | |
- man4/glBindProgramPipeline.xml[glBindProgramPipeline] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the pipeline object to bind to the context. | |
Function varients: | |
- void glBindProgramPipeline(GLuint pipeline) | |
- man4/glBindRenderbuffer.xml[glBindRenderbuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the renderbuffer target of the binding operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | . | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the renderbuffer object to bind. | |
Function varients: | |
- void glBindRenderbuffer(GLenum target, GLuint renderbuffer) | |
- man4/glBindSampler.xml[glBindSampler] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- unit | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the texture unit to which the sampler is bound. | |
- sampler | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a sampler. | |
Function varients: | |
- void glBindSampler(GLuint unit, GLuint sampler) | |
- man4/glBindSamplers.xml[glBindSamplers] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the first sampler unit to which a sampler object is to be bound. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of samplers to bind. | |
- samplers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of names of existing sampler objects. | |
Function varients: | |
- void glBindSamplers(GLuint first, GLsizei count, const GLuint samplers) | |
- man4/glBindTexture.xml[glBindTexture] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound. | |
| | | Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a texture. | |
Function varients: | |
- void glBindTexture(GLenum target, GLuint texture) | |
- man4/glBindTextures.xml[glBindTextures] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the first texture unit to which a texture is to be bound. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of textures to bind. | |
- textures | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of names of existing texture objects. | |
Function varients: | |
- void glBindTextures(GLuint first, GLsizei count, const GLuint textures) | |
- man4/glBindTextureUnit.xml[glBindTextureUnit] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- unit | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture unit, to which the texture object should be bound to. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a texture. | |
Function varients: | |
- void glBindTextureUnit(GLuint unit, GLuint texture) | |
- man4/glBindTransformFeedback.xml[glBindTransformFeedback] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which to bind the transform feedback object | |
| | |----^parameter | |
| | | |----#text | |
| | | | id | |
| | |----#text | |
| | | . | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK | |
| | |----#text | |
| | | . | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a transform feedback object reserved by | |
| | |---- | |
| | | |----^function | |
| | | | |----#text | |
| | | | | glGenTransformFeedbacks | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBindTransformFeedback(GLenum target, GLuint id) | |
- man4/glBindVertexArray.xml[glBindVertexArray] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- array | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array to bind. | |
Function varients: | |
- void glBindVertexArray(GLuint array) | |
- man4/glBindVertexBuffer.xml[glBindVertexBuffer] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object to be used by | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexArrayVertexBuffer | |
| | |----#text | |
| | | function. | |
- bindingindex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the vertex buffer binding point to which to bind | |
| | | the buffer. | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a buffer to bind to the vertex buffer binding | |
| | | point. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The offset of the first element of the buffer. | |
- stride | |
|---- | |
| |---- | |
| | |----#text | |
| | | The distance between elements within the buffer. | |
Function varients: | |
- void glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLintptr stride) | |
- void glVertexArrayVertexBuffer(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) | |
- man4/glBindVertexBuffers.xml[glBindVertexBuffers] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object for | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexArrayVertexBuffers | |
| | |----#text | |
| | | . | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the first vertex buffer binding point to which | |
| | | a buffer object is to be bound. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of buffers to bind. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of names of existing | |
| | | buffer objects. | |
- offsets | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of offsets to | |
| | | associate with the binding points. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of strides to | |
| | | associate with the binding points. | |
Function varients: | |
- void glBindVertexBuffers(GLuint first, GLsizei count, const GLuint buffers, const GLuintptr offsets, const GLsizei strides) | |
- void glVertexArrayVertexBuffers(GLuint vaobj, GLuint first, GLsizei count, const GLuint buffers, const GLintptr offsets, const GLsizei strides) | |
- man4/glBlendColor.xml[glBlendColor] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- red | |
|---- | |
| |---- | |
| | |----#text | |
| | | specify the components of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BLEND_COLOR | |
Function varients: | |
- void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | |
- man4/glBlendEquation.xml[glBlendEquation] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glBlendEquationi | |
| | |----#text | |
| | | , specifies the index of the draw buffer | |
| | | for which to set the blend equation. | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | specifies how source and destination colors are combined. | |
| | | It must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_ADD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_REVERSE_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MIN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBlendEquation(GLenum mode) | |
- void glBlendEquationi(GLuint buf, GLenum mode) | |
- man4/glBlendEquationSeparate.xml[glBlendEquationSeparate] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glBlendEquationSeparatei | |
| | |----#text | |
| | | , specifies the index of the draw buffer for which | |
| | | to set the blend equations. | |
- modeRGB | |
|---- | |
| |---- | |
| | |----#text | |
| | | specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. | |
| | | It must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_ADD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_REVERSE_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MIN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX | |
| | |----#text | |
| | | . | |
- modeAlpha | |
|---- | |
| |---- | |
| | |----#text | |
| | | specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. | |
| | | It must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_ADD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FUNC_REVERSE_SUBTRACT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MIN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) | |
- void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) | |
- man4/glBlendFunc.xml[glBlendFunc] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glBlendFunci | |
| | |----#text | |
| | | , specifies the index of the draw | |
| | | buffer for which to set the blend function. | |
- sfactor | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how the red, green, blue, | |
| | | and alpha source blending factors are computed. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE | |
| | |----#text | |
| | | . | |
- dfactor | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how the red, green, blue, | |
| | | and alpha destination blending factors are computed. | |
| | | The following symbolic constants are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRC_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_SRC_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DST_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_DST_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRC_ALPHA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_SRC_ALPHA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DST_ALPHA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_DST_ALPHA | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CONSTANT_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_CONSTANT_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CONSTANT_ALPHA | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE_MINUS_CONSTANT_ALPHA | |
| | |----#text | |
| | | . | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBlendFunc(GLenum sfactor, GLenum dfactor) | |
- void glBlendFunci(GLuint buf, GLenum sfactor, GLenum dfactor) | |
- man4/glBlendFuncSeparate.xml[glBlendFuncSeparate] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glBlendFuncSeparatei | |
| | |----#text | |
| | | , specifies the index of the draw | |
| | | buffer for which to set the blend functions. | |
- srcRGB | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how the red, green, and blue blending factors are computed. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE | |
| | |----#text | |
| | | . | |
- dstRGB | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how the red, green, and blue destination blending factors are | |
| | | computed. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | . | |
- srcAlpha | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specified how the alpha source blending factor is computed. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ONE | |
| | |----#text | |
| | | . | |
- dstAlpha | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specified how the alpha destination blending factor is computed. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) | |
- void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) | |
- man4/glBlitFramebuffer.xml[glBlitFramebuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- readFramebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the source framebuffer object | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glBlitNamedFramebuffer | |
| | |----#text | |
| | | . | |
- drawFramebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the destination framebuffer object | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glBlitNamedFramebuffer | |
| | |----#text | |
| | | . | |
- srcX0 | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the bounds of the source rectangle within the read buffer of the read framebuffer. | |
- dstX0 | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COLOR_BUFFER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_BUFFER_BIT | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_BUFFER_BIT | |
| | |----#text | |
| | | . | |
- filter | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the interpolation to be applied if the image is stretched. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NEAREST | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINEAR | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) | |
- void glBlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) | |
- man4/glBufferData.xml[glBufferData] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glBufferData | |
| | |----#text | |
| | | , which must be one of the | |
| | | buffer binding targets in the following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedBufferData | |
| | |----#text | |
| | | function. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size in bytes of the buffer object's new data | |
| | | store. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to data that will be copied into the data | |
| | | store for initialization, or | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | if no data is | |
| | | to be copied. | |
- usage | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the expected usage pattern of the data store. The | |
| | | symbolic constant must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STREAM_DRAW | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STREAM_READ | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STREAM_COPY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STATIC_DRAW | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STATIC_READ | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STATIC_COPY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DYNAMIC_DRAW | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DYNAMIC_READ | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DYNAMIC_COPY | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) | |
- void glNamedBufferData(GLuint buffer, GLsizei size, const void data, GLenum usage) | |
- man4/glBufferStorage.xml[glBufferStorage] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glBufferStorage | |
| | |----#text | |
| | | , which must be one of the | |
| | | buffer binding targets in the following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedBufferStorage | |
| | |----#text | |
| | | function. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size in bytes of the buffer object's new data | |
| | | store. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to data that will be copied into the data | |
| | | store for initialization, or | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | if no data is | |
| | | to be copied. | |
- flags | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the intended usage of the buffer's data store. Must | |
| | | be a bitwise combination of the following flags. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DYNAMIC_STORAGE_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAP_READ_BIT | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAP_WRITE_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAP_PERSISTENT_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAP_COHERENT_BIT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CLIENT_STORAGE_BIT | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glBufferStorage(GLenum target, GLsizeiptr size, const GLvoid * data, GLbitfield flags) | |
- void glNamedBufferStorage(GLuint buffer, GLsizei size, const void data, GLbitfield flags) | |
- man4/glBufferSubData.xml[glBufferSubData] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glBufferSubData | |
| | |----#text | |
| | | , which must be | |
| | | one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedBufferSubData | |
| | |----#text | |
| | | . | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the offset into the buffer object's data store | |
| | | where data replacement will begin, measured in bytes. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size in bytes of the data store region | |
| | | being replaced. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the new data that will be copied | |
| | | into the data store. | |
Function varients: | |
- void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) | |
- void glNamedBufferSubData(GLuint buffer, GLintptr offset, GLsizei size, const void data) | |
- man4/glCheckFramebufferStatus.xml[glCheckFramebufferStatus] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the target to which the framebuffer is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCheckFramebufferStatus | |
| | |----#text | |
| | | , and the | |
| | | target against which framebuffer completeness of | |
| | |----^parameter | |
| | | |----#text | |
| | | | framebuffer | |
| | |----#text | |
| | | is checked for | |
| | |----^function | |
| | | |----#text | |
| | | | glCheckNamedFramebufferStatus | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glCheckNamedFramebufferStatus | |
Function varients: | |
- GLenum glCheckFramebufferStatus(GLenum target) | |
- GLenum glCheckNamedFramebufferStatus(GLuint framebuffer, GLenum target) | |
- man4/glClampColor.xml[glClampColor] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Target for color clamping. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CLAMP_READ_COLOR | |
| | |----#text | |
| | | . | |
- clamp | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether to apply color clamping. | |
| | |----^parameter | |
| | | |----#text | |
| | | | clamp | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRUE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glClampColor(GLenum target, GLenum clamp) | |
- man4/glClear.xml[glClear] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Bitwise OR of masks that indicate the buffers to be cleared. | |
| | | The three masks are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COLOR_BUFFER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_BUFFER_BIT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_BUFFER_BIT | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glClear(GLbitfield mask) | |
- man4/glClearBuffer.xml[glClearBuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glClearNamedFramebuffer* | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the buffer to clear. | |
- drawbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify a particular draw buffer to clear. | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer to the value or values to clear the buffer to. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | The value to clear the depth buffer to. | |
- stencil | |
|---- | |
| |---- | |
| | |----#text | |
| | | The value to clear the stencil buffer to. | |
Function varients: | |
- void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint * value) | |
- void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint * value) | |
- void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat * value) | |
- void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) | |
- void glClearNamedFramebufferiv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint value) | |
- void glClearNamedFramebufferuiv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint value) | |
- void glClearNamedFramebufferfv(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat value) | |
- void glClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) | |
- man4/glClearBufferData.xml[glClearBufferData] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glClearBufferData | |
| | |----#text | |
| | | , which must | |
| | | must be one of the buffer binding targets in the | |
| | | following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glClearNamedBufferData | |
| | |----#text | |
| | | . | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | The internal format with which the data will be stored | |
| | | in the buffer object. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | The format of the data in memory addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the data in memory addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a memory location storing the data to be | |
| | | replicated into the buffer's data store. | |
Function varients: | |
- void glClearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void * data) | |
- void glClearNamedBufferData(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void data) | |
- man4/glClearBufferSubData.xml[glClearBufferSubData] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glClearBufferSubData | |
| | |----#text | |
| | | , which | |
| | | must be one of the buffer binding targets in the | |
| | | following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glClearNamedBufferSubData | |
| | |----#text | |
| | | . | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | The internal format with which the data will be stored | |
| | | in the buffer object. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The offset in basic machine units into the buffer | |
| | | object's data store at which to start filling. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | The size in basic machine units of the range of the | |
| | | data store to fill. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | The format of the data in memory addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the data in memory addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a memory location storing the data to be | |
| | | replicated into the buffer's data store. | |
Function varients: | |
- void glClearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data) | |
- void glClearNamedBufferSubData(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizei size, GLenum format, GLenum type, const void data) | |
- man4/glClearColor.xml[glClearColor] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- red | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the red, green, blue, and alpha values used when the | |
| | | color buffers are cleared. | |
| | | The initial values are all 0. | |
Function varients: | |
- void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | |
- man4/glClearDepth.xml[glClearDepth] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth value used when the depth buffer is cleared. The | |
| | | initial value is 1. | |
Function varients: | |
- void glClearDepth(GLdouble depth) | |
- void glClearDepthf(GLfloat depth) | |
- man4/glClearStencil.xml[glClearStencil] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- s | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index used when the stencil buffer is cleared. | |
| | | The initial value is 0. | |
Function varients: | |
- void glClearStencil(GLint s) | |
- man4/glClearTexImage.xml[glClearTexImage] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of an existing texture object containing the image to be cleared. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | The level of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | containing the region to be cleared. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | The format of the data whose address in memory is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the data whose address in memory is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address in memory of the data to be used to clear the specified region. | |
Function varients: | |
- void glClearTexImage(GLuint texture, GLint level, GLenum format, GLenum type, const void * data) | |
- man4/glClearTexSubImage.xml[glClearTexSubImage] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of an existing texture object containing the image to be cleared. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | The level of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | containing the region to be cleared. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The coordinate of the left edge of the region to be cleared. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The coordinate of the lower edge of the region to be cleared. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The coordinate of the front of the region to be cleared. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | The width of the region to be cleared. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | The height of the region to be cleared. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | The depth of the region to be cleared. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | The format of the data whose address in memory is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the data whose address in memory is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address in memory of the data to be used to clear the specified region. | |
Function varients: | |
- void glClearTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data) | |
- man4/glClientWaitSync.xml[glClientWaitSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sync | |
|---- | |
| |---- | |
| | |----#text | |
| | | The sync object whose status to wait on. | |
- flags | |
|---- | |
| |---- | |
| | |----#text | |
| | | A bitfield controlling the command flushing behavior. | |
| | |----^parameter | |
| | | |----#text | |
| | | | flags | |
| | |----#text | |
| | | may be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SYNC_FLUSH_COMMANDS_BIT | |
| | |----#text | |
| | | . | |
- timeout | |
|---- | |
| |---- | |
| | |----#text | |
| | | The timeout, specified in nanoseconds, for which the implementation should wait for | |
| | |----^parameter | |
| | | |----#text | |
| | | | sync | |
| | |----#text | |
| | | to become signaled. | |
Function varients: | |
- GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) | |
- man4/glClipControl.xml[glClipControl] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- origin | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the clip control origin. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LOWER_LEFT | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UPPER_LEFT | |
| | |----#text | |
| | | . | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the clip control depth mode. Must be one | |
| | | of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NEGATIVE_ONE_TO_ONE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO_TO_ONE | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glClipControl(GLenum origin, GLenum depth) | |
- man4/glColorMask.xml[glColorMask] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glColorMaski | |
| | |----#text | |
| | | , specifies the index of the | |
| | | draw buffer whose color mask to set. | |
- red | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify whether red, green, blue, and alpha are to be written | |
| | | into the frame buffer. | |
| | | The initial values are all | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRUE | |
| | |----#text | |
| | | , | |
| | | indicating that the color components are written. | |
Function varients: | |
- void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) | |
- man4/glCompileShader.xml[glCompileShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object to be | |
| | | compiled. | |
Function varients: | |
- void glCompileShader(GLuint shader) | |
- man4/glCompressedTexImage1D.xml[glCompressedTexImage1D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting at the address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in memory. | |
Function varients: | |
- void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) | |
- man4/glCompressedTexImage2D.xml[glCompressedTexImage2D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support 2D texture and cube map texture images that are at least 16384 texels wide. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture image. | |
| | | All implementations support 2D texture and cube map texture images that are at least 16384 texels high. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting at the | |
| | | address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in memory. | |
Function varients: | |
- void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) | |
- man4/glCompressedTexImage3D.xml[glCompressedTexImage3D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support 3D texture images that are at least 16 texels wide. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture image. | |
| | | All implementations support 3D texture images that are at least 16 texels | |
| | | high. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture image. | |
| | | All implementations support 3D texture images that are at least 16 texels | |
| | | deep. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting at the | |
| | | address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in memory. | |
Function varients: | |
- void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) | |
- man4/glCompressedTexSubImage1D.xml[glCompressedTexSubImage1D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target, to which the texture is bound, for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTexSubImage1D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTextureSubImage1D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at | |
| | | address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting | |
| | | at the address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in | |
| | | memory. | |
Function varients: | |
- void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) | |
- void glCompressedTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void data) | |
- man4/glCompressedTexSubImage2D.xml[glCompressedTexSubImage2D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTexSubImage2D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTextureSubImage2D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at | |
| | | address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting | |
| | | at the address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in | |
| | | memory. | |
Function varients: | |
- void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) | |
- void glCompressedTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void data) | |
- man4/glCompressedTexSubImage3D.xml[glCompressedTexSubImage3D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTexSubImage3D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCompressedTextureSubImage3D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the compressed image data stored at | |
| | | address | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- imageSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of unsigned bytes of image data starting | |
| | | at the address specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the compressed image data in | |
| | | memory. | |
Function varients: | |
- void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) | |
- void glCompressedTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void data) | |
- man4/glCopyBufferSubData.xml[glCopyBufferSubData] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- readTarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the source buffer object | |
| | | is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyBufferSubData | |
- writeTarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the destination buffer | |
| | | object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyBufferSubData | |
| | |----#text | |
| | | . | |
- readBuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the source buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyNamedBufferSubData | |
| | |----#text | |
| | | . | |
- writeBuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the destination buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyNamedBufferSubData | |
| | |----#text | |
| | | . | |
- readOffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the offset, in basic machine units, within the | |
| | | data store of the source buffer object at which data | |
| | | will be read. | |
- writeOffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the offset, in basic machine units, within the | |
| | | data store of the destination buffer object at which | |
| | | data will be written. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size, in basic machine units, of the data | |
| | | to be copied from the source buffer object to the | |
| | | destination buffer object. | |
Function varients: | |
- void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) | |
- void glCopyNamedBufferSubData(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size) | |
- man4/glCopyImageSubData.xml[glCopyImageSubData] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- srcName | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a texture or renderbuffer object from which to copy. | |
- srcTarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | The target representing the namespace of the source name | |
| | |----^parameter | |
| | | |----#text | |
| | | | srcName | |
| | |----#text | |
| | | . | |
- srcLevel | |
|---- | |
| |---- | |
| | |----#text | |
| | | The mipmap level to read from the source. | |
- srcX | |
|---- | |
| |---- | |
| | |----#text | |
| | | The X coordinate of the left edge of the souce region to copy. | |
- srcY | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Y coordinate of the top edge of the souce region to copy. | |
- srcZ | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Z coordinate of the near edge of the souce region to copy. | |
- dstName | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a texture or renderbuffer object to which to copy. | |
- dstTarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | The target representing the namespace of the destination name | |
| | |----^parameter | |
| | | |----#text | |
| | | | dstName | |
| | |----#text | |
| | | . | |
- dstX | |
|---- | |
| |---- | |
| | |----#text | |
| | | The X coordinate of the left edge of the destination region. | |
- dstY | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Y coordinate of the top edge of the destination region. | |
- dstZ | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Z coordinate of the near edge of the destination region. | |
- srcWidth | |
|---- | |
| |---- | |
| | |----#text | |
| | | The width of the region to be copied. | |
- srcHeight | |
|---- | |
| |---- | |
| | |----#text | |
| | | The height of the region to be copied. | |
- srcDepth | |
|---- | |
| |---- | |
| | |----#text | |
| | | The depth of the region to be copied. | |
Function varients: | |
- void glCopyImageSubData(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) | |
- man4/glCopyTexImage1D.xml[glCopyTexImage1D] | |
Copyright: Khronos Group 2012-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format of the texture. | |
| | | Must be one of the following symbolic constants: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RGBA | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_SRGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_SRGB_ALPHA | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT24 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT32 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_R3_G3_B2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB10 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB12 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB5_A1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB10_A2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA12 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB_ALPHA | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB8_ALPHA8 | |
| | |----#text | |
| | | . | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the left corner | |
| | | of the row of pixels to be copied. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | The height of the texture image is 1. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | Must be 0. | |
Function varients: | |
- void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) | |
- man4/glCopyTexImage2D.xml[glCopyTexImage2D] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format of the texture. | |
| | | Must be one of the following symbolic constants: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_RGBA | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_SRGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPRESSED_SRGB_ALPHA | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT24 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT32 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_R3_G3_B2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB10 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB12 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB5_A1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB10_A2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA12 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA16 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB_ALPHA | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SRGB8_ALPHA8 | |
| | |----#text | |
| | | . | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the lower left corner | |
| | | of the rectangular region of pixels to be copied. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture image. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | Must be 0. | |
Function varients: | |
- void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) | |
- man4/glCopyTexSubImage1D.xml[glCopyTexSubImage1D] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTexSubImage1D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTextureSubImage1D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texel offset within the texture array. | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the left corner of the row | |
| | | of pixels to be copied. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
Function varients: | |
- void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) | |
- void glCopyTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) | |
- man4/glCopyTexSubImage2D.xml[glCopyTexSubImage2D] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTexSubImage2D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTextureSubImage2D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the lower left corner of the | |
| | | rectangular region of pixels to be copied. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
Function varients: | |
- void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) | |
- void glCopyTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) | |
- man4/glCopyTexSubImage3D.xml[glCopyTexSubImage3D] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTexSubImage3D | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glCopyTextureSubImage3D | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the z direction within the texture | |
| | | array. | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the lower left corner of the | |
| | | rectangular region of pixels to be copied. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
Function varients: | |
- void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) | |
- void glCopyTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) | |
- man4/glCreateBuffers.xml[glCreateBuffers] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of buffer objects to create. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new buffer | |
| | | objects are stored. | |
Function varients: | |
- void glCreateBuffers(GLsizei n, GLuint buffers) | |
- man4/glCreateFramebuffers.xml[glCreateFramebuffers] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of framebuffer objects to create. | |
- framebuffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new | |
| | | framebuffer objects are stored. | |
Function varients: | |
- void glCreateFramebuffers(GLsizei n, GLuint ids) | |
- man4/glCreateProgram.xml[glCreateProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
Function varients: | |
- GLuint glCreateProgram(void ) | |
- man4/glCreateProgramPipelines.xml[glCreateProgramPipelines] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of program pipeline objects to create. | |
- pipelines | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new program | |
| | | pipeline objects are stored. | |
Function varients: | |
- void glCreateProgramPipelines(GLsizei n, GLuint pipelines) | |
- man4/glCreateQueries.xml[glCreateQueries] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target of each created query object. | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of query objects to create. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new query | |
| | | objects are stored. | |
Function varients: | |
- void glCreateQueries(GLenum target, GLsizei n, GLuint ids) | |
- man4/glCreateRenderbuffers.xml[glCreateRenderbuffers] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of renderbuffer objects to create. | |
- renderbuffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new renderbuffer | |
| | | objects are stored. | |
Function varients: | |
- void glCreateRenderbuffers(GLsizei n, GLuint renderbuffers) | |
- man4/glCreateSamplers.xml[glCreateSamplers] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of sampler objects to create. | |
- samplers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new sampler | |
| | | objects are stored. | |
Function varients: | |
- void glCreateSamplers(GLsizei n, GLuint samplers) | |
- man4/glCreateShader.xml[glCreateShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shaderType | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of shader to be created. | |
| | | Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPUTE_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | , | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
Function varients: | |
- GLuint glCreateShader(GLenum shaderType) | |
- man4/glCreateShaderProgram.xml[glCreateShaderProgram] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of shader to create. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of source code strings in the array | |
| | |----^parameter | |
| | | |----#text | |
| | | | strings | |
| | |----#text | |
| | | . | |
- strings | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of pointers to source code strings from which to create the program object. | |
Function varients: | |
- GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const char * strings) | |
- man4/glCreateTextures.xml[glCreateTextures] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the effective texture target | |
| | | of each created texture. | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of texture objects to create. | |
- textures | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new texture | |
| | | objects are stored. | |
Function varients: | |
- void glCreateTextures(GLenum target, GLsizei n, GLuint textures) | |
- man4/glCreateTransformFeedbacks.xml[glCreateTransformFeedbacks] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of transform feedback objects to create. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new | |
| | | transform feedback objects are stored. | |
Function varients: | |
- void glCreateTransformFeedbacks(GLsizei n, GLuint ids) | |
- man4/glCreateVertexArrays.xml[glCreateVertexArrays] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Number of vertex array objects to create. | |
- arrays | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which names of the new vertex array | |
| | | objects are stored. | |
Function varients: | |
- void glCreateVertexArrays(GLsizei n, GLuint arrays) | |
- man4/glCullFace.xml[glCullFace] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether front- or back-facing facets are candidates for culling. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | are accepted. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glCullFace(GLenum mode) | |
- man4/glDebugMessageCallback.xml[glDebugMessageCallback] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- callback | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a callback function that will be called when a debug message is generated. | |
- userParam | |
|---- | |
| |---- | |
| | |----#text | |
| | | A user supplied pointer that will be passed on each invocation of | |
| | |----^parameter | |
| | | |----#text | |
| | | | callback | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glDebugMessageCallback(DEBUGPROC callback, void * userParam) | |
- man4/glDebugMessageControl.xml[glDebugMessageControl] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- source | |
|---- | |
| |---- | |
| | |----#text | |
| | | The source of debug messages to enable or disable. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of debug messages to enable or disable. | |
- severity | |
|---- | |
| |---- | |
| | |----#text | |
| | | The severity of debug messages to enable or disable. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the array | |
| | |----^parameter | |
| | | |----#text | |
| | | | ids | |
| | |----#text | |
| | | . | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of unsigned integers contianing the ids of the messages to enable or disable. | |
- enabled | |
|---- | |
| |---- | |
| | |----#text | |
| | | A Boolean flag determining whether the selected messages should be enabled or disabled. | |
Function varients: | |
- void glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint ids, GLboolean enabled) | |
- man4/glDebugMessageInsert.xml[glDebugMessageInsert] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- source | |
|---- | |
| |---- | |
| | |----#text | |
| | | The source of the debug message to insert. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the debug message insert. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | The user-supplied identifier of the message to insert. | |
- severity | |
|---- | |
| |---- | |
| | |----#text | |
| | | The severity of the debug messages to insert. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length string contained in the character array whose address is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | message | |
| | |----#text | |
| | | . | |
- message | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a character array containing the message to insert. | |
Function varients: | |
- void glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char message) | |
- man4/glDeleteBuffers.xml[glDeleteBuffers] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of buffer objects to be deleted. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of buffer objects to be deleted. | |
Function varients: | |
- void glDeleteBuffers(GLsizei n, const GLuint * buffers) | |
- man4/glDeleteFramebuffers.xml[glDeleteFramebuffers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of framebuffer objects to be deleted. | |
- framebuffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer to an array containing | |
| | |----^parameter | |
| | | |----#text | |
| | | | n | |
| | |----#text | |
| | | framebuffer objects to be deleted. | |
Function varients: | |
- void glDeleteFramebuffers(GLsizei n, GLuint framebuffers) | |
- man4/glDeleteProgram.xml[glDeleteProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | deleted. | |
Function varients: | |
- void glDeleteProgram(GLuint program) | |
- man4/glDeleteProgramPipelines.xml[glDeleteProgramPipelines] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of program pipeline objects to delete. | |
- pipelines | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of names of program pipeline objects to delete. | |
Function varients: | |
- void glDeleteProgramPipelines(GLsizei n, const GLuint pipelines) | |
- man4/glDeleteQueries.xml[glDeleteQueries] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of query objects to be deleted. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of query objects to be deleted. | |
Function varients: | |
- void glDeleteQueries(GLsizei n, const GLuint * ids) | |
- man4/glDeleteRenderbuffers.xml[glDeleteRenderbuffers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of renderbuffer objects to be deleted. | |
- renderbuffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer to an array containing | |
| | |----^parameter | |
| | | |----#text | |
| | | | n | |
| | |----#text | |
| | | renderbuffer objects to be deleted. | |
Function varients: | |
- void glDeleteRenderbuffers(GLsizei n, GLuint renderbuffers) | |
- man4/glDeleteSamplers.xml[glDeleteSamplers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of sampler objects to be deleted. | |
- samplers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of sampler objects to be deleted. | |
Function varients: | |
- void glDeleteSamplers(GLsizei n, const GLuint * samplers) | |
- man4/glDeleteShader.xml[glDeleteShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object to be deleted. | |
Function varients: | |
- void glDeleteShader(GLuint shader) | |
- man4/glDeleteSync.xml[glDeleteSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sync | |
|---- | |
| |---- | |
| | |----#text | |
| | | The sync object to be deleted. | |
Function varients: | |
- void glDeleteSync(GLsync sync) | |
- man4/glDeleteTextures.xml[glDeleteTextures] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of textures to be deleted. | |
- textures | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of textures to be deleted. | |
Function varients: | |
- void glDeleteTextures(GLsizei n, const GLuint * textures) | |
- man4/glDeleteTransformFeedbacks.xml[glDeleteTransformFeedbacks] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of transform feedback objects to delete. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of names of transform feedback objects to delete. | |
Function varients: | |
- void glDeleteTransformFeedbacks(GLsizei n, const GLuint ids) | |
- man4/glDeleteVertexArrays.xml[glDeleteVertexArrays] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of vertex array objects to be deleted. | |
- arrays | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array containing the | |
| | |----^parameter | |
| | | |----#text | |
| | | | n | |
| | |----#text | |
| | | names of the objects to be deleted. | |
Function varients: | |
- void glDeleteVertexArrays(GLsizei n, const GLuint arrays) | |
- man4/glDepthFunc.xml[glDepthFunc] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- func | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth comparison function. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NEVER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LESS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_EQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREATER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NOTEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEQUAL | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALWAYS | |
| | |----#text | |
| | | are accepted. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LESS | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glDepthFunc(GLenum func) | |
- man4/glDepthMask.xml[glDepthMask] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- flag | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the depth buffer is enabled for writing. | |
| | | If | |
| | |----^parameter | |
| | | |----#text | |
| | | | flag | |
| | |----#text | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | , | |
| | | depth buffer writing is disabled. | |
| | | Otherwise, it is enabled. | |
| | | Initially, depth buffer writing is enabled. | |
Function varients: | |
- void glDepthMask(GLboolean flag) | |
- man4/glDepthRange.xml[glDepthRange] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- nearVal | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mapping of the near clipping plane to window coordinates. | |
| | | The initial value is 0. | |
- farVal | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mapping of the far clipping plane to window coordinates. | |
| | | The initial value is 1. | |
Function varients: | |
- void glDepthRange(GLdouble nearVal, GLdouble farVal) | |
- void glDepthRangef(GLfloat nearVal, GLfloat farVal) | |
- man4/glDepthRangeArray.xml[glDepthRangeArray] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the first viewport whose depth range to update. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of viewports whose depth range to update. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array containing the near and far values for the | |
| | | depth range of each modified viewport. | |
Function varients: | |
- void glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble v) | |
- man4/glDepthRangeIndexed.xml[glDepthRangeIndexed] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the viewport whose depth range to update. | |
- nearVal | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mapping of the near clipping plane to window coordinates. | |
| | | The initial value is 0. | |
- farVal | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mapping of the far clipping plane to window coordinates. | |
| | | The initial value is 1. | |
Function varients: | |
- void glDepthRangeIndexed(GLuint index, GLdouble nearVal, GLdouble farVal) | |
- man4/glDetachShader.xml[glDetachShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object from which to | |
| | | detach the shader object. | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object to be | |
| | | detached. | |
Function varients: | |
- void glDetachShader(GLuint program, GLuint shader) | |
- man4/glEnable.xml[glDisable] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- cap | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant indicating a GL capability. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the switch to disable (for | |
| | |----^function | |
| | | |----#text | |
| | | | glEnablei | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glDisablei | |
| | |----#text | |
| | | only). | |
Function varients: | |
- void glEnable(GLenum cap) | |
- man4/glEnableVertexAttribArray.xml[glDisableVertexArrayAttrib] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object for | |
| | |----^function | |
| | | |----#text | |
| | | | glDisableVertexArrayAttrib | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glEnableVertexArrayAttrib | |
| | |----#text | |
| | | functions. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the generic vertex attribute to be | |
| | | enabled or disabled. | |
Function varients: | |
- void glEnableVertexAttribArray(GLuint index) | |
- void glDisableVertexAttribArray(GLuint index) | |
- void glEnableVertexArrayAttrib(GLuint vaobj, GLuint index) | |
- void glDisableVertexArrayAttrib(GLuint vaobj, GLuint index) | |
- man4/glDispatchCompute.xml[glDispatchCompute] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- num_groups_x | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of work groups to be launched in the X dimension. | |
- num_groups_y | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of work groups to be launched in the Y dimension. | |
- num_groups_z | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of work groups to be launched in the Z dimension. | |
Function varients: | |
- void glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) | |
- man4/glDispatchComputeIndirect.xml[glDispatchComputeIndirect] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- indirect | |
|---- | |
| |---- | |
| | |----#text | |
| | | The offset into the buffer object currently bound to the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | |----#text | |
| | | buffer target at | |
| | | which the dispatch parameters are stored. | |
Function varients: | |
- void glDispatchComputeIndirect(GLintptr indirect) | |
- man4/glDrawArrays.xml[glDrawArrays] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the starting index in the enabled arrays. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of indices to be rendered. | |
Function varients: | |
- void glDrawArrays(GLenum mode, GLint first, GLsizei count) | |
- man4/glDrawArraysIndirect.xml[glDrawArraysIndirect] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- indirect | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a structure containing the draw parameters. | |
Function varients: | |
- void glDrawArraysIndirect(GLenum mode, const void indirect) | |
- man4/glDrawArraysInstanced.xml[glDrawArraysInstanced] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the starting index in the enabled arrays. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of indices to be rendered. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the specified range of indices to be rendered. | |
Function varients: | |
- void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount) | |
- man4/glDrawArraysInstancedBaseInstance.xml[glDrawArraysInstancedBaseInstance] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the starting index in the enabled arrays. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of indices to be rendered. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the specified range of indices to be rendered. | |
- baseinstance | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the base instance for use in fetching instanced vertex attributes. | |
Function varients: | |
- void glDrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance) | |
- man4/glDrawBuffer.xml[glDrawBuffer] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferDrawBuffer | |
| | |----#text | |
| | | function. Must be | |
| | | zero or the name of a framebuffer object. | |
- buf | |
|---- | |
| |---- | |
| | |----#text | |
| | | For default framebuffer, the argument specifies up to four | |
| | | color buffers to be drawn into. Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NONE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_RIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK_RIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RIGHT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | are accepted. The initial | |
| | | value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | for single-buffered contexts, | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | for double-buffered contexts. For | |
| | | framebuffer objects, | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COLOR_ATTACHMENT$m$ | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NONE | |
| | |----#text | |
| | | enums are accepted, where | |
| | |----^constant | |
| | | |----#text | |
| | | | $m$ | |
| | |----#text | |
| | | is a value between 0 and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX_COLOR_ATTACHMENTS | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glDrawBuffer(GLenum buf) | |
- void glNamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf) | |
- man4/glDrawBuffers.xml[glDrawBuffers] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferDrawBuffers | |
| | |----#text | |
| | | . | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of buffers in | |
| | |----^parameter | |
| | | |----#text | |
| | | | bufs | |
| | |----#text | |
| | | . | |
- bufs | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to an array of symbolic constants specifying the | |
| | | buffers into which fragment colors or data values will be | |
| | | written. | |
Function varients: | |
- void glDrawBuffers(GLsizei n, const GLenum bufs) | |
- void glNamedFramebufferDrawBuffers(GLuint framebuffer, GLsizei n, const GLenum bufs) | |
- man4/glDrawElements.xml[glDrawElements] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
Function varients: | |
- void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) | |
- man4/glDrawElementsBaseVertex.xml[glDrawElementsBaseVertex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in indices. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- basevertex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a constant that should be added to each element of | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | when chosing elements from the enabled vertex arrays. | |
Function varients: | |
- void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, GLvoid indices, GLint basevertex) | |
- man4/glDrawElementsIndirect.xml[glDrawElementsIndirect] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of data in the buffer bound to the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ELEMENT_ARRAY_BUFFER | |
| | |----#text | |
| | | binding. | |
- indirect | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a structure containing the draw parameters. | |
Function varients: | |
- void glDrawElementsIndirect(GLenum mode, GLenum type, const void indirect) | |
- man4/glDrawElementsInstanced.xml[glDrawElementsInstanced] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the specified range of indices to be rendered. | |
Function varients: | |
- void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) | |
- man4/glDrawElementsInstancedBaseInstance.xml[glDrawElementsInstancedBaseInstance] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the specified range of indices to be rendered. | |
- baseinstance | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the base instance for use in fetching instanced vertex attributes. | |
Function varients: | |
- void glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount, GLuitn baseinstance) | |
- man4/glDrawElementsInstancedBaseVertex.xml[glDrawElementsInstancedBaseVertex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in indices. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the indexed geometry that should be drawn. | |
- basevertex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a constant that should be added to each element of | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | when chosing elements from the enabled vertex arrays. | |
Function varients: | |
- void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, GLvoid indices, GLsizei primcount, GLint basevertex) | |
- man4/glDrawElementsInstancedBaseVertexBaseInstance.xml[glDrawElementsInstancedBaseVertexBaseInstance] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in indices. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the indexed geometry that should be drawn. | |
- basevertex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a constant that should be added to each element of | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | when chosing elements from the enabled vertex arrays. | |
- baseinstance | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the base instance for use in fetching instanced vertex attributes. | |
Function varients: | |
- void glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, GLvoid indices, GLsizei primcount, GLint basevertex, GLuint baseinstance) | |
- man4/glDrawRangeElements.xml[glDrawRangeElements] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- start | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the minimum array index contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . | |
- end | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum array index contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
Function varients: | |
- void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) | |
- man4/glDrawRangeElementsBaseVertex.xml[glDrawRangeElementsBaseVertex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- start | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the minimum array index contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . | |
- end | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum array index contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements to be rendered. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in indices. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- basevertex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a constant that should be added to each element of | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | when chosing elements from the enabled vertex arrays. | |
Function varients: | |
- void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid indices, GLint basevertex) | |
- man4/glDrawTransformFeedback.xml[glDrawTransformFeedback] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a transform feedback object from which to retrieve a primitive count. | |
Function varients: | |
- void glDrawTransformFeedback(GLenum mode, GLuint id) | |
- man4/glDrawTransformFeedbackInstanced.xml[glDrawTransformFeedbackInstanced] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a transform feedback object from which to retrieve a primitive count. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the geometry to render. | |
Function varients: | |
- void glDrawTransformFeedbackInstanced(GLenum mode, GLuint id, GLsizei primcount) | |
- man4/glDrawTransformFeedbackStream.xml[glDrawTransformFeedbackStream] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a transform feedback object from which to retrieve a primitive count. | |
- stream | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the transform feedback stream from which to retrieve a primitive count. | |
Function varients: | |
- void glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream) | |
- man4/glDrawTransformFeedbackStreamInstanced.xml[glDrawTransformFeedbackStreamInstanced] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a transform feedback object from which to retrieve a primitive count. | |
- stream | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the transform feedback stream from which to retrieve a primitive count. | |
- primcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of instances of the geometry to render. | |
Function varients: | |
- void glDrawTransformFeedbackStreamInstanced(GLenum mode, GLuint id, GLuint stream, GLsizei primcount) | |
- man4/glFenceSync.xml[glFenceSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- condition | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the condition that must be met to set the sync object's state to signaled. | |
| | |----^parameter | |
| | | |----#text | |
| | | | condition | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SYNC_GPU_COMMANDS_COMPLETE | |
| | |----#text | |
| | | . | |
- flags | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined | |
| | | for this operation and | |
| | |----^parameter | |
| | | |----#text | |
| | | | flags | |
| | |----#text | |
| | | must be zero. | |
| | |----\/footnote | |
| | | |---- | |
| | | | |----^parameter | |
| | | | | |----#text | |
| | | | | | flags | |
| | | | |----#text | |
| | | | | is a placeholder for anticipated future extensions of fence sync object capabilities. | |
Function varients: | |
- GLsync glFenceSync(GLenum condition, GLbitfield flags) | |
- man4/glFinish.xml[glFinish] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
Function varients: | |
- void glFinish(void ) | |
- man4/glFlush.xml[glFlush] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
Function varients: | |
- void glFlush(void ) | |
- man4/glFlushMappedBufferRange.xml[glFlushMappedBufferRange] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glFlushMappedBufferRange | |
| | |----#text | |
| | | , which | |
| | | must be one of the buffer binding targets in the | |
| | | following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glFlushMappedNamedBufferRange | |
| | |----#text | |
| | | . | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the start of the buffer subrange, in basic machine units. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the length of the buffer subrange, in basic machine units. | |
Function varients: | |
- void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) | |
- void glFlushMappedNamedBufferRange(GLuint buffer, GLintptr offset, GLsizei length) | |
- man4/glFramebufferParameteri.xml[glFramebufferParameteri] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferParameteri | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferParameteri | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the framebuffer parameter to be modified. | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | The new value for the parameter named | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glFramebufferParameteri(GLenum target, GLenum pname, GLint param) | |
- void glNamedFramebufferParameteri(GLuint framebuffer, GLenum pname, GLint param) | |
- man4/glFramebufferRenderbuffer.xml[glFramebufferRenderbuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferRenderbuffer | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferRenderbuffer | |
| | |----#text | |
| | | . | |
- attachment | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the attachment point of the framebuffer. | |
- renderbuffertarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the renderbuffer target. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | . | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of an existing renderbuffer object of | |
| | | type | |
| | |----^parameter | |
| | | |----#text | |
| | | | renderbuffertarget | |
| | |----#text | |
| | | to | |
| | | attach. | |
Function varients: | |
- void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | |
- void glNamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | |
- man4/glFramebufferTexture.xml[glFramebufferTexture] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer is bound | |
| | | for all commands | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferTexture | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferTexture | |
| | |----#text | |
| | | . | |
- attachment | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the attachment point of the framebuffer. | |
- textarget | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferTexture1D | |
| | |----#text | |
| | | , | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferTexture2D | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferTexture3D | |
| | |----#text | |
| | | , specifies | |
| | | what type of texture is expected in the | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | parameter, or for cube | |
| | | map textures, which face is to be attached. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of an existing texture object to | |
| | | attach. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mipmap level of the texture object to | |
| | | attach. | |
Function varients: | |
- void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) | |
- void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | |
- void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | |
- void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) | |
- void glNamedFramebufferTexture(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) | |
- man4/glFramebufferTextureLayer.xml[glFramebufferTextureLayer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glFramebufferTextureLayer | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferTextureLayer | |
| | |----#text | |
| | | . | |
- attachment | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the attachment point of the framebuffer. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of an existing texture object to | |
| | | attach. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the mipmap level of the texture object to | |
| | | attach. | |
- layer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the layer of the texture object to | |
| | | attach. | |
Function varients: | |
- void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) | |
- void glNamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) | |
- man4/glFrontFace.xml[glFrontFace] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the orientation of front-facing polygons. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CW | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CCW | |
| | |----#text | |
| | | are accepted. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CCW | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glFrontFace(GLenum mode) | |
- man4/glGenBuffers.xml[glGenBuffers] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of buffer object names to be generated. | |
- buffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated buffer object names are stored. | |
Function varients: | |
- void glGenBuffers(GLsizei n, GLuint * buffers) | |
- man4/glGenerateMipmap.xml[glGenerateMipmap] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGenerateMipmap | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glGenerateTextureMipmap | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGenerateMipmap(GLenum target) | |
- void glGenerateTextureMipmap(GLuint texture) | |
- man4/glGenFramebuffers.xml[glGenFramebuffers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of framebuffer object names to generate. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated framebuffer object names are stored. | |
Function varients: | |
- void glGenFramebuffers(GLsizei n, GLuint ids) | |
- man4/glGenProgramPipelines.xml[glGenProgramPipelines] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of program pipeline object names to reserve. | |
- pipelines | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of into which the reserved names will be written. | |
Function varients: | |
- void glGenProgramPipelines(GLsizei n, GLuint pipelines) | |
- man4/glGenQueries.xml[glGenQueries] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of query object names to be generated. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated query object names are stored. | |
Function varients: | |
- void glGenQueries(GLsizei n, GLuint * ids) | |
- man4/glGenRenderbuffers.xml[glGenRenderbuffers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of renderbuffer object names to generate. | |
- renderbuffers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated renderbuffer object names are stored. | |
Function varients: | |
- void glGenRenderbuffers(GLsizei n, GLuint renderbuffers) | |
- man4/glGenSamplers.xml[glGenSamplers] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of sampler object names to generate. | |
- samplers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated sampler object names are stored. | |
Function varients: | |
- void glGenSamplers(GLsizei n, GLuint samplers) | |
- man4/glGenTextures.xml[glGenTextures] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of texture names to be generated. | |
- textures | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated texture names are stored. | |
Function varients: | |
- void glGenTextures(GLsizei n, GLuint * textures) | |
- man4/glGenTransformFeedbacks.xml[glGenTransformFeedbacks] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of transform feedback object names to reserve. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of into which the reserved names will be written. | |
Function varients: | |
- void glGenTransformFeedbacks(GLsizei n, GLuint ids) | |
- man4/glGenVertexArrays.xml[glGenVertexArrays] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- n | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of vertex array object names to generate. | |
- arrays | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array in which the generated vertex array object names are stored. | |
Function varients: | |
- void glGenVertexArrays(GLsizei n, GLuint arrays) | |
- man4/glGet.xml[glGet] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter value to be returned | |
| | | for non-indexed versions of | |
| | |----^function | |
| | | |----#text | |
| | | | glGet | |
| | |----#text | |
| | | . | |
| | | The symbolic constants in the list below are accepted. | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter value to be returned | |
| | | for indexed versions of | |
| | |----^function | |
| | | |----#text | |
| | | | glGet | |
| | |----#text | |
| | | . | |
| | | The symbolic constants in the list below are accepted. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the particular element being queried. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the value or values of the specified parameter. | |
Function varients: | |
- void glGetBooleanv(GLenum pname, GLboolean * data) | |
- man4/glGetActiveAtomicCounterBufferiv.xml[glGetActiveAtomicCounterBufferiv] | |
Copyright: Khronos Group. 2011-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object from which to retrieve information. | |
- bufferIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies index of an active atomic counter buffer. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies which parameter of the atomic counter buffer to retrieve. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which to write the retrieved information. | |
Function varients: | |
- void glGetActiveAtomicCounterBufferiv(Gluint program, GLuint bufferIndex, GLenum pname, GLint params) | |
- man4/glGetActiveAttrib.xml[glGetActiveAttrib] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the attribute variable | |
| | | to be queried. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum number of characters | |
| | | OpenGL is allowed to write in the character buffer | |
| | | indicated by | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the number of characters actually | |
| | | written by OpenGL in the string indicated by | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | (excluding the null | |
| | | terminator) if a value other than | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | is passed. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the size of the attribute | |
| | | variable. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the data type of the attribute | |
| | | variable. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns a null terminated string containing | |
| | | the name of the attribute variable. | |
Function varients: | |
- void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei length, GLint size, GLenum type, GLchar name) | |
- man4/glGetActiveSubroutineName.xml[glGetActiveSubroutineName] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing the subroutine. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query the subroutine name. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the shader subroutine uniform. | |
- bufsize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer whose address is given in | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable which is to receive the length of the shader subroutine uniform name. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array into which the name of the shader subroutine uniform will be written. | |
Function varients: | |
- void glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei length, GLchar name) | |
- man4/glGetActiveSubroutineUniform.xml[glGetActiveSubroutineUniform] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing the subroutine. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for the subroutine parameter. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the shader subroutine uniform. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter of the shader subroutine uniform to query. | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NUM_COMPATIBLE_SUBROUTINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPATIBLE_SUBROUTINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_SIZE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_NAME_LENGTH | |
| | |----#text | |
| | | . | |
- values | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a into which the queried value or values will be placed. | |
Function varients: | |
- void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint values) | |
- man4/glGetActiveSubroutineUniformName.xml[glGetActiveSubroutineUniformName] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing the subroutine. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for the subroutine parameter. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the shader subroutine uniform. | |
- bufsize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer whose address is given in | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which is written the number of characters copied into | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a buffer that will receive the name of the specified shader subroutine uniform. | |
Function varients: | |
- void glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei length, GLchar name) | |
- man4/glGetActiveUniform.xml[glGetActiveUniform] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the uniform variable to | |
| | | be queried. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum number of characters | |
| | | OpenGL is allowed to write in the character buffer | |
| | | indicated by | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the number of characters actually | |
| | | written by OpenGL in the string indicated by | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | (excluding the null | |
| | | terminator) if a value other than | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | is passed. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the size of the uniform | |
| | | variable. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the data type of the uniform | |
| | | variable. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns a null terminated string containing | |
| | | the name of the uniform variable. | |
Function varients: | |
- void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei length, GLint size, GLenum type, GLchar name) | |
- man4/glGetActiveUniformBlock.xml[glGetActiveUniformBlock] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program containing the uniform block. | |
- uniformBlockIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the uniform block within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the parameter to query. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable to receive the result of the query. | |
Function varients: | |
- void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint params) | |
- man4/glGetActiveUniformBlockName.xml[glGetActiveUniformBlockName] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program containing the uniform block. | |
- uniformBlockIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the uniform block within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformBlockName | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable to receive the number of characters that were written to | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformBlockName | |
| | |----#text | |
| | | . | |
- uniformBlockName | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address an array of characters to receive the name of the uniform block at | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformBlockIndex | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei length, GLchar uniformBlockName) | |
- man4/glGetActiveUniformName.xml[glGetActiveUniformName] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program containing the active uniform index | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformIndex | |
| | |----#text | |
| | | . | |
- uniformIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the active uniform whose name to query. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer, in units of | |
| | |----code | |
| | | |----#text | |
| | | | GLchar | |
| | |----#text | |
| | | , of the buffer whose address is specified in | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformName | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformName | |
| | |----#text | |
| | | . | |
- uniformName | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a buffer into which the GL will place the name of the active uniform at | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformIndex | |
| | |----#text | |
| | | within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei length, GLchar uniformName) | |
- man4/glGetActiveUniformsiv.xml[glGetActiveUniformsiv] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be queried. | |
- uniformCount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies both the number of elements in the array of | |
| | | indices | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformIndices | |
| | |----#text | |
| | | and the number of | |
| | | parameters written to | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | upon | |
| | | successful return. | |
- uniformIndices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformCount | |
| | |----#text | |
| | | integers containing the | |
| | | indices of uniforms within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | whose | |
| | | parameter | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | should be queried. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the property of each uniform in | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformIndices | |
| | |----#text | |
| | | that should be written | |
| | | into the corresponding element of | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformCount | |
| | |----#text | |
| | | integers which are to | |
| | | receive the value of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for each | |
| | | uniform in | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformIndices | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint uniformIndices, GLenum pname, GLint params) | |
- man4/glGetAttachedShaders.xml[glGetAttachedShaders] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- maxCount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the array for storing | |
| | | the returned object names. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the number of names actually returned | |
| | | in | |
| | |----^parameter | |
| | | |----#text | |
| | | | shaders | |
| | |----#text | |
| | | . | |
- shaders | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array that is used to return the | |
| | | names of attached shader objects. | |
Function varients: | |
- void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei count, GLuint shaders) | |
- man4/glGetAttribLocation.xml[glGetAttribLocation] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to a null terminated string containing | |
| | | the name of the attribute variable whose location is | |
| | | to be queried. | |
Function varients: | |
- GLint glGetAttribLocation(GLuint program, const GLchar name) | |
- man4/glGetBufferParameter.xml[glGetBufferParameter] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetBufferParameteriv | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetBufferParameteri64v | |
| | |----#text | |
| | | . Must be | |
| | | one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedBufferParameteriv | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedBufferParameteri64v | |
| | |----#text | |
| | | . | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object parameter to | |
| | | query. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested parameter. | |
Function varients: | |
- void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data) | |
- void glGetBufferParameteri64v(GLenum target, GLenum value, GLint64 * data) | |
- void glGetNamedBufferParameteriv(GLuint buffer, GLenum pname, GLint params) | |
- void glGetNamedBufferParameteri64v(GLuint buffer, GLenum pname, GLint64 params) | |
- man4/glGetBufferPointerv.xml[glGetBufferPointerv] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetBufferPointerv | |
| | |----#text | |
| | | , which must | |
| | | be one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedBufferPointerv | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the pointer to be returned. Must | |
| | | be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BUFFER_MAP_POINTER | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the pointer value specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params) | |
- void glGetNamedBufferPointerv(GLuint buffer, GLenum pname, void * params) | |
- man4/glGetBufferSubData.xml[glGetBufferSubData] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetBufferSubData | |
| | |----#text | |
| | | , which must | |
| | | be one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedBufferSubData | |
| | |----#text | |
| | | . | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the offset into the buffer object's data store | |
| | | from which data will be returned, measured in bytes. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size in bytes of the data store region being returned. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where buffer object data is returned. | |
Function varients: | |
- void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) | |
- void glGetNamedBufferSubData(GLuint buffer, GLintptr offset, GLsizei size, void data) | |
- man4/glGetCompressedTexImage.xml[glGetCompressedTexImage] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetCompressedTexImage | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetnCompressedTexImage | |
| | |----#text | |
| | | functions. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | are accepted. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetCompressedTextureImage | |
| | |----#text | |
| | | function. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number of the desired image. | |
| | | Level 0 is the base image level. Level $n$ is the $n$-th mipmap reduction image. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer | |
| | |----^parameter | |
| | | |----#text | |
| | | | pixels | |
| | |----#text | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetCompressedTextureImage | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetnCompressedTexImage | |
| | |----#text | |
| | | functions. | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the compressed texture image. | |
Function varients: | |
- void glGetCompressedTexImage(GLenum target, GLint level, GLvoid * pixels) | |
- void glGetnCompressedTexImage(GLenum target, GLint level, GLsizei bufSize, void pixels) | |
- void glGetCompressedTextureImage(GLuint texture, GLint level, GLsizei bufSize, void pixels) | |
- man4/glGetCompressedTextureSubImage.xml[glGetCompressedTextureSubImage] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the source texture object. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | . In specific, buffer and | |
| | | multisample textures are not permitted. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level $n$ is the $n$th | |
| | | mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the z direction within the texture | |
| | | array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. Must be a | |
| | | multiple of the compressed block's width, unless the | |
| | |----^parameter | |
| | | |----#text | |
| | | | offset | |
| | |----#text | |
| | | is zero and the size equals the texture | |
| | | image size. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. Must be a | |
| | | multiple of the compressed block's height, unless the | |
| | |----^parameter | |
| | | |----#text | |
| | | | offset | |
| | |----#text | |
| | | is zero and the size equals the texture | |
| | | image size. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture subimage. Must be a | |
| | | multiple of the compressed block's depth, unless the | |
| | |----^parameter | |
| | | |----#text | |
| | | | offset | |
| | |----#text | |
| | | is zero and the size equals the texture | |
| | | image size. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer to receive the retrieved | |
| | | pixel data. | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the texture subimage. Should be a pointer to an array | |
| | | of the type specified by type. | |
Function varients: | |
- void glGetCompressedTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void pixels) | |
- man4/glGetDebugMessageLog.xml[glGetDebugMessageLog] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of debug messages to retrieve from the log. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | The size of the buffer whose address is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | messageLog | |
| | |----#text | |
| | | . | |
- sources | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of variables to receive the sources of the retrieved messages. | |
- types | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of variables to receive the types of the retrieved messages. | |
- ids | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of unsigned integers to receive the ids of the retrieved messages. | |
- severities | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of variables to receive the severites of the retrieved messages. | |
- lengths | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of variables to receive the lengths of the received messages. | |
- messageLog | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of an array of characters that will receive the messages. | |
Function varients: | |
- GLuint glGetDebugMessageLog(GLuint count, GLsizei bufSize, GLenum sources, Glenum types, GLuint ids, GLenum severities, GLsizei lengths, GLchar messageLog) | |
- man4/glGetError.xml[glGetError] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
Function varients: | |
- GLenum glGetError(void ) | |
- man4/glGetFragDataIndex.xml[glGetFragDataIndex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the program containing varying out variable whose binding to query | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the user-defined varying out variable whose index to query | |
Function varients: | |
- GLint glGetFragDataIndex(GLuint program, const char * name) | |
- man4/glGetFragDataLocation.xml[glGetFragDataLocation] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the program containing varying out variable whose binding to query | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the user-defined varying out variable whose binding to query | |
Function varients: | |
- GLint glGetFragDataLocation(GLuint program, const char * name) | |
- man4/glGetFramebufferAttachmentParameter.xml[glGetFramebufferAttachmentParameter] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetFramebufferAttachmentParameteriv | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedFramebufferAttachmentParameteriv | |
| | |----#text | |
| | | . | |
- attachment | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the attachment of the framebuffer object to | |
| | | query. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter of | |
| | |----^parameter | |
| | | |----#text | |
| | | | attachment | |
| | |----#text | |
| | | to query. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the value of parameter | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for | |
| | |----^parameter | |
| | | |----#text | |
| | | | attachment | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint params) | |
- void glGetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, GLenum attachment, GLenum pname, GLint params) | |
- man4/glGetFramebufferParameter.xml[glGetFramebufferParameter] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetFramebufferParameteriv | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedFramebufferParameteriv | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter of the framebuffer object to | |
| | | query. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the value of parameter | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for the framebuffer object. | |
Function varients: | |
- void glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint params) | |
- void glGetNamedFramebufferParameteriv(GLuint framebuffer, GLenum pname, GLint param) | |
- man4/glGetGraphicsResetStatus.xml[glGetGraphicsResetStatus] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
Function varients: | |
- GLenum glGetGraphicsResetStatus(void ) | |
- man4/glGetInternalformat.xml[glGetInternalformat] | |
Copyright: Khronos Group. 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Indicates the usage of the internal format. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | . | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format about which to retrieve information. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of information to query. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum number of basic machine units that may be written to | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | by the function. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which to write the retrieved information. | |
Function varients: | |
- void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint params) | |
- void glGetInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 params) | |
- man4/glGetMultisample.xml[glGetMultisample] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sample parameter name. | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SAMPLE_POSITION | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the sample whose position to query. | |
- val | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array to receive the position of the sample. | |
Function varients: | |
- void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat val) | |
- man4/glGetRenderbufferParameter.xml[glGetNamedRenderbufferParameteriv] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the renderbuffer object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetRenderbufferParameteriv | |
| | |----#text | |
| | | . | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | . | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the renderbuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetNamedRenderbufferParameteriv | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter of the renderbuffer object to | |
| | | query. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the value of parameter | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for the renderbuffer object. | |
Function varients: | |
- void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint params) | |
- void glGetNamedRenderbufferParameteriv(GLuint renderbuffer, GLenum pname, GLint params) | |
- man4/glGetTexImage.xml[glGetnTexImage] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexImage | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetnTexImage | |
| | |----#text | |
| | | functions. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , and | |
| | |----code | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | are acceptable. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number of the desired image. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | is the | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | th | |
| | | mipmap reduction image. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pixel format for the returned data. The supported | |
| | | formats are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREEN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BLUE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREEN_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BLUE_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA_INTEGER | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pixel type for the returned data. The supported | |
| | | types are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_HALF_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_24_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10F_11F_11F_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_5_9_9_9_REV | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT_32_UNSIGNED_INT_24_8_REV | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer | |
| | |----^parameter | |
| | | |----#text | |
| | | | pixels | |
| | |----#text | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetnTexImage | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureImage | |
| | |----#text | |
| | | functions. | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the texture image. Should be a pointer to an array of | |
| | | the type specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | type | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) | |
- void glGetnTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void pixels) | |
- void glGetTextureImage(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void pixels) | |
- man4/glGetUniform.xml[glGetnUniformdv] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be queried. | |
- location | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the location of the uniform variable to be | |
| | | queried. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the value of the specified uniform variable. | |
Function varients: | |
- void glGetUniformfv(GLuint program, GLint location, GLfloat params) | |
- void glGetUniformiv(GLuint program, GLint location, GLint params) | |
- void glGetUniformuiv(GLuint program, GLint location, GLuint params) | |
- void glGetUniformdv(GLuint program, GLint location, GLdouble params) | |
- void glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat params) | |
- void glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint params) | |
- void glGetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint params) | |
- void glGetnUniformdv(GLuint program, GLint location, GLsizei bufSize, GLdouble params) | |
- man4/glGetObjectLabel.xml[glGetObjectLabel] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- identifier | |
|---- | |
| |---- | |
| | |----#text | |
| | | The namespace from which the name of the object is allocated. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the object whose label to retrieve. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the buffer whose address is in | |
| | |----^parameter | |
| | | |----#text | |
| | | | label | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable to receive the length of the object label. | |
- label | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a string that will receive the object label. | |
Function varients: | |
- void glGetObjectLabel(GLenum identifier, GLuint name, GLsizei bifSize, GLsizei * length, char * label) | |
- man4/glGetObjectPtrLabel.xml[glGetObjectPtrLabel] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- ptr | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the sync object whose label to retrieve. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the buffer whose address is in | |
| | |----^parameter | |
| | | |----#text | |
| | | | label | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable to receive the length of the object label. | |
- label | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a string that will receive the object label. | |
Function varients: | |
- void glGetObjectPtrLabel(void * ptr, GLsizei bifSize, GLsizei * length, char * label) | |
- man4/glGetPointerv.xml[glGetPointerv] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the pointer to be returned. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEBUG_CALLBACK_FUNCTION | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEBUG_CALLBACK_USER_PARAM | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the pointer value specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetPointerv(GLenum pname, GLvoid ** params) | |
- man4/glGetProgram.xml[glGetProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the object parameter. Accepted | |
| | | symbolic names are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DELETE_STATUS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINK_STATUS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VALIDATE_STATUS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INFO_LOG_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATTACHED_SHADERS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_ATOMIC_COUNTER_BUFFERS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_ATTRIBUTES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_ATTRIBUTE_MAX_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_UNIFORMS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_UNIFORM_BLOCKS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_UNIFORM_MAX_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPUTE_WORK_GROUP_SIZE | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROGRAM_BINARY_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER_MODE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_VARYINGS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_VERTICES_OUT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_INPUT_TYPE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_OUTPUT_TYPE | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested object parameter. | |
Function varients: | |
- void glGetProgramiv(GLuint program, GLenum pname, GLint params) | |
- man4/glGetProgramBinary.xml[glGetProgramBinary] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program object whose binary representation to retrieve. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer whose address is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | binary | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable to receive the number of bytes written into | |
| | |----^parameter | |
| | | |----#text | |
| | | | binary | |
| | |----#text | |
| | | . | |
- binaryFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL. | |
- binary | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address an array into which the GL will return | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | 's binary representation. | |
Function varients: | |
- void glGetProgramBinary(GLuint program, GLsizei bufsize, GLsizei length, GLenum binaryFormat, void binary) | |
- man4/glGetProgramInfoLog.xml[glGetProgramInfoLog] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object whose information | |
| | | log is to be queried. | |
- maxLength | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the character buffer for | |
| | | storing the returned information log. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the length of the string returned in | |
| | |----^parameter | |
| | | |----#text | |
| | | | infoLog | |
| | |----#text | |
| | | (excluding the null | |
| | | terminator). | |
- infoLog | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of characters that is used | |
| | | to return the information log. | |
Function varients: | |
- void glGetProgramInfoLog(GLuint program, GLsizei maxLength, GLsizei length, GLchar infoLog) | |
- man4/glGetProgramInterface.xml[glGetProgramInterface] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose interface to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | to query. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the parameter within | |
| | |----^parameter | |
| | | |----#text | |
| | | | programInterface | |
| | |----#text | |
| | | to query. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable to retrieve the value of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for the program interface. | |
Function varients: | |
- void glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint * params) | |
- man4/glGetProgramPipeline.xml[glGetProgramPipeline] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program pipeline object whose parameter retrieve. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the parameter to retrieve. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which will be written the value or values | |
| | | of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for | |
| | |----^parameter | |
| | | |----#text | |
| | | | pipeline | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint params) | |
- man4/glGetProgramPipelineInfoLog.xml[glGetProgramPipelineInfoLog] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program pipeline object from which to retrieve the info log. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the maximum number of characters, including the null terminator, that may be written into | |
| | |----^parameter | |
| | | |----#text | |
| | | | infoLog | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which will be written the number of characters written into | |
| | |----^parameter | |
| | | |----#text | |
| | | | infoLog | |
| | |----#text | |
| | | . | |
- infoLog | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of characters into which will be written the info log for | |
| | |----^parameter | |
| | | |----#text | |
| | | | pipeline | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei length, GLchar infoLog) | |
- man4/glGetProgramResource.xml[glGetProgramResource] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose resources to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | containing the resource named | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const Glenum * props, GLsizei bufSize, GLsizei * length, GLint * params) | |
- man4/glGetProgramResourceIndex.xml[glGetProgramResourceIndex] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose resources to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | containing the resource named | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the resource to query the index of. | |
Function varients: | |
- GLuint glGetProgramResourceIndex(GLuint program, GLenum programInterface, const char * name) | |
- man4/glGetProgramResourceLocation.xml[glGetProgramResourceLocation] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose resources to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | containing the resource named | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the resource to query the location of. | |
Function varients: | |
- GLint glGetProgramResourceLocation(GLuint program, GLenum programInterface, const char * name) | |
- man4/glGetProgramResourceLocationIndex.xml[glGetProgramResourceLocationIndex] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose resources to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | containing the resource named | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the resource to query the location of. | |
Function varients: | |
- GLint glGetProgramResourceLocationIndex(GLuint program, GLenum programInterface, const char * name) | |
- man4/glGetProgramResourceName.xml[glGetProgramResourceName] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object whose resources to query. | |
- programInterface | |
|---- | |
| |---- | |
| | |----#text | |
| | | A token identifying the interface within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | containing the indexed resource. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the resource within | |
| | |----^parameter | |
| | | |----#text | |
| | | | programInterface | |
| | |----#text | |
| | | of | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | The size of the character array whose address is given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable which will receive the length of the resource name. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a character array into which will be written the name of the resource. | |
Function varients: | |
- void glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, char * name) | |
- man4/glGetProgramStage.xml[glGetProgramStage] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing shader stage. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for the subroutine parameter. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter of the shader to query. | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_SUBROUTINE_UNIFORMS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_SUBROUTINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH | |
| | |----#text | |
| | | , | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ACTIVE_SUBROUTINE_MAX_LENGTH | |
| | |----#text | |
| | | . | |
- values | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable into which the queried value or values will be placed. | |
Function varients: | |
- void glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint values) | |
- man4/glGetQueryIndexed.xml[glGetQueryIndexed] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a query object target. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED_CONSERVATIVE | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PRIMITIVES_GENERATED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIME_ELAPSED | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIMESTAMP | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the query object target. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a query object target parameter. | |
| | | Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CURRENT_QUERY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_COUNTER_BITS | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested data. | |
Function varients: | |
- void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint * params) | |
- man4/glGetQueryiv.xml[glGetQueryiv] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a query object target. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ANY_SAMPLES_PASSED_CONSERVATIVE | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PRIMITIVES_GENERATED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIME_ELAPSED | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIMESTAMP | |
| | |----#text | |
| | | . | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a query object target parameter. | |
| | | Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CURRENT_QUERY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_COUNTER_BITS | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested data. | |
Function varients: | |
- void glGetQueryiv(GLenum target, GLenum pname, GLint * params) | |
- man4/glGetQueryObject.xml[glGetQueryObject] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a query object. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a query object parameter. | |
| | | Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_RESULT | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_RESULT_AVAILABLE | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | If a buffer is bound to the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_RESULT_BUFFER | |
| | |----#text | |
| | | target, then | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | is treated as an offset to a location within that buffer's data store to receive the result of the query. If | |
| | | no buffer is bound to | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_QUERY_RESULT_BUFFER | |
| | |----#text | |
| | | , then | |
| | |----^parameter | |
| | | |----#text | |
| | | | params | |
| | |----#text | |
| | | is | |
| | | treated as an address in client memory of a variable to receive the resulting data. | |
Function varients: | |
- void glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) | |
- man4/glGetSamplerParameter.xml[glGetSamplerParameter] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sampler | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies name of the sampler object from which to retrieve parameters. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a sampler parameter. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAG_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_LOD_BIAS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_S | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_T | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_R | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BORDER_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_MODE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_FUNC | |
| | |----#text | |
| | | are accepted. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the sampler parameters. | |
Function varients: | |
- void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params) | |
- man4/glGetShader.xml[glGetShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object to be | |
| | | queried. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the object parameter. Accepted | |
| | | symbolic names are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_TYPE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DELETE_STATUS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMPILE_STATUS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INFO_LOG_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_SOURCE_LENGTH | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested object parameter. | |
Function varients: | |
- void glGetShaderiv(GLuint shader, GLenum pname, GLint params) | |
- man4/glGetShaderInfoLog.xml[glGetShaderInfoLog] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object whose information | |
| | | log is to be queried. | |
- maxLength | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the character buffer for | |
| | | storing the returned information log. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the length of the string returned in | |
| | |----^parameter | |
| | | |----#text | |
| | | | infoLog | |
| | |----#text | |
| | | (excluding the null | |
| | | terminator). | |
- infoLog | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of characters that is used | |
| | | to return the information log. | |
Function varients: | |
- void glGetShaderInfoLog(GLuint shader, GLsizei maxLength, GLsizei length, GLchar infoLog) | |
- man4/glGetShaderPrecisionFormat.xml[glGetShaderPrecisionFormat] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- shaderType | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of shader whose precision to query. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shaderType | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- precisionType | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the numeric format whose precision and range to query. | |
- range | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of array of two integers into which encodings of the implementation's | |
| | | numeric range are returned. | |
- precision | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an integer into which the numeric precision of the implementation | |
| | | is written. | |
Function varients: | |
- void glGetShaderPrecisionFormat(GLenum shaderType, GLenum precisionType, GLint range, GLint precision) | |
- man4/glGetShaderSource.xml[glGetShaderSource] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader object to be | |
| | | queried. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the character buffer for | |
| | | storing the returned source code string. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the length of the string returned in | |
| | |----^parameter | |
| | | |----#text | |
| | | | source | |
| | |----#text | |
| | | (excluding the null | |
| | | terminator). | |
- source | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of characters that is used | |
| | | to return the source code string. | |
Function varients: | |
- void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei length, GLchar source) | |
- man4/glGetString.xml[glGetString] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant, one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VENDOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERSION | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADING_LANGUAGE_VERSION | |
| | |----#text | |
| | | . | |
| | | Additionally, | |
| | |----^function | |
| | | |----#text | |
| | | | glGetStringi | |
| | |----#text | |
| | | accepts the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_EXTENSIONS | |
| | |----#text | |
| | | token. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glGetStringi | |
| | |----#text | |
| | | , specifies the index of the string to return. | |
Function varients: | |
- const GLubyte glGetString(GLenum name) | |
- man4/glGetSubroutineIndex.xml[glGetSubroutineIndex] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing shader stage. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for subroutine uniform index. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the subroutine uniform whose index to query. | |
Function varients: | |
- GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar name) | |
- man4/glGetSubroutineUniformLocation.xml[glGetSubroutineUniformLocation] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the program containing shader stage. | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for subroutine uniform index. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the subroutine uniform whose index to query. | |
Function varients: | |
- GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar name) | |
- man4/glGetSync.xml[glGetSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sync | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sync object whose properties to query. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the parameter whose value to retrieve from the sync object specified in | |
| | |----^parameter | |
| | | |----#text | |
| | | | sync | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer whose address is given in | |
| | |----^parameter | |
| | | |----#text | |
| | | | values | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an variable to receive the number of integers placed in | |
| | |----^parameter | |
| | | |----#text | |
| | | | values | |
| | |----#text | |
| | | . | |
- values | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array to receive the values of the queried parameter. | |
Function varients: | |
- void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei length, GLint values) | |
- man4/glGetTexLevelParameter.xml[glGetTexLevelParameter] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexLevelParameterfv | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexLevelParameteriv | |
| | |----#text | |
| | | functions. Must be one | |
| | | of the following values: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureLevelParameterfv | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureLevelParameteriv | |
| | |----#text | |
| | | functions. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number of the desired image. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | is the | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | th | |
| | | mipmap reduction image. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a texture parameter. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WIDTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_HEIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_DEPTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_INTERNAL_FORMAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RED_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_GREEN_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BLUE_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_ALPHA_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_DEPTH_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPRESSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPRESSED_IMAGE_SIZE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER_OFFSET | |
| | |----#text | |
| | | are accepted. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested data. | |
Function varients: | |
- void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat * params) | |
- void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * params) | |
- void glGetTextureLevelParameterfv(GLuint texture, GLint level, GLenum pname, GLfloat params) | |
- void glGetTextureLevelParameteriv(GLuint texture, GLint level, GLenum pname, GLint params) | |
- man4/glGetTexParameter.xml[glGetTexParameter] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexParameterfv | |
| | |----#text | |
| | | , | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexParameteriv | |
| | |----#text | |
| | | , | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexParameterIiv | |
| | |----#text | |
| | | , and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTexParameterIuiv | |
| | |----#text | |
| | | functions. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | are accepted. | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureParameterfv | |
| | |----#text | |
| | | , | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureParameteriv | |
| | |----#text | |
| | | , | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureParameterIiv | |
| | |----#text | |
| | | , and | |
| | |----^function | |
| | | |----#text | |
| | | | glGetTextureParameterIuiv | |
| | |----#text | |
| | | functions. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a texture parameter. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL_TEXTURE_MODE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_IMAGE_FORMAT_COMPATIBILITY_TYPE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BASE_LEVEL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BORDER_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_MODE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_FUNC | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_IMMUTABLE_FORMAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_IMMUTABLE_LEVELS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_LOD_BIAS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAG_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LEVEL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_R | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_G | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_B | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_A | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_TARGET | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_VIEW_MIN_LAYER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_VIEW_MIN_LEVEL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_VIEW_NUM_LAYERS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_VIEW_NUM_LEVELS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_S | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_T | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_R | |
| | |----#text | |
| | | are accepted. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the texture parameters. | |
Function varients: | |
- void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) | |
- void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) | |
- void glGetTexParameterIiv(GLenum target, GLenum pname, GLint * params) | |
- void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint * params) | |
- void glGetTextureParameterfv(GLuint texture, GLenum pname, GLfloat params) | |
- void glGetTextureParameteriv(GLuint texture, GLenum pname, GLint params) | |
- void glGetTextureParameterIiv(GLuint texture, GLenum pname, GLint params) | |
- void glGetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint params) | |
- man4/glGetTextureSubImage.xml[glGetTextureSubImage] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the source texture object. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | . In specific, buffer and | |
| | | multisample textures are not permitted. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. Level 0 is the base | |
| | | image level. Level $n$ is the $n$th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture | |
| | | array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture | |
| | | array. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the z direction within the texture | |
| | | array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. The following symbolic | |
| | | values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. The following | |
| | | symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer to receive the retrieved | |
| | | pixel data. | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the texture subimage. Should be a pointer to an array | |
| | | of the type specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | type | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glGetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void pixels) | |
- man4/glGetTransformFeedback.xml[glGetTransformFeedback] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- xfb | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of an existing transform feedback object, or zero for | |
| | | the default transform feedback object. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Property to use for the query. Must be one of the values: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER_BINDING | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER_START | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BUFFER_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_PAUSED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_ACTIVE | |
| | |----#text | |
| | | . | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Index of the transform feedback stream (for indexed | |
| | | state). | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a buffer into which will be written the | |
| | | requested state information. | |
Function varients: | |
- void glGetTransformFeedbackiv(GLuint xfb, GLenum pname, GLint param) | |
- man4/glGetTransformFeedbackVarying.xml[glGetTransformFeedbackVarying] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the target program object. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the varying variable whose information to retrieve. | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | The maximum number of characters, including the null terminator, that may be written into | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable which will receive the number of characters written into | |
| | |----^parameter | |
| | | |----#text | |
| | | | name | |
| | |----#text | |
| | | , | |
| | | excluding the null-terminator. If | |
| | |----^parameter | |
| | | |----#text | |
| | | | length | |
| | |----#text | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | NULL | |
| | |----#text | |
| | | no length is returned. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable that will receive the size of the varying. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a variable that will recieve the type of the varying. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a buffer into which will be written the name of the varying. | |
Function varients: | |
- void glGetTransformFeedbackVarying(GLuin program, GLuin index, GLsize bufSize, GLsizei length, GLsizei size, GLenum type, char name) | |
- man4/glGetUniformBlockIndex.xml[glGetUniformBlockIndex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program containing the uniform block. | |
- uniformBlockName | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve. | |
Function varients: | |
- GLuint glGetUniformBlockIndex(GLuint program, const GLchar uniformBlockName) | |
- man4/glGetUniformIndices.xml[glGetUniformIndices] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program containing uniforms whose indices to query. | |
- uniformCount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of uniforms whose indices to query. | |
- uniformNames | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of pointers to buffers containing the names of the queried uniforms. | |
- uniformIndices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array that will receive the indices of the uniforms. | |
Function varients: | |
- void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar * uniformNames, GLuint uniformIndices) | |
- man4/glGetUniformLocation.xml[glGetUniformLocation] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object to be | |
| | | queried. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to a null terminated string containing | |
| | | the name of the uniform variable whose location is | |
| | | to be queried. | |
Function varients: | |
- GLint glGetUniformLocation(GLuint program, const GLchar name) | |
- man4/glGetUniformSubroutine.xml[glGetUniformSubroutine] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for subroutine uniform index. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- location | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the location of the subroutine uniform. | |
- values | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a variable to receive the value or values of the subroutine uniform. | |
Function varients: | |
- void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint values) | |
- man4/glGetVertexArrayIndexed.xml[glGetVertexArrayIndexed] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a vertex array object. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the vertex array object attribute. Must | |
| | | be a number between 0 and | |
| | | ( | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_MAX_VERTEX_ATTRIBS | |
| | |----#text | |
| | | - 1). | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the property to be used for the query. For | |
| | |----^function | |
| | | |----#text | |
| | | | glGetVertexArrayIndexediv | |
| | |----#text | |
| | | , it must be one of | |
| | | the following values: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_ENABLED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_STRIDE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_TYPE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_NORMALIZED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_LONG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_DIVISOR | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_RELATIVE_OFFSET | |
| | |----#text | |
| | | . For | |
| | |----^function | |
| | | |----#text | |
| | | | glGetVertexArrayIndexed64v | |
| | |----#text | |
| | | , it must be equal to | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_BINDING_OFFSET | |
| | |----#text | |
| | | . | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested value. | |
Function varients: | |
- void glGetVertexArrayIndexed64iv(GLuint vaobj, GLuint index, GLenum pname, GLint64 param) | |
- man4/glGetVertexArrayiv.xml[glGetVertexArrayiv] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | specifies the name of the vertex array object to use for the | |
| | | query. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Name of the property to use for the query. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ELEMENT_ARRAY_BUFFER_BINDING | |
| | |----#text | |
| | | . | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested value. | |
Function varients: | |
- void glGetVertexArrayiv(GLuint vaobj, GLenum pname, GLint param) | |
- man4/glGetVertexAttrib.xml[glGetVertexAttrib] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the generic vertex attribute | |
| | | parameter to be queried. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of the vertex | |
| | | attribute parameter to be queried. Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_ENABLED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_SIZE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_STRIDE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_TYPE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_NORMALIZED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_DIVISOR | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CURRENT_VERTEX_ATTRIB | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the requested data. | |
Function varients: | |
- void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble params) | |
- void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat params) | |
- void glGetVertexAttribiv(GLuint index, GLenum pname, GLint params) | |
- void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint params) | |
- void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint params) | |
- void glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble params) | |
- man4/glGetVertexAttribPointerv.xml[glGetVertexAttribPointerv] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the generic vertex attribute | |
| | | parameter to be returned. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of the generic | |
| | | vertex attribute parameter to be returned. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_POINTER | |
| | |----#text | |
| | | . | |
- pointer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the pointer value. | |
Function varients: | |
- void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid * pointer) | |
- man4/glHint.xml[glHint] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant indicating the behavior to be controlled. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_SMOOTH_HINT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POLYGON_SMOOTH_HINT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPRESSION_HINT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER_DERIVATIVE_HINT | |
| | |----#text | |
| | | are accepted. | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant indicating the desired behavior. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FASTEST | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NICEST | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DONT_CARE | |
| | |----#text | |
| | | are accepted. | |
Function varients: | |
- void glHint(GLenum target, GLenum mode) | |
- man4/glInvalidateBufferData.xml[glInvalidateBufferData] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a buffer object whose data store to invalidate. | |
Function varients: | |
- void glInvalidateBufferData(GLuint buffer) | |
- man4/glInvalidateBufferSubData.xml[glInvalidateBufferSubData] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a buffer object, a subrange of whose data store to invalidate. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The offset within the buffer's data store of the start of the range to be invalidated. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the range within the buffer's data store to be invalidated. | |
Function varients: | |
- void glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length) | |
- man4/glInvalidateFramebuffer.xml[glInvalidateFramebuffer] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer object is | |
| | | attached for | |
| | |----^function | |
| | | |----#text | |
| | | | glInvalidateFramebuffer | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glInvalidateNamedFramebufferData | |
| | |----#text | |
| | | . | |
- numAttachments | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of entries in the | |
| | |----^parameter | |
| | | |----#text | |
| | | | attachments | |
| | |----#text | |
| | | array. | |
- attachments | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to an array identifying the | |
| | | attachments to be invalidated. | |
Function varients: | |
- void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments) | |
- void glInvalidateNamedFramebufferData(GLuint framebuffer, GLsizei numAttachments, const GLenum attachments) | |
- man4/glInvalidateSubFramebuffer.xml[glInvalidateNamedFramebufferSubData] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the framebuffer object is | |
| | | attached for | |
| | |----^function | |
| | | |----#text | |
| | | | glInvalidateSubFramebuffer | |
| | |----#text | |
| | | . | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glInvalidateNamedFramebufferSubData | |
| | |----#text | |
| | | . | |
- numAttachments | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of entries in the | |
| | |----^parameter | |
| | | |----#text | |
| | | | attachments | |
| | |----#text | |
| | | array. | |
- attachments | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to an array identifying the | |
| | | attachments to be invalidated. | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the X offset of the region to be invalidated. | |
- y | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the Y offset of the region to be invalidated. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the region to be invalidated. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the region to be invalidated. | |
Function varients: | |
- void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLint width, GLint height) | |
- void glInvalidateNamedFramebufferSubData(GLuint framebuffer, GLsizei numAttachments, const GLenum attachments, GLint x, GLint y, GLsizei width, GLsizei height) | |
- man4/glInvalidateTexImage.xml[glInvalidateTexImage] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a texture object to invalidate. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | The level of detail of the texture object to invalidate. | |
Function varients: | |
- void glInvalidateTexImage(GLuint texture, GLint level) | |
- man4/glInvalidateTexSubImage.xml[glInvalidateTexSubImage] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a texture object a subregion of which to invalidate. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | The level of detail of the texture object within which the region resides. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The X offset of the region to be invalidated. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Y offset of the region to be invalidated. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The Z offset of the region to be invalidated. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | The width of the region to be invalidated. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | The height of the region to be invalidated. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | The depth of the region to be invalidated. | |
Function varients: | |
- void glInvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) | |
- man4/glIsBuffer.xml[glIsBuffer] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a buffer object. | |
Function varients: | |
- GLboolean glIsBuffer(GLuint buffer) | |
- man4/glIsEnabled.xml[glIsEnabled] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- cap | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant indicating a GL capability. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the capability. | |
Function varients: | |
- GLboolean glIsEnabled(GLenum cap) | |
- man4/glIsFramebuffer.xml[glIsFramebuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a framebuffer object. | |
Function varients: | |
- GLboolean glIsFramebuffer(GLuint framebuffer) | |
- man4/glIsProgram.xml[glIsProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a potential program object. | |
Function varients: | |
- GLboolean glIsProgram(GLuint program) | |
- man4/glIsProgramPipeline.xml[glIsProgramPipeline] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a program pipeline object. | |
Function varients: | |
- GLboolean glIsProgramPipeline(GLuint pipeline) | |
- man4/glIsQuery.xml[glIsQuery] | |
Copyright: Sams Publishing 2005 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a query object. | |
Function varients: | |
- GLboolean glIsQuery(GLuint id) | |
- man4/glIsRenderbuffer.xml[glIsRenderbuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a renderbuffer object. | |
Function varients: | |
- GLboolean glIsRenderbuffer(GLuint renderbuffer) | |
- man4/glIsSampler.xml[glIsSampler] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a sampler object. | |
Function varients: | |
- GLboolean glIsSampler(GLuint id) | |
- man4/glIsShader.xml[glIsShader] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a potential shader object. | |
Function varients: | |
- GLboolean glIsShader(GLuint shader) | |
- man4/glIsSync.xml[glIsSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sync | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a sync object. | |
Function varients: | |
- GLboolean glIsSync(GLsync sync) | |
- man4/glIsTexture.xml[glIsTexture] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a texture. | |
Function varients: | |
- GLboolean glIsTexture(GLuint texture) | |
- man4/glIsTransformFeedback.xml[glIsTransformFeedback] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a transform feedback object. | |
Function varients: | |
- GLboolean glIsTransformFeedback(GLuint id) | |
- man4/glIsVertexArray.xml[glIsVertexArray] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- array | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a value that may be the name of a vertex array object. | |
Function varients: | |
- GLboolean glIsVertexArray(GLuint array) | |
- man4/glLineWidth.xml[glLineWidth] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of rasterized lines. | |
| | | The initial value is 1. | |
Function varients: | |
- void glLineWidth(GLfloat width) | |
- man4/glLinkProgram.xml[glLinkProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the program object to be linked. | |
Function varients: | |
- void glLinkProgram(GLuint program) | |
- man4/glLogicOp.xml[glLogicOp] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- opcode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a symbolic constant that selects a logical operation. | |
| | | The following symbols are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_CLEAR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SET | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COPY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COPY_INVERTED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INVERT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_AND | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NAND | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_OR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_XOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_EQUIV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_AND_REVERSE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_AND_INVERTED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_OR_REVERSE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_OR_INVERTED | |
| | |----#text | |
| | | . The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COPY | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glLogicOp(GLenum opcode) | |
- man4/glMapBuffer.xml[glMapBuffer] | |
Copyright: Addison-Wesley Group 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glMapBuffer | |
| | |----#text | |
| | | , which must be one | |
| | | of the buffer binding targets in the following table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glMapNamedBuffer | |
| | |----#text | |
| | | . | |
- access | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the access policy for | |
| | |----^function | |
| | | |----#text | |
| | | | glMapBuffer | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glMapNamedBuffer | |
| | |----#text | |
| | | , indicating | |
| | | whether it will be possible to read from, write to, or | |
| | | both read from and write to the buffer object's mapped | |
| | | data store. The symbolic constant must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_READ_ONLY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_WRITE_ONLY | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_READ_WRITE | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glMapBuffer(GLenum target, GLenum access) | |
- void glMapNamedBuffer(GLuint buffer, GLenum access) | |
- man4/glMapBufferRange.xml[glMapBufferRange] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glMapBufferRange | |
| | |----#text | |
| | | , which must be | |
| | | one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glMapNamedBufferRange | |
| | |----#text | |
| | | . | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the starting offset within the buffer of the | |
| | | range to be mapped. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the length of the range to be mapped. | |
- access | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a combination of access flags indicating the | |
| | | desired access to the mapped range. | |
Function varients: | |
- void glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) | |
- void glMapNamedBufferRange(GLuint buffer, GLintptr offset, GLsizei length, GLbitfield access) | |
- man4/glMemoryBarrier.xml[glMemoryBarrier] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- barriers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the barriers to insert. | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glMemoryBarrier | |
| | |----#text | |
| | | , must be a | |
| | | bitwise combination of any of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ELEMENT_ARRAY_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_FETCH_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_IMAGE_ACCESS_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COMMAND_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PIXEL_BUFFER_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_UPDATE_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BUFFER_UPDATE_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAMEBUFFER_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRANSFORM_FEEDBACK_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BARRIER_BIT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BARRIER_BIT | |
| | |----#text | |
| | | . | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glMemoryBarrier | |
| | |----#text | |
| | | , must be a | |
| | | bitwise combination of any of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ATOMIC_COUNTER_BARRIER_BIT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAMEBUFFER_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_IMAGE_ACCESS_BARRIER_BIT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHADER_STORAGE_BARRIER_BIT | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_FETCH_BARRIER_BIT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNIFORM_BARRIER_BIT | |
| | |----#text | |
| | | . | |
| |---- | |
| | |----#text | |
| | | If the special value | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALL_BARRIER_BITS | |
| | |----#text | |
| | | is specified, | |
| | | all supported barriers for the corresponding command | |
| | | will be inserted. | |
Function varients: | |
- void glMemoryBarrier(GLbitfield barriers) | |
- void glMemoryBarrierByRegion(GLbitfield barriers) | |
- man4/glMinSampleShading.xml[glMinSampleShading] | |
Copyright: Khronos Group. 2011-2014 | |
Paramater documentation: | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the rate at which samples are shaded within each covered pixel. | |
Function varients: | |
- void glMinSampleShading(GLfloat value) | |
- man4/glMultiDrawArrays.xml[glMultiDrawArrays] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to an array of starting indices in the enabled arrays. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to an array of the number of indices to be rendered. | |
- drawcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the first and count | |
Function varients: | |
- void glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) | |
- man4/glMultiDrawArraysIndirect.xml[glMultiDrawArraysIndirect] | |
Copyright: Khronos Group. 2012-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- indirect | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of structures containing the draw parameters. | |
- drawcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the the number of elements in the array of draw parameter structures. | |
- stride | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the distance in basic machine units between elements of the draw parameter array. | |
Function varients: | |
- void glMultiDrawArraysIndirect(GLenum mode, const void indirect, GLsizei drawcount, GLsizei stride) | |
- man4/glMultiDrawElements.xml[glMultiDrawElements] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to an array of the elements counts. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- drawcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the | |
| | |----^parameter | |
| | | |----#text | |
| | | | count | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | arrays. | |
Function varients: | |
- void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei drawcount) | |
- man4/glMultiDrawElementsBaseVertex.xml[glMultiDrawElementsBaseVertex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Points to an array of the elements counts. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of the values in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the indices are stored. | |
- drawcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the | |
| | |----^parameter | |
| | | |----#text | |
| | | | count | |
| | |----#text | |
| | | , | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | basevertex | |
| | |----#text | |
| | | arrays. | |
- basevertex | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the location where the base vertices are stored. | |
Function varients: | |
- void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei count, GLenum type, const GLvoid * const indices, GLsizei drawcount, const GLint basevertex) | |
- man4/glMultiDrawElementsIndirect.xml[glMultiDrawElementsIndirect] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies what kind of primitives to render. | |
| | | Symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINTS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_LOOP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINES_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_FAN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLE_STRIP_ADJACENCY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRIANGLES_ADJACENCY | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCHES | |
| | |----#text | |
| | | are accepted. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the type of data in the buffer bound to the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ELEMENT_ARRAY_BUFFER | |
| | |----#text | |
| | | binding. | |
- indirect | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of a structure containing an array of draw parameters. | |
- drawcount | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements in the array addressed by | |
| | |----^parameter | |
| | | |----#text | |
| | | | indirect | |
| | |----#text | |
| | | . | |
- stride | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the distance in basic machine units between elements of the draw parameter array. | |
Function varients: | |
- void glMultiDrawElementsIndirect(GLenum mode, GLenum type, const void indirect, GLsizei drawcount, GLsizei stride) | |
- man4/glReadBuffer.xml[glNamedFramebufferReadBuffer] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- framebuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the framebuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedFramebufferReadBuffer | |
| | |----#text | |
| | | function. | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a color buffer. Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_RIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK_RIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LEFT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RIGHT | |
| | |----#text | |
| | | , and the constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_COLOR_ATTACHMENT | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glReadBuffer(GLenum mode) | |
- void glNamedFramebufferReadBuffer(GLuint framebuffer, GLenum mode) | |
- man4/glRenderbufferStorage.xml[glNamedRenderbufferStorage] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a binding target of the allocation for | |
| | |----^function | |
| | | |----#text | |
| | | | glRenderbufferStorage | |
| | |----#text | |
| | | function. Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | . | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the renderbuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedRenderbufferStorage | |
| | |----#text | |
| | | function. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format to use for the renderbuffer | |
| | | object's image. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the renderbuffer, in pixels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the renderbuffer, in pixels. | |
Function varients: | |
- void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) | |
- void glNamedRenderbufferStorage(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) | |
- man4/glRenderbufferStorageMultisample.xml[glNamedRenderbufferStorageMultisample] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a binding target of the allocation for | |
| | |----^function | |
| | | |----#text | |
| | | | glRenderbufferStorageMultisample | |
| | |----#text | |
| | | function. Must | |
| | | be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RENDERBUFFER | |
| | |----#text | |
| | | . | |
- renderbuffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the renderbuffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glNamedRenderbufferStorageMultisample | |
| | |----#text | |
| | | function. | |
- samples | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of samples to be used for the | |
| | | renderbuffer object's storage. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format to use for the renderbuffer | |
| | | object's image. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the renderbuffer, in pixels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the renderbuffer, in pixels. | |
Function varients: | |
- void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) | |
- void glNamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) | |
- man4/glObjectLabel.xml[glObjectLabel] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- identifier | |
|---- | |
| |---- | |
| | |----#text | |
| | | The namespace from which the name of the object is allocated. | |
- name | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the object to label. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the label to be used for the object. | |
- label | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a string containing the label to assign to the object. | |
Function varients: | |
- void glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const char * label) | |
- man4/glObjectPtrLabel.xml[glObjectPtrLabel] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- ptr | |
|---- | |
| |---- | |
| | |----#text | |
| | | A pointer identifying a sync object. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the label to be used for the object. | |
- label | |
|---- | |
| |---- | |
| | |----#text | |
| | | The address of a string containing the label to assign to the object. | |
Function varients: | |
- void glObjectPtrLabel(void * ptr, GLsizei length, const char * label) | |
- man4/glPatchParameter.xml[glPatchParameter] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the parameter to set. The symbolc constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCH_VERTICES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCH_DEFAULT_OUTER_LEVEL | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PATCH_DEFAULT_INNER_LEVEL | |
| | |----#text | |
| | | are accepted. | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the new value for the parameter given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
- values | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array containing the new values for the parameter given by | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glPatchParameteri(GLenum pname, GLint value) | |
- man4/glPauseTransformFeedback.xml[glPauseTransformFeedback] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
Function varients: | |
- void glPauseTransformFeedback(voi ) | |
- man4/glPixelStore.xml[glPixelStore] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of the parameter to be set. | |
| | | Six values affect the packing of pixel data into memory: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_SWAP_BYTES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_LSB_FIRST | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_ROW_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_IMAGE_HEIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_SKIP_PIXELS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_SKIP_ROWS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_SKIP_IMAGES | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PACK_ALIGNMENT | |
| | |----#text | |
| | | . | |
| | | Six more affect the unpacking of pixel data | |
| | |----#text | |
| | | memory: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_SWAP_BYTES | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_LSB_FIRST | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_ROW_LENGTH | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_IMAGE_HEIGHT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_SKIP_PIXELS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_SKIP_ROWS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_SKIP_IMAGES | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNPACK_ALIGNMENT | |
| | |----#text | |
| | | . | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the value that | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | is set to. | |
Function varients: | |
- void glPixelStoref(GLenum pname, GLfloat param) | |
- man4/glPointParameter.xml[glPointParameter] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a single-valued point parameter. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINT_FADE_THRESHOLD_SIZE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINT_SPRITE_COORD_ORIGIN | |
| | |----#text | |
| | | are accepted. | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glPointParameterf | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glPointParameteri | |
| | |----#text | |
| | | , specifies the | |
| | | value that | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | will be set to. | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glPointParameterfv | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glPointParameteriv | |
| | |----#text | |
| | | , specifies a | |
| | | pointer to an array where the value or values to be | |
| | | assigned to | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | are stored. | |
Function varients: | |
- void glPointParameterf(GLenum pname, GLfloat param) | |
- man4/glPointSize.xml[glPointSize] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the diameter of rasterized points. | |
| | | The initial value is 1. | |
Function varients: | |
- void glPointSize(GLfloat size) | |
- man4/glPolygonMode.xml[glPolygonMode] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- face | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the polygons that | |
| | |----^parameter | |
| | | |----#text | |
| | | | mode | |
| | |----#text | |
| | | applies to. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | for front- and back-facing polygons. | |
- mode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies how polygons will be rasterized. | |
| | | Accepted values are | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_POINT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LINE | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FILL | |
| | |----#text | |
| | | . | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FILL | |
| | |----#text | |
| | | for both front- and back-facing polygons. | |
Function varients: | |
- void glPolygonMode(GLenum face, GLenum mode) | |
- man4/glPolygonOffset.xml[glPolygonOffset] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- factor | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a scale factor that is used to create a variable | |
| | | depth offset for each polygon. The initial value is 0. | |
- units | |
|---- | |
| |---- | |
| | |----#text | |
| | | Is multiplied by an implementation-specific value to | |
| | | create a constant depth offset. The initial value is 0. | |
Function varients: | |
- void glPolygonOffset(GLfloat factor, GLfloat units) | |
- man4/glPopDebugGroup.xml[glPopDebugGroup] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
Function varients: | |
- void glPopDebugGroup(voi ) | |
- man4/glPrimitiveRestartIndex.xml[glPrimitiveRestartIndex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the value to be interpreted as the primitive restart index. | |
Function varients: | |
- void glPrimitiveRestartIndex(GLuint index) | |
- man4/glProgramBinary.xml[glProgramBinary] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program object into which to load a program binary. | |
- binaryFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the binary data in binary. | |
- binary | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address an array containing the binary to be loaded into | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of bytes contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | binary | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glProgramBinary(GLuint program, GLenum binaryFormat, const void binary, GLsizei length) | |
- man4/glProgramParameter.xml[glProgramParameter] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program object whose parameter to modify. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the parameter to modify. | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the new value of the parameter specified by | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | for | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glProgramParameteri(GLuint program, GLenum pname, GLint value) | |
- man4/glProgramUniform.xml[glProgramUniform] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the program containing the uniform | |
| | | variable to be modified. | |
- location | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the location of the uniform variable | |
| | | to be modified. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glProgramUniform*v | |
| | |----#text | |
| | | ), specifies the | |
| | | number of elements that are to be modified. This should be 1 | |
| | | if the targeted uniform variable is not an array, and 1 or | |
| | | more if it is an array. | |
| |---- | |
| | |----#text | |
| | | For the matrix commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glProgramUniformMatrix* | |
| | |----#text | |
| | | ), specifies | |
| | | the number of matrices that are to be modified. This should | |
| | | be 1 if the targeted uniform variable is not an array of | |
| | | matrices, and 1 or more if it is an array of matrices. | |
- transpose | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the matrix commands, specifies whether to transpose the | |
| | | matrix as the values are loaded into the uniform variable. | |
- v0, v1, v2, v3 | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the scalar commands, specifies the new values to be used | |
| | | for the specified uniform variable. | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector and matrix commands, specifies a pointer to | |
| | | an array of | |
| | |----^parameter | |
| | | |----#text | |
| | | | count | |
| | |----#text | |
| | | values that will be | |
| | | used to update the specified uniform variable. | |
Function varients: | |
- void glProgramUniform1f(GLuint program, GLint location, GLfloat v0) | |
- void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) | |
- void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) | |
- void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) | |
- void glProgramUniform1i(GLuint program, GLint location, GLint v0) | |
- void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) | |
- void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) | |
- void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) | |
- void glProgramUniform1ui(GLuint program, GLint location, GLuint v0) | |
- void glProgramUniform2ui(GLuint program, GLint location, GLint v0, GLuint v1) | |
- void glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2) | |
- void glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3) | |
- void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat value) | |
- void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat value) | |
- void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat value) | |
- void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat value) | |
- void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint value) | |
- void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint value) | |
- void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint value) | |
- void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint value) | |
- void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint value) | |
- void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint value) | |
- void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint value) | |
- void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint value) | |
- void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- man4/glProvokingVertex.xml[glProvokingVertex] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- provokeMode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the vertex to be used as the source of data for flat shaded varyings. | |
Function varients: | |
- void glProvokingVertex(GLenum provokeMode) | |
- man4/glPushDebugGroup.xml[glPushDebugGroup] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- source | |
|---- | |
| |---- | |
| | |----#text | |
| | | The source of the debug message. | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | The identifier of the message. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | The length of the message to be sent to the debug output stream. | |
- message | |
|---- | |
| |---- | |
| | |----#text | |
| | | The a string containing the message to be sent to the debug output stream. | |
Function varients: | |
- void glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const char * message) | |
- man4/glQueryCounter.xml[glQueryCounter] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- id | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the name of a query object into which to record the GL time. | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the counter to query. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIMESTAMP | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glQueryCounter(GLuint id, GLenum target) | |
- man4/glReadPixels.xml[glReadnPixels] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the window coordinates of the first pixel that is read | |
| | | from the frame buffer. This location is the lower left corner of a | |
| | | rectangular block of pixels. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the dimensions of the pixel rectangle. | |
| | |----^parameter | |
| | | |----#text | |
| | | | width | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | height | |
| | |----#text | |
| | | of | |
| | | one correspond to a single pixel. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. The following symbolic | |
| | | values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREEN | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BLUE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_HALF_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_24_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10F_11F_11F_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_5_9_9_9_REV | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT_32_UNSIGNED_INT_24_8_REV | |
| | |----#text | |
| | | . | |
- bufSize | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the buffer | |
| | |----^parameter | |
| | | |----#text | |
| | | | data | |
| | |----#text | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glReadnPixels | |
| | |----#text | |
| | | function. | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Returns the pixel data. | |
Function varients: | |
- void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data) | |
- void glReadnPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void data) | |
- man4/glReleaseShaderCompiler.xml[glReleaseShaderCompiler] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
Function varients: | |
- void glReleaseShaderCompiler(voi ) | |
- man4/glResumeTransformFeedback.xml[glResumeTransformFeedback] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
Function varients: | |
- void glResumeTransformFeedback(voi ) | |
- man4/glSampleCoverage.xml[glSampleCoverage] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify a single floating-point sample coverage value. The value is | |
| | | clamped to the range | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mfenced |--| | |
| | | | | open={ [ } close={ ] } | |
| | | | | |----MathML:mn | |
| | | | | | |----#text | |
| | | | | | | 0 | |
| | | | | |----MathML:mn | |
| | | | | | |----#text | |
| | | | | | | 1 | |
| | |----#text | |
| | | . | |
| | | The initial value is 1.0. | |
- invert | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify a single boolean value representing if the coverage masks should be | |
| | | inverted. | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRUE | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | are accepted. The initial value | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glSampleCoverage(GLfloat value, GLboolean invert) | |
- man4/glSampleMaski.xml[glSampleMaski] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- maskNumber | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies which 32-bit sub-word of the sample mask to update. | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the new value of the mask sub-word. | |
Function varients: | |
- void glSampleMaski(GLuint maskNumber, GLbitfield mask) | |
- man4/glSamplerParameter.xml[glSamplerParameter] | |
Copyright: KhronosGroup 2010-2014 | |
Paramater documentation: | |
- sampler | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sampler object whose parameter to modify. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a sampler parameter. | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | can be one of the | |
| | | following: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_S | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_T | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_R | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAG_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BORDER_COLOR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_LOD_BIAS | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_MODE | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_FUNC | |
| | |----#text | |
| | | . | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the scalar commands, specifies the value of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glSamplerParameter*v | |
| | |----#text | |
| | | ), specifies a | |
| | | pointer to an array where the value or values of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | are stored. | |
Function varients: | |
- void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) | |
- man4/glScissor.xml[glScissor] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the lower left corner of the scissor box. | |
| | | Initially (0, 0). | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the width and height of the scissor box. | |
| | | When a GL context is first attached to a window, | |
| | |----^parameter | |
| | | |----#text | |
| | | | width | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | height | |
| | |----#text | |
| | | are set to the dimensions of that | |
| | | window. | |
Function varients: | |
- void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) | |
- man4/glScissorArray.xml[glScissorArray] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the first viewport whose scissor box to modify. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of scissor boxes to modify. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array containing the left, bottom, width and height of each | |
| | | scissor box, in that order. | |
Function varients: | |
- void glScissorArrayv(GLuint first, GLsizei count, const GLint v) | |
- man4/glScissorIndexed.xml[glScissorIndexed] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the viewport whose scissor box to modify. | |
- left | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the coordinate of the bottom left corner of the scissor box, in pixels. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify ths dimensions of the scissor box, in pixels. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glScissorIndexedv | |
| | |----#text | |
| | | , specifies the address of an array containing the left, bottom, width and height of each | |
| | | scissor box, in that order. | |
Function varients: | |
- void glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) | |
- void glScissorIndexedv(GLuint index, const GLint v) | |
- man4/glShaderBinary.xml[glShaderBinary] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of shader object handles contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | shaders | |
| | |----#text | |
| | | . | |
- shaders | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of shader handles into which to load pre-compiled shader binaries. | |
- binaryFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the shader binaries contained in | |
| | |----^parameter | |
| | | |----#text | |
| | | | binary | |
| | |----#text | |
| | | . | |
- binary | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array of bytes containing pre-compiled binary shader code. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the length of the array whose address is given in | |
| | |----^parameter | |
| | | |----#text | |
| | | | binary | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glShaderBinary(GLsizei count, const GLuint shaders, GLenum binaryFormat, const void binary, GLsizei length) | |
- man4/glShaderSource.xml[glShaderSource] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- shader | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the shader object | |
| | | whose source code is to be replaced. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of elements in the | |
| | |----^parameter | |
| | | |----#text | |
| | | | string | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | length | |
| | |----#text | |
| | | arrays. | |
- string | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of pointers to strings | |
| | | containing the source code to be loaded into the | |
| | | shader. | |
- length | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies an array of string lengths. | |
Function varients: | |
- void glShaderSource(GLuint shader, GLsizei count, const GLchar * string, const GLint length) | |
- man4/glShaderStorageBlockBinding.xml[glShaderStorageBlockBinding] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the program containing the block whose binding to change. | |
- storageBlockIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index storage block within the program. | |
- storageBlockBinding | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index storage block binding to associate with the specified storage block. | |
Function varients: | |
- void glShaderStorageBlockBinding(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding) | |
- man4/glStencilFunc.xml[glStencilFunc] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- func | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the test function. | |
| | | Eight symbolic constants are valid: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NEVER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LESS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREATER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_EQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NOTEQUAL | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALWAYS | |
| | |----#text | |
| | | . The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALWAYS | |
| | |----#text | |
| | | . | |
- ref | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the reference value for the stencil test. | |
| | |----^parameter | |
| | | |----#text | |
| | | | ref | |
| | |----#text | |
| | | is clamped to the range | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mfenced |--| | |
| | | | | open={ [ } close={ ] } | |
| | | | | |----MathML:mn | |
| | | | | | |----#text | |
| | | | | | | 0 | |
| | | | | |----MathML:mrow | |
| | | | | | |----MathML:msup | |
| | | | | | | |----MathML:mn | |
| | | | | | | | |----#text | |
| | | | | | | | | 2 | |
| | | | | | | |----MathML:mi | |
| | | | | | | | |----#text | |
| | | | | | | | | n | |
| | | | | | |----MathML:mo | |
| | | | | | | |----#text | |
| | | | | | | | - | |
| | | | | | |----MathML:mn | |
| | | | | | | |----#text | |
| | | | | | | | 1 | |
| | |----#text | |
| | | , | |
| | | where | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | is the number of bitplanes in the stencil buffer. The | |
| | | initial value is 0. | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a mask that is ANDed with both the reference value | |
| | | and the stored stencil value when the test is done. The initial value | |
| | | is all 1's. | |
Function varients: | |
- void glStencilFunc(GLenum func, GLint ref, GLuint mask) | |
- man4/glStencilFuncSeparate.xml[glStencilFuncSeparate] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- face | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether front and/or back stencil state is updated. | |
| | | Three symbolic constants are valid: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | . | |
- func | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the test function. | |
| | | Eight symbolic constants are valid: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NEVER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LESS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_LEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GREATER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_EQUAL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_NOTEQUAL | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALWAYS | |
| | |----#text | |
| | | . The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ALWAYS | |
| | |----#text | |
| | | . | |
- ref | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the reference value for the stencil test. | |
| | |----^parameter | |
| | | |----#text | |
| | | | ref | |
| | |----#text | |
| | | is clamped to the range | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mfenced |--| | |
| | | | | open={ [ } close={ ] } | |
| | | | | |----MathML:mn | |
| | | | | | |----#text | |
| | | | | | | 0 | |
| | | | | |----MathML:mrow | |
| | | | | | |----MathML:msup | |
| | | | | | | |----MathML:mn | |
| | | | | | | | |----#text | |
| | | | | | | | | 2 | |
| | | | | | | |----MathML:mi | |
| | | | | | | | |----#text | |
| | | | | | | | | n | |
| | | | | | |----MathML:mo | |
| | | | | | | |----#text | |
| | | | | | | | - | |
| | | | | | |----MathML:mn | |
| | | | | | | |----#text | |
| | | | | | | | 1 | |
| | |----#text | |
| | | , | |
| | | where | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | is the number of bitplanes in the stencil buffer. The | |
| | | initial value is 0. | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a mask that is ANDed with both the reference value | |
| | | and the stored stencil value when the test is done. The initial value | |
| | | is all 1's. | |
Function varients: | |
- void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) | |
- man4/glStencilMask.xml[glStencilMask] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a bit mask to enable and disable writing of individual bits | |
| | | in the stencil planes. | |
| | | Initially, the mask is all 1's. | |
Function varients: | |
- void glStencilMask(GLuint mask) | |
- man4/glStencilMaskSeparate.xml[glStencilMaskSeparate] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- face | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the front and/or back stencil writemask is updated. | |
| | | Three symbolic constants are valid: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | . | |
- mask | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a bit mask to enable and disable writing of individual bits | |
| | | in the stencil planes. | |
| | | Initially, the mask is all 1's. | |
Function varients: | |
- void glStencilMaskSeparate(GLenum face, GLuint mask) | |
- man4/glStencilOp.xml[glStencilOp] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- sfail | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the action to take when the stencil test fails. | |
| | | Eight symbolic constants are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_REPLACE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INCR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INCR_WRAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DECR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DECR_WRAP | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INVERT | |
| | |----#text | |
| | | . The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
- dpfail | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the stencil action when the stencil test passes, | |
| | | but the depth test fails. | |
| | |----^parameter | |
| | | |----#text | |
| | | | dpfail | |
| | |----#text | |
| | | accepts the same symbolic constants as | |
| | |----^parameter | |
| | | |----#text | |
| | | | sfail | |
| | |----#text | |
| | | . The initial value | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
- dppass | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the stencil action when both the stencil test and the depth | |
| | | test pass, or when the stencil test passes and either there is no | |
| | | depth buffer or depth testing is not enabled. | |
| | |----^parameter | |
| | | |----#text | |
| | | | dppass | |
| | |----#text | |
| | | accepts the same symbolic constants as | |
| | |----^parameter | |
| | | |----#text | |
| | | | sfail | |
| | |----#text | |
| | | . The initial value | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass) | |
- man4/glStencilOpSeparate.xml[glStencilOpSeparate] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- face | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether front and/or back stencil state is updated. | |
| | | Three symbolic constants are valid: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BACK | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRONT_AND_BACK | |
| | |----#text | |
| | | . | |
- sfail | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the action to take when the stencil test fails. | |
| | | Eight symbolic constants are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ZERO | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_REPLACE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INCR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INCR_WRAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DECR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DECR_WRAP | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INVERT | |
| | |----#text | |
| | | . The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
- dpfail | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the stencil action when the stencil test passes, | |
| | | but the depth test fails. | |
| | |----^parameter | |
| | | |----#text | |
| | | | dpfail | |
| | |----#text | |
| | | accepts the same symbolic constants as | |
| | |----^parameter | |
| | | |----#text | |
| | | | sfail | |
| | |----#text | |
| | | . The initial value | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
- dppass | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the stencil action when both the stencil test and the depth | |
| | | test pass, or when the stencil test passes and either there is no | |
| | | depth buffer or depth testing is not enabled. | |
| | |----^parameter | |
| | | |----#text | |
| | | | dppass | |
| | |----#text | |
| | | accepts the same symbolic constants as | |
| | |----^parameter | |
| | | |----#text | |
| | | | sfail | |
| | |----#text | |
| | | . The initial value | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_KEEP | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) | |
- man4/glTexBuffer.xml[glTexBuffer] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexBuffer | |
| | |----#text | |
| | | . Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureBuffer | |
| | |----#text | |
| | | . | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format of the data in the store | |
| | | belonging to | |
| | |----^parameter | |
| | | |----#text | |
| | | | buffer | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object whose storage to | |
| | | attach to the active buffer texture. | |
Function varients: | |
- void glTexBuffer(GLenum target, GLenum internalFormat, GLuint buffer) | |
- void glTextureBuffer(GLuint texture, GLenum internalformat, GLuint buffer) | |
- man4/glTexBufferRange.xml[glTexBufferRange] | |
Copyright: Khronos Group 2012-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexBufferRange | |
| | |----#text | |
| | | . Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BUFFER | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureBufferRange | |
| | |----#text | |
| | | . | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format of the data in the store | |
| | | belonging to | |
| | |----^parameter | |
| | | |----#text | |
| | | | buffer | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object whose storage to | |
| | | attach to the active buffer texture. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the offset of the start of the range of the | |
| | | buffer's data store to attach. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the size of the range of the buffer's data | |
| | | store to attach. | |
Function varients: | |
- void glTexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) | |
- void glTextureBufferRange(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizei size) | |
- man4/glTexImage1D.xml[glTexImage1D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of color components in the texture. | |
| | | Must be one of base internal formats given in Table 1, | |
| | | one of the sized internal formats given in Table 2, or one | |
| | | of the compressed internal formats given in Table 3, below. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support texture images that are at least 1024 texels | |
| | | wide. The height of the 1D texture image is 1. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * data) | |
- man4/glTexImage2D.xml[glTexImage2D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
| | | If | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^parameter | |
| | | |----#text | |
| | | | level | |
| | |----#text | |
| | | must be 0. | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of color components in the texture. | |
| | | Must be one of base internal formats given in Table 1, | |
| | | one of the sized internal formats given in Table 2, or one | |
| | | of the compressed internal formats given in Table 3, below. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support texture images that are at least 1024 texels | |
| | | wide. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture image, or the number of layers in a texture | |
| | | array, in the case of the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | targets. | |
| | | All implementations support 2D texture images that are at least 1024 texels | |
| | | high, and texture arrays that are at least 256 layers deep. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * data) | |
- man4/glTexImage2DMultisample.xml[glTexImage2DMultisample] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target of the operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | . | |
- samples | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of samples in the multisample texture's image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | The internal format to be used to store the multisample texture's image. | |
| | |----^parameter | |
| | | |----#text | |
| | | | internalformat | |
| | |----#text | |
| | | must specify a color-renderable, depth-renderable, or stencil-renderable format. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | The width of the multisample texture's image, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | The height of the multisample texture's image, in texels. | |
- fixedsamplelocations | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not | |
| | | depend on the internal format or size of the image. | |
Function varients: | |
- void glTexImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) | |
- man4/glTexImage3D.xml[glTexImage3D] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target texture. | |
| | | Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | . | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:mi | |
| | | | | |----#text | |
| | | | | | n | |
| | |----#text | |
| | | is the | |
| | |----|<equation | |
| | | |----MathML[_] | |
| | | | |----MathML:msup | |
| | | | | |----MathML:mi | |
| | | | | | |----#text | |
| | | | | | | n | |
| | | | | |----MathML:mi | |
| | | | | | |----#text | |
| | | | | | | th | |
| | |----#text | |
| | | mipmap reduction image. | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of color components in the texture. | |
| | | Must be one of base internal formats given in Table 1, | |
| | | one of the sized internal formats given in Table 2, or one | |
| | | of the compressed internal formats given in Table 3, below. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture image. | |
| | | All implementations support 3D texture images that are at least 16 texels | |
| | | wide. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture image. | |
| | | All implementations support 3D texture images that are at least 256 texels | |
| | | high. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture image, or the number of layers in a texture array. | |
| | | All implementations support 3D texture images that are at least 256 texels | |
| | | deep, and texture arrays that are at least 256 layers deep. | |
- border | |
|---- | |
| |---- | |
| | |----#text | |
| | | This value must be 0. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA_INTEGER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- data | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * data) | |
- man4/glTexImage3DMultisample.xml[glTexImage3DMultisample] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target of the operation. | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | . | |
- samples | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of samples in the multisample texture's image. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | The internal format to be used to store the multisample texture's image. | |
| | |----^parameter | |
| | | |----#text | |
| | | | internalformat | |
| | |----#text | |
| | | must specify a color-renderable, depth-renderable, or stencil-renderable format. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | The width of the multisample texture's image, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | The height of the multisample texture's image, in texels. | |
- fixedsamplelocations | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not | |
| | | depend on the internal format or size of the image. | |
Function varients: | |
- void glTexImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) | |
- man4/glTexParameter.xml[glTexParameter] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexParameter | |
| | |----#text | |
| | | functions. Must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_ARRAY | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureParameter | |
| | |----#text | |
| | | functions. | |
- pname | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the symbolic name of a single-valued texture | |
| | | parameter. | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | can be one of the following: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_STENCIL_TEXTURE_MODE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BASE_LEVEL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_FUNC | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_COMPARE_MODE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_LOD_BIAS | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAG_FILTER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MIN_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LOD | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_MAX_LEVEL | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_R | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_G | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_B | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_A | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_S | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_T | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_WRAP_R | |
| | |----#text | |
| | | . | |
| |---- | |
| | |----#text | |
| | | For the vector commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glTexParameter*v | |
| | |----#text | |
| | | ), | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | can also be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_BORDER_COLOR | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_SWIZZLE_RGBA | |
| | |----#text | |
| | | . | |
- param | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the scalar commands, specifies the value of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | . | |
- params | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector commands, specifies a pointer to an array where | |
| | | the value or values of | |
| | |----^parameter | |
| | | |----#text | |
| | | | pname | |
| | |----#text | |
| | | are | |
| | | stored. | |
Function varients: | |
- void glTexParameterf(GLenum target, GLenum pname, GLfloat param) | |
- void glTexParameteri(GLenum target, GLenum pname, GLint param) | |
- man4/glTexStorage1D.xml[glTexStorage1D] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexStorage1D | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureStorage1D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid non-proxy | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values | |
| | | above. | |
- levels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of texture levels. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sized internal format to be used to store texture image data. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture, in texels. | |
Function varients: | |
- void glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) | |
- void glTextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width) | |
- man4/glTexStorage2D.xml[glTexStorage2D] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexStorage2D | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_RECTANGLE | |
| | |----#text | |
| | | , or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_CUBE_MAP | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureStorage2D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid non-proxy | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values | |
| | | above. | |
- levels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of texture levels. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sized internal format to be used to store texture image data. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture, in texels. | |
Function varients: | |
- void glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) | |
- void glTextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) | |
- man4/glTexStorage2DMultisample.xml[glTexStorage2DMultisample] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexStorage2DMultisample | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureStorage2DMultisample | |
| | |----#text | |
| | | . The | |
| | | effective target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must | |
| | | be one of the valid non-proxy | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values above. | |
- samples | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of samples in the texture. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sized internal format to be used to store texture image data. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture, in texels. | |
- fixedsamplelocations | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not | |
| | | depend on the internal format or size of the image. | |
Function varients: | |
- void glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) | |
- void glTextureStorage2DMultisample(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) | |
- man4/glTexStorage3D.xml[glTexStorage3D] | |
Copyright: Khronos Group 2011-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexStorage3D | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_ARRAY | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_3D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_CUBE_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureStorage3D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid non-proxy | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values | |
| | | above. | |
- levels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of texture levels. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sized internal format to be used to store texture image data. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture, in texels. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture, in texels. | |
Function varients: | |
- void glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) | |
- void glTextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) | |
- man4/glTexStorage3DMultisample.xml[glTexStorage3DMultisample] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture object is | |
| | | bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexStorage3DMultisample | |
| | |----#text | |
| | | . Must be | |
| | | one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureStorage3DMultisample | |
| | |----#text | |
| | | . The | |
| | | effective target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must | |
| | | be one of the valid non-proxy | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values above. | |
- samples | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of samples in the texture. | |
- internalformat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sized internal format to be used to store texture image data. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture, in texels. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture, in texels. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture, in layers. | |
- fixedsamplelocations | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not | |
| | | depend on the internal format or size of the image. | |
Function varients: | |
- void glTexStorage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) | |
- void glTextureStorage3DMultisample(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) | |
- man4/glTexSubImage1D.xml[glTexSubImage1D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexSubImage1D | |
| | |----#text | |
| | | . | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureSubImage1D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values above. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) | |
- void glTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void pixels) | |
- man4/glTexSubImage2D.xml[glTexSubImage2D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexSubImage2D | |
| | |----#text | |
| | | . | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_X | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Y | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_POSITIVE_Z | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_CUBE_MAP_NEGATIVE_Z | |
| | |----#text | |
| | | , | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_1D_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureSubImage2D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values above. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) | |
- void glTextureSubImage2D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void pixels) | |
- man4/glTexSubImage3D.xml[glTexSubImage3D] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the texture is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glTexSubImage3D | |
| | |----#text | |
| | | . | |
| | | Must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_3D | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TEXTURE_2D_ARRAY | |
| | |----#text | |
| | | . | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object name for | |
| | |----^function | |
| | | |----#text | |
| | | | glTextureSubImage3D | |
| | |----#text | |
| | | . The effective | |
| | | target of | |
| | |----^parameter | |
| | | |----#text | |
| | | | texture | |
| | |----#text | |
| | | must be one of | |
| | | the valid | |
| | |----^parameter | |
| | | |----#text | |
| | | | target | |
| | |----#text | |
| | | values above. | |
- level | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the level-of-detail number. | |
| | | Level 0 is the base image level. | |
| | | Level | |
| | |----#text | |
| | | is the | |
| | |----#text | |
| | | th mipmap reduction image. | |
- xoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the x direction within the texture array. | |
- yoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the y direction within the texture array. | |
- zoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a texel offset in the z direction within the texture array. | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the width of the texture subimage. | |
- height | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the height of the texture subimage. | |
- depth | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the depth of the texture subimage. | |
- format | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the format of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RG | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGB | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGR | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_RGBA | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DEPTH_COMPONENT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_STENCIL_INDEX | |
| | |----#text | |
| | | . | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of the pixel data. | |
| | | The following symbolic values are accepted: | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_3_3_2 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE_2_3_3_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_6_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_4_4_4_4_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_5_5_5_1 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT_1_5_5_5_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8 | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_8_8_8_8_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10_10_10_2 | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | . | |
- pixels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a pointer to the image data in memory. | |
Function varients: | |
- void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels) | |
- void glTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void pixels) | |
- man4/glTextureBarrier.xml[glTextureBarrier] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
Function varients: | |
- void glTextureBarrier(void ) | |
- man4/glTextureView.xml[glTextureView] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- texture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the texture object to be initialized as a view. | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to be used for the newly initialized texture. | |
- origtexture | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a texture object of which to make a view. | |
- internalFormat | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the internal format for the newly created view. | |
- minlevel | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies lowest level of detail of the view. | |
- numlevels | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of levels of detail to include in the view. | |
- minlayer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the first layer to include in the view. | |
- numlayers | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of layers to include in the view. | |
Function varients: | |
- void glTextureView(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) | |
- man4/glTransformFeedbackBufferBase.xml[glTransformFeedbackBufferBase] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- xfb | |
|---- | |
| |---- | |
| | |----#text | |
| | | Name of the transform feedback buffer object. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Index of the binding point within | |
| | |----^parameter | |
| | | |----#text | |
| | | | xfb | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Name of the buffer object to bind to the specified | |
| | | binding point. | |
Function varients: | |
- void glTransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer) | |
- man4/glTransformFeedbackBufferRange.xml[glTransformFeedbackBufferRange] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- xfb | |
|---- | |
| |---- | |
| | |----#text | |
| | | Name of the transform feedback buffer object. | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Index of the binding point within | |
| | |----^parameter | |
| | | |----#text | |
| | | | xfb | |
| | |----#text | |
| | | . | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Name of the buffer object to bind to the specified | |
| | | binding point. | |
- offset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The starting offset in basic machine units into the | |
| | | buffer object. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | The amount of data in basic machine units that can | |
| | | be read from or written to the buffer object while | |
| | | used as an indexed target. | |
Function varients: | |
- void glTransformFeedbackBufferRange(GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizei size) | |
- man4/glTransformFeedbackVaryings.xml[glTransformFeedbackVaryings] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of the target program object. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of varying variables used for transform feedback. | |
- varyings | |
|---- | |
| |---- | |
| | |----#text | |
| | | An array of | |
| | |----^parameter | |
| | | |----#text | |
| | | | count | |
| | |----#text | |
| | | zero-terminated strings specifying the | |
| | | names of the varying variables to use for transform feedback. | |
- bufferMode | |
|---- | |
| |---- | |
| | |----#text | |
| | | Identifies the mode used to capture the varying variables when transform feedback is active. | |
| | |----^parameter | |
| | | |----#text | |
| | | | bufferMode | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INTERLEAVED_ATTRIBS | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SEPARATE_ATTRIBS | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glTransformFeedbackVaryings(GLuin program, GLsize count, const char * varyings, GLenu bufferMode) | |
- man4/glUniform.xml[glUniform] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- location | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the location of the uniform variable | |
| | | to be modified. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector ( | |
| | |----^function | |
| | | |----#text | |
| | | | glUniform*v | |
| | |----#text | |
| | | ) commands, | |
| | | specifies the number of elements that are to be modified. | |
| | | This should be 1 if the targeted uniform variable is not an | |
| | | array, and 1 or more if it is an array. | |
| |---- | |
| | |----#text | |
| | | For the matrix ( | |
| | |----^function | |
| | | |----#text | |
| | | | glUniformMatrix* | |
| | |----#text | |
| | | ) | |
| | | commands, specifies the number of matrices that are to be | |
| | | modified. This should be 1 if the targeted uniform variable | |
| | | is not an array of matrices, and 1 or more if it is an array | |
| | | of matrices. | |
- transpose | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the matrix commands, specifies whether to transpose the | |
| | | matrix as the values are loaded into the uniform variable. | |
- v0, v1, v2, v3 | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the scalar commands, specifies the new values to be used | |
| | | for the specified uniform variable. | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector and matrix commands, specifies a pointer to | |
| | | an array of | |
| | |----^parameter | |
| | | |----#text | |
| | | | count | |
| | |----#text | |
| | | values that will be | |
| | | used to update the specified uniform variable. | |
Function varients: | |
- void glUniform1f(GLint location, GLfloat v0) | |
- void glUniform2f(GLint location, GLfloat v0, GLfloat v1) | |
- void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) | |
- void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) | |
- void glUniform1i(GLint location, GLint v0) | |
- void glUniform2i(GLint location, GLint v0, GLint v1) | |
- void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) | |
- void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) | |
- void glUniform1ui(GLint location, GLuint v0) | |
- void glUniform2ui(GLint location, GLuint v0, GLuint v1) | |
- void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) | |
- void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) | |
- void glUniform1fv(GLint location, GLsizei count, const GLfloat value) | |
- void glUniform2fv(GLint location, GLsizei count, const GLfloat value) | |
- void glUniform3fv(GLint location, GLsizei count, const GLfloat value) | |
- void glUniform4fv(GLint location, GLsizei count, const GLfloat value) | |
- void glUniform1iv(GLint location, GLsizei count, const GLint value) | |
- void glUniform2iv(GLint location, GLsizei count, const GLint value) | |
- void glUniform3iv(GLint location, GLsizei count, const GLint value) | |
- void glUniform4iv(GLint location, GLsizei count, const GLint value) | |
- void glUniform1uiv(GLint location, GLsizei count, const GLuint value) | |
- void glUniform2uiv(GLint location, GLsizei count, const GLuint value) | |
- void glUniform3uiv(GLint location, GLsizei count, const GLuint value) | |
- void glUniform4uiv(GLint location, GLsizei count, const GLuint value) | |
- void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat value) | |
- man4/glUniformBlockBinding.xml[glUniformBlockBinding] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | The name of a program object containing the active uniform block whose binding to assign. | |
- uniformBlockIndex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the active uniform block within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | whose binding to assign. | |
- uniformBlockBinding | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the binding point to which to bind the uniform block with index | |
| | |----^parameter | |
| | | |----#text | |
| | | | uniformBlockIndex | |
| | |----#text | |
| | | within | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) | |
- man4/glUniformSubroutines.xml[glUniformSubroutines] | |
Copyright: Khronos Group. 2010-2014 | |
Paramater documentation: | |
- shadertype | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the shader stage from which to query for subroutine uniform index. | |
| | |----^parameter | |
| | | |----#text | |
| | | | shadertype | |
| | |----#text | |
| | | must be one of | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_VERTEX_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_CONTROL_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TESS_EVALUATION_SHADER | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_GEOMETRY_SHADER | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FRAGMENT_SHADER | |
| | |----#text | |
| | | . | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of uniform indices stored in | |
| | |----^parameter | |
| | | |----#text | |
| | | | indices | |
| | |----#text | |
| | | . | |
- indices | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the address of an array holding the indices to load into the shader subroutine variables. | |
Function varients: | |
- void glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint indices) | |
- man4/glUnmapBuffer.xml[glUnmapBuffer] | |
Copyright: Addison-Wesley Group 2005 | |
Paramater documentation: | |
- target | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the target to which the buffer object is bound | |
| | | for | |
| | |----^function | |
| | | |----#text | |
| | | | glUnmapBuffer | |
| | |----#text | |
| | | , which must be | |
| | | one of the buffer binding targets in the following | |
| | | table: | |
| |---- | |
| | |----table>[cols=2] | |
| | | |----head | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Buffer Binding Target | |
| | | | | |----entry | |
| | | | | | |----style>bold | |
| | | | | | | |----#text | |
| | | | | | | | Purpose | |
| | | |----body | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex attributes | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ATOMIC_COUNTER_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Atomic counter storage | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_READ_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_COPY_WRITE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Buffer copy destination | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DISPATCH_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect compute dispatch commands | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_DRAW_INDIRECT_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Indirect command arguments | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_ELEMENT_ARRAY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Vertex array indices | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_PACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Pixel read target | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_PIXEL_UNPACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data source | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_QUERY_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Query result buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_SHADER_STORAGE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Read-write storage for shaders | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TEXTURE_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Texture data buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_TRANSFORM_FEEDBACK_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Transform feedback buffer | |
| | | | |----row | |
| | | | | |----entry | |
| | | | | | |----^constant | |
| | | | | | | |----#text | |
| | | | | | | | GL_UNIFORM_BUFFER | |
| | | | | |----entry | |
| | | | | | |----#text | |
| | | | | | | Uniform block storage | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object for | |
| | |----^function | |
| | | |----#text | |
| | | | glUnmapNamedBuffer | |
| | |----#text | |
| | | . | |
Function varients: | |
- GLboolean glUnmapBuffer(GLenum target) | |
- GLboolean glUnmapNamedBuffer(GLuint buffer) | |
- man4/glUseProgram.xml[glUseProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the program object | |
| | | whose executables are to be used as part of current | |
| | | rendering state. | |
Function varients: | |
- void glUseProgram(GLuint program) | |
- man4/glUseProgramStages.xml[glUseProgramStages] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program pipeline object to which to bind stages from | |
| | |----^parameter | |
| | | |----#text | |
| | | | program | |
| | |----#text | |
| | | . | |
- stages | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a set of program stages to bind to the program pipeline object. | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the program object containing the shader executables to use in | |
| | |----^parameter | |
| | | |----#text | |
| | | | pipeline | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) | |
- man4/glValidateProgram.xml[glValidateProgram] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- program | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the handle of the program object to | |
| | | be validated. | |
Function varients: | |
- void glValidateProgram(GLuint program) | |
- man4/glValidateProgramPipeline.xml[glValidateProgramPipeline] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- pipeline | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of a program pipeline object to validate. | |
Function varients: | |
- void glValidateProgramPipeline(GLuint pipeline) | |
- man4/glVertexAttribBinding.xml[glVertexArrayAttribBinding] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object for | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexArrayAttribBinding | |
| | |----#text | |
| | | . | |
- attribindex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the attribute to associate with a vertex | |
| | | buffer binding. | |
- bindingindex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the vertex buffer binding with which to | |
| | | associate the generic vertex attribute. | |
Function varients: | |
- void glVertexAttribBinding(GLuint attribindex, GLuint bindingindex) | |
- void glVertexArrayAttribBinding(GLuint vaobj, GLuint attribindex, GLuint bindingindex) | |
- man4/glVertexAttribFormat.xml[glVertexArrayAttribFormat] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object for | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexArrayAttrib{I, L}Format | |
| | |----#text | |
| | | functions. | |
- attribindex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The generic vertex attribute array being described. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | The number of values per vertex that are stored in the | |
| | | array. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | The type of the data stored in the array. | |
- normalized | |
|---- | |
| |---- | |
| | |----#text | |
| | | The distance between elements within the buffer. | |
- relativeoffset | |
|---- | |
| |---- | |
| | |----#text | |
| | | The distance between elements within the buffer. | |
Function varients: | |
- void glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) | |
- void glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) | |
- void glVertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) | |
- void glVertexArrayAttribFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) | |
- void glVertexArrayAttribIFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) | |
- void glVertexArrayAttribLFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) | |
- man4/glVertexBindingDivisor.xml[glVertexArrayBindingDivisor] | |
Copyright: Khronos Group 2013-2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object for | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexArrayBindingDivisor | |
| | |----#text | |
| | | function. | |
- bindingindex | |
|---- | |
| |---- | |
| | |----#text | |
| | | The index of the binding whose divisor to modify. | |
- divisor | |
|---- | |
| |---- | |
| | |----#text | |
| | | The new value for the instance step rate to apply. | |
Function varients: | |
- void glVertexBindingDivisor(GLuint bindingindex, GLuint divisor) | |
- void glVertexArrayBindingDivisor(GLuint vaobj, GLuint bindingindex, GLuint divisor) | |
- man4/glVertexArrayElementBuffer.xml[glVertexArrayElementBuffer] | |
Copyright: Khronos Group 2014 | |
Paramater documentation: | |
- vaobj | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the vertex array object. | |
- buffer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the name of the buffer object to use for the element array buffer binding. | |
Function varients: | |
- void glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer) | |
- man4/glVertexAttrib.xml[glVertexAttrib] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the generic vertex | |
| | | attribute to be modified. | |
- v0, v1, v2, v3 | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the scalar commands, specifies the new values to be used | |
| | | for the specified vertex attribute. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the vector commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttrib*v | |
| | |----#text | |
| | | ), specifies a pointer | |
| | | to an array of values to be used for the generic vertex | |
| | | attribute. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the packed commands | |
| | | ( | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribP* | |
| | |----#text | |
| | | ), specified the type | |
| | | of packing used on the data. This parameter must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT_2_10_10_10_REV | |
| | |----#text | |
| | | or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | , to | |
| | | specify signed or unsigned data, respectively, or | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10F_11F_11F_REV | |
| | |----#text | |
| | | to | |
| | | specify floating point data. | |
- normalized | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the packed commands, if | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRUE | |
| | |----#text | |
| | | , | |
| | | then the values are to be converted to floating point values | |
| | | by normalizing. Otherwise, they are converted directly to | |
| | | floating-point values. If | |
| | |----^parameter | |
| | | |----#text | |
| | | | type | |
| | |----#text | |
| | | indicates a floating-pont format, then | |
| | |----^parameter | |
| | | |----#text | |
| | | | normalized | |
| | |----#text | |
| | | value must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | . | |
- value | |
|---- | |
| |---- | |
| | |----#text | |
| | | For the packed commands, specifies the new packed value to | |
| | | be used for the specified vertex attribute. | |
Function varients: | |
- void glVertexAttrib1f(GLuint index, GLfloat v0) | |
- void glVertexAttrib1s(GLuint index, GLshort v0) | |
- void glVertexAttrib1d(GLuint index, GLdouble v0) | |
- void glVertexAttribI1i(GLuint index, GLint v0) | |
- void glVertexAttribI1ui(GLuint index, GLuint v0) | |
- void glVertexAttrib2f(GLuint index, GLfloat v0, GLfloat v1) | |
- void glVertexAttrib2s(GLuint index, GLshort v0, GLshort v1) | |
- void glVertexAttrib2d(GLuint index, GLdouble v0, GLdouble v1) | |
- void glVertexAttribI2i(GLuint index, GLint v0, GLint v1) | |
- void glVertexAttribI2ui(GLuint index, GLuint v0, GLuint v1) | |
- void glVertexAttrib3f(GLuint index, GLfloat v0, GLfloat v1, GLfloat v2) | |
- void glVertexAttrib3s(GLuint index, GLshort v0, GLshort v1, GLshort v2) | |
- void glVertexAttrib3d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2) | |
- void glVertexAttribI3i(GLuint index, GLint v0, GLint v1, GLint v2) | |
- void glVertexAttribI3ui(GLuint index, GLuint v0, GLuint v1, GLuint v2) | |
- void glVertexAttrib4f(GLuint index, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) | |
- void glVertexAttrib4s(GLuint index, GLshort v0, GLshort v1, GLshort v2, GLshort v3) | |
- void glVertexAttrib4d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) | |
- void glVertexAttrib4Nub(GLuint index, GLubyte v0, GLubyte v1, GLubyte v2, GLubyte v3) | |
- void glVertexAttribI4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3) | |
- void glVertexAttribI4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3) | |
- void glVertexAttribL1d(GLuint index, GLdouble v0) | |
- void glVertexAttribL2d(GLuint index, GLdouble v0, GLdouble v1) | |
- void glVertexAttribL3d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2) | |
- void glVertexAttribL4d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) | |
- void glVertexAttrib1fv(GLuint index, const GLfloat v) | |
- void glVertexAttrib1sv(GLuint index, const GLshort v) | |
- void glVertexAttrib1dv(GLuint index, const GLdouble v) | |
- void glVertexAttribI1iv(GLuint index, const GLint v) | |
- void glVertexAttribI1uiv(GLuint index, const GLuint v) | |
- void glVertexAttrib2fv(GLuint index, const GLfloat v) | |
- void glVertexAttrib2sv(GLuint index, const GLshort v) | |
- void glVertexAttrib2dv(GLuint index, const GLdouble v) | |
- void glVertexAttribI2iv(GLuint index, const GLint v) | |
- void glVertexAttribI2uiv(GLuint index, const GLuint v) | |
- void glVertexAttrib3fv(GLuint index, const GLfloat v) | |
- void glVertexAttrib3sv(GLuint index, const GLshort v) | |
- void glVertexAttrib3dv(GLuint index, const GLdouble v) | |
- void glVertexAttribI3iv(GLuint index, const GLint v) | |
- void glVertexAttribI3uiv(GLuint index, const GLuint v) | |
- void glVertexAttrib4fv(GLuint index, const GLfloat v) | |
- void glVertexAttrib4sv(GLuint index, const GLshort v) | |
- void glVertexAttrib4dv(GLuint index, const GLdouble v) | |
- void glVertexAttrib4iv(GLuint index, const GLint v) | |
- void glVertexAttrib4bv(GLuint index, const GLbyte v) | |
- void glVertexAttrib4ubv(GLuint index, const GLubyte v) | |
- void glVertexAttrib4usv(GLuint index, const GLushort v) | |
- void glVertexAttrib4uiv(GLuint index, const GLuint v) | |
- void glVertexAttrib4Nbv(GLuint index, const GLbyte v) | |
- void glVertexAttrib4Nsv(GLuint index, const GLshort v) | |
- void glVertexAttrib4Niv(GLuint index, const GLint v) | |
- void glVertexAttrib4Nubv(GLuint index, const GLubyte v) | |
- void glVertexAttrib4Nusv(GLuint index, const GLushort v) | |
- void glVertexAttrib4Nuiv(GLuint index, const GLuint v) | |
- void glVertexAttribI4bv(GLuint index, const GLbyte v) | |
- void glVertexAttribI4ubv(GLuint index, const GLubyte v) | |
- void glVertexAttribI4sv(GLuint index, const GLshort v) | |
- void glVertexAttribI4usv(GLuint index, const GLushort v) | |
- void glVertexAttribI4iv(GLuint index, const GLint v) | |
- void glVertexAttribI4uiv(GLuint index, const GLuint v) | |
- void glVertexAttribL1dv(GLuint index, const GLdouble v) | |
- void glVertexAttribL2dv(GLuint index, const GLdouble v) | |
- void glVertexAttribL3dv(GLuint index, const GLdouble v) | |
- void glVertexAttribL4dv(GLuint index, const GLdouble v) | |
- void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) | |
- void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) | |
- void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) | |
- void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) | |
- man4/glVertexAttribDivisor.xml[glVertexAttribDivisor] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the index of the generic vertex attribute. | |
- divisor | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of instances that will pass between updates of the generic attribute at slot | |
| | |----^parameter | |
| | | |----#text | |
| | | | index | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glVertexAttribDivisor(GLuint index, GLuint divisor) | |
- man4/glVertexAttribPointer.xml[glVertexAttribIPointer] | |
Copyright: 3Dlabs Inc. Ltd. 2003-2005 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the index of the generic vertex | |
| | | attribute to be modified. | |
- size | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the number of components per | |
| | | generic vertex attribute. Must | |
| | | be 1, 2, 3, 4. Additionally, the symbolic constant | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BGRA | |
| | |----#text | |
| | | is accepted by | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribPointer | |
| | |----#text | |
| | | . The initial value is 4. | |
- type | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the data type of each component in | |
| | | the array. The symbolic constants | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_BYTE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_SHORT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT | |
| | |----#text | |
| | | , and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT | |
| | |----#text | |
| | | are accepted by | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribPointer | |
| | |----#text | |
| | | and | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribIPointer | |
| | |----#text | |
| | | . Additionally | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_HALF_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DOUBLE | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FIXED | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_INT_2_10_10_10_REV | |
| | |----#text | |
| | | , | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_2_10_10_10_REV | |
| | |----#text | |
| | | and | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_UNSIGNED_INT_10F_11F_11F_REV | |
| | |----#text | |
| | | are accepted by | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribPointer | |
| | |----#text | |
| | | . | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_DOUBLE | |
| | |----#text | |
| | | is also accepted by | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribLPointer | |
| | |----#text | |
| | | and is | |
| | | the only token accepted by the | |
| | |----^parameter | |
| | | |----#text | |
| | | | type | |
| | |----#text | |
| | | parameter for that function. | |
| | | The initial value is | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FLOAT | |
| | |----#text | |
| | | . | |
- normalized | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glVertexAttribPointer | |
| | |----#text | |
| | | , specifies whether fixed-point data values | |
| | | should be normalized ( | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TRUE | |
| | |----#text | |
| | | ) | |
| | | or converted directly as fixed-point values | |
| | | ( | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_FALSE | |
| | |----#text | |
| | | ) when they are | |
| | | accessed. | |
- stride | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the byte offset between consecutive | |
| | | generic vertex attributes. If | |
| | |----^parameter | |
| | | |----#text | |
| | | | stride | |
| | |----#text | |
| | | is 0, the generic vertex attributes are | |
| | | understood to be tightly packed in the | |
| | | array. The initial value is 0. | |
- pointer | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the | |
| | | buffer currently bound to the | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_ARRAY_BUFFER | |
| | |----#text | |
| | | target. The initial value is 0. | |
Function varients: | |
- void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer) | |
- void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) | |
- void glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) | |
- man4/glViewport.xml[glViewport] | |
Copyright: Silicon Graphics, Inc. 1991-2006 | |
Paramater documentation: | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the lower left corner of the viewport rectangle, | |
| | | in pixels. The initial value is (0,0). | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the width and height | |
| | | of the viewport. | |
| | | When a GL context is first attached to a window, | |
| | |----^parameter | |
| | | |----#text | |
| | | | width | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | height | |
| | |----#text | |
| | | are set to the dimensions of that | |
| | | window. | |
Function varients: | |
- void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) | |
- man4/glViewportArray.xml[glViewportArray] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- first | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the first viewport to set. | |
- count | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the number of viewports to set. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the address of an array containing the viewport parameters. | |
Function varients: | |
- void glViewportArrayv(GLuint first, GLsizei count, const GLfloat v) | |
- man4/glViewportIndexed.xml[glViewportIndexed] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- index | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specify the first viewport to set. | |
- x | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glViewportIndexedf | |
| | |----#text | |
| | | , specifies the lower left corner of | |
| | | the viewport rectangle, in pixels. The initial value is (0,0). | |
- width | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glViewportIndexedf | |
| | |----#text | |
| | | , specifies the width and height | |
| | | of the viewport. | |
| | | When a GL context is first attached to a window, | |
| | |----^parameter | |
| | | |----#text | |
| | | | width | |
| | |----#text | |
| | | and | |
| | |----^parameter | |
| | | |----#text | |
| | | | height | |
| | |----#text | |
| | | are set to the dimensions of that | |
| | | window. | |
- v | |
|---- | |
| |---- | |
| | |----#text | |
| | | For | |
| | |----^function | |
| | | |----#text | |
| | | | glViewportIndexedfv | |
| | |----#text | |
| | | , specifies the address of an array containing the viewport parameters. | |
Function varients: | |
- void glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) | |
- man4/glWaitSync.xml[glWaitSync] | |
Copyright: Khronos Group 2010-2014 | |
Paramater documentation: | |
- sync | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the sync object whose status to wait on. | |
- flags | |
|---- | |
| |---- | |
| | |----#text | |
| | | A bitfield controlling the command flushing behavior. | |
| | |----^parameter | |
| | | |----#text | |
| | | | flags | |
| | |----#text | |
| | | may be zero. | |
- timeout | |
|---- | |
| |---- | |
| | |----#text | |
| | | Specifies the timeout that the server should wait before continuing. | |
| | |----^parameter | |
| | | |----#text | |
| | | | timeout | |
| | |----#text | |
| | | must be | |
| | |----^constant | |
| | | |----#text | |
| | | | GL_TIMEOUT_IGNORED | |
| | |----#text | |
| | | . | |
Function varients: | |
- void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment