Signature
glClearBuffer()->
glClearBufferfi(
GLenum (
buffer
)
,
GLint (
drawBuffer
)
,
GLfloat (
depth
)
,
GLint (
stencil
)
)-> void
glClearBufferfi(
buffer
,
drawbuffer
,
depth
,
stencil
)
glClearBufferfv(
GLenum (
buffer
)
,
GLint (
drawBuffer
)
,
const GLfloat * (
value
)
)-> void
glClearBufferfv(
buffer
,
drawbuffer
,
value
)
glClearBufferiv(
GLenum (
buffer
)
,
GLint (
drawBuffer
)
,
const GLint * (
value
)
)-> void
glClearBufferiv(
buffer
,
drawbuffer
,
value
)
glClearBufferuiv(
GLenum (
buffer
)
,
GLint (
drawBuffer
)
,
const GLuint * (
value
)
)-> void
glClearBufferuiv(
buffer
,
drawbuffer
,
value
)
Parameters
Variables | Description |
---|---|
buffer |
Specify the buffer to clear.
|
drawBuffer |
Specify a particular draw buffer to clear.
|
value |
For color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to.
For depth buffers, a pointer to a single depth value to clear the buffer to.
For stencil buffers, a pointer to a single stencil value to clear the buffer to.
|
depth |
The value to clear a depth render buffer to.
|
stencil |
The value to clear a stencil render buffer to.
|