VBO.setDataRaw

Sets the data of the buffer (raw).

class VBO
@system
void
setDataRaw
(
GLvoid* data
,
GLsizei length
,
GLenum usage = GL_STATIC_DRAW
)

Parameters

data GLvoid*

The data to be placed in the buffer.

length GLsizei

The length in bytes of the data.

usage GLenum

See OpenGL docs on usage parameter in glBufferData.

Meta