Skip to content

API Reference / @gtkx/gl / clearBufferfi

Function: clearBufferfi() ​

clearBufferfi(buffer, drawbuffer, depth, stencil): void

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

void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)

Provided by GL_VERSION_3_0. GLX render opcode 360.

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

depth ​

number

GLfloat

stencil ​

number

GLint

Returns ​

void