Query: glvertexattribdivisor
OS: osx
Section: 3g
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GLVERTEXATTRIBDIVISO(3G) OpenGL 3.3 GLVERTEXATTRIBDIVISO(3G)NAMEglVertexAttribDivisor - modify the rate at which generic vertex attributes advance during instanced renderingC SPECIFICATIONvoid glVertexAttribDivisor(GLuint index, GLuint divisor);PARAMETERSindex Specify the index of the generic vertex attribute. divisor Specify the number of instances that will pass between updates of the generic attribute at slot index.DESCRIPTIONglVertexAttribDivisor modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a single draw call. If divisor is zero, the attribute at slot index advances once per vertex. If divisor is non-zero, the attribute advances once per divisor instances of the set(s) of vertices being rendered. An attribute is referred to as instanced if its GL_VERTEX_ATTRIB_ARRAY_DIVISOR value is non-zero. index must be less than the value of GL_MAX_VERTEX_ATTRIBUTES.NOTESglVertexAttribDivisor is available only if the GL version is 3.3 or higher.ERRORSGL_INVALID_VALUE is generated if index is greater than or equal to the value of GL_MAX_VERTEX_ATTRIBUTES.SEE ALSOglVertexAttribPointer(), glEnableVertexAttribArray(), glDisableVertexAttribArray()COPYRIGHTCopyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLVERTEXATTRIBDIVISO(3G)
Similar Topics in the Unix Linux Community |
---|
ls- l and du |
Migrating from HP-UX 11 to HP-UX 11.i? |
HELP! Need 2 Write a program which will read in a tax rate (as a percentage) and the |