Skip to content

API Reference / @gtkx/gl / clearBufferiv

Function: clearBufferiv() ​

clearBufferiv(buffer, drawbuffer, value): void

Defined in: packages/gl/src/generated/commands.ts:797

void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)

Provided by GL_VERSION_3_0. GLX render opcode 362.

Parameters ​

buffer ​

number

Buffer

drawbuffer ​

number

GLint, kind DrawBufferIndex. This parameter represents an index to a draw buffer in the range 0 to the value of GL_MAX_COLOR_ATTACHMENTS

value ​

number[] | Int32Array<ArrayBufferLike>

GLint[] | Int32Array, length COMPSIZE(buffer)

Returns ​

void