glBindBufferBase man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

GLBINDBUFFERBASE(3G)		 OpenGL Manual		  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 one of
	   GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER,
	   GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_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.

       The GL_ATOMIC_COUNTER_BUFER target is available only if the GL version
       is 4.2 or greater.

       The GL_SHADER_STORAGE_BUFFER target is available only if the GL version
       is 4.3 or greater.

ERRORS
       GL_INVALID_ENUM is generated if target is not GL_ATOMIC_COUNTER_BUFFER,
       GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or
       GL_SHADER_STORAGE_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 © 2010-2011 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			  04/29/2014		  GLBINDBUFFERBASE(3G)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net