Signature
glBufferSubData(
GLenum (
target
)
,
GLintptr (
offset
)
,
GLsizeiptr (
size
)
,
const GLvoid * (
data
)
)-> void
glBufferSubData(
target
,
offset
,
size
,
data
)
Copy subset of data into the currently bound vertex-buffer-data object target -- the symbolic constant indicating which buffer type is intended offset -- offset from beginning of buffer at which to copy bytes size -- the count-in-bytes of the array (if an int/long), if None, calculate size from data, if an array and data is None, use as data (i.e. the parameter can be omitted and calculated) data -- data-pointer to be used, may be None to initialize without copying over a data-set Note that if size is not an int/long it is considered to be data *iff* data is None
Parameters
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.
glBufferSubData