glGenBuffers
returns n
buffer object names in buffers
.
These names are marked as used, for the purposes of glGenBuffers
only, but they acquire buffer state only when they are first bound, just as if they were unused.
GL_INVALID_VALUE is generated if n
is negative.
@param n Specifies the number of buffer object names to be generated.
@param buffers Specifies an array in which the generated bufferobject names are stored.
@param offset the starting offset within thebuffers
array.
@exception IllegalArgumentException if buffers
isnull
.
@exception IllegalArgumentException if offset
isless than 0.
@exception IllegalArgumentException ifbuffers.length - offset
is less than n
.
|
|