Signature
Parameters
Variables | Description |
---|---|
target |
Specifies the target to which the buffer object is bound.
The symbolic constant must be
GL_ARRAY_BUFFER
,
GL_ATOMIC_COUNTER_BUFFER
,
GL_COPY_READ_BUFFER
,
GL_COPY_WRITE_BUFFER
,
GL_DRAW_INDIRECT_BUFFER
,
GL_DISPATCH_INDIRECT_BUFFER
,
GL_ELEMENT_ARRAY_BUFFER
,
GL_PIXEL_PACK_BUFFER
,
GL_PIXEL_UNPACK_BUFFER
,
GL_QUERY_BUFFER
,
GL_SHADER_STORAGE_BUFFER
,
GL_TEXTURE_BUFFER
,
GL_TRANSFORM_FEEDBACK_BUFFER
, or
GL_UNIFORM_BUFFER
.
|
buffer |
Specifies the name of a buffer object.
|
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glBindBuffer