Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glbindvertexbuffer(3g) [centos man page]

GLBINDVERTEXBUFFER(3G)						   OpenGL Manual					    GLBINDVERTEXBUFFER(3G)

NAME
glBindVertexBuffer - bind a buffer to a vertex buffer bind point C SPECIFICATION
void glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLintptr stride); PARAMETERS
bindingindex The index of the vertex buffer binding point to which to bind the buffer. buffer The name of an existing buffer to bind to the vertex buffer binding point. offset The offset of the first element of the buffer. stride The distance between elements within the buffer. DESCRIPTION
glBindVertexBuffer binds the buffer named buffer to the vertex buffer binding point whose index is given by bindingindex. offset and stride specify the offset of the first element within the buffer and the distance between elements within the buffer, respectively, and are both measured in basic machine units. bindingindex must be less than the value of GL_MAX_VERTEX_ATTRIB_BINDINGS. offset and stride must be greater than or equal to zero. If buffer is zero, then any buffer currently bound to the specified binding point is unbound. ERRORS
GL_INVAILD_VALUE is generated if bindingindex is greater than or equal to the value of GL_MAX_VERTEX_ATTRIB_BINDINGS. GL_INVALID_VALUE is generated if offset or stride is less than zero. GL_INVALID_VALUE is generated if buffer is not the name of an existing buffer object. GL_INVALID_OPERATION is generated if no vertex array object is bound. ASSOCIATED GETS
glGet() with argument GL_MAX_VERTEX_ATTRIB_BINDINGS. SEE ALSO
glVertexAttribBinding(), glVertexAttribFormat(), glVertexAttribPointer(), glVertexBindingDivisor(). COPYRIGHT
Copyright (C) 2012 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/. AUTHORS
opengl.org opengl.org 06/10/2014 GLBINDVERTEXBUFFER(3G)

Check Out this Related Man Page

GLBINDBUFFERBASE(3G)						    OpenGL 3.3						      GLBINDBUFFERBASE(3G)

NAME
glBindBufferBase - bind a buffer object to an indexed buffer target C SPECIFICATION
void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); PARAMETERS
target Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. index Specify the index of the binding point within the array specified by target. buffer The name of a buffer object to bind to the specified binding point. DESCRIPTION
glBindBufferBase binds the buffer object buffer to the binding point at index index of the array of targets specified by target. Each target represents an indexed array of buffer binding points, as well as a single general binding point that can be used by other buffer manipulation functions such as glBindBuffer() or glMapBuffer(). In addition to binding buffer to the indexed buffer binding target, glBindBufferBase also binds buffer to the generic buffer binding point specified by target. NOTES
Calling glBindBufferBase is equivalent to calling glBindBufferRange() with offset zero and size equal to the size of the buffer. ERRORS
GL_INVALID_ENUM is generated if target is not GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. GL_INVALID_VALUE is generated if index is greater than or equal to the number of target-specific indexed binding points. GL_INVALID_VALUE is generated if buffer does not have an associated data store, or if the size of that store is zero. SEE ALSO
glGenBuffers(), glDeleteBuffers(), glBindBuffer(), glBindBufferRange(), glMapBuffer(), glUnmapBuffer(), COPYRIGHT
Copyright (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 GLBINDBUFFERBASE(3G)
Man Page