Skip to content

API Reference / @gtkx/gl / clearBufferfi

Function: clearBufferfi()

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

Defined in: generated/commands.d.ts:622

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

Released under the MPL-2.0 License.