Signature
glClearBufferData(
GLenum (
target
)
,
GLenum (
internalformat
)
,
GLenum (
format
)
,
GLenum (
type
)
,
const void * (
data
)
)-> void
Parameters
Variables | Description |
---|---|
target |
Specify the target of the operation.
target
must be
one of the global buffer binding targets.
|
internalformat |
The internal format with which the data will be stored in the buffer object.
|
size |
The size, in basic machine units of the range of the data store to fill.
|
format |
The format of the data in memory addressed by
data
.
|
type |
The type of the data in memory addressed by
data
.
|
data |
The address of a memory location storing the data to be replicated into the
buffer's data store.
|