Skip to content

API Reference / @gtkx/gl / clearDepth

Function: clearDepth() ​

clearDepth(depth): void

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

void glClearDepth(GLdouble depth)

Provided by GL_VERSION_1_0. GLX render opcode 132.

Parameters ​

depth ​

number

GLdouble, kind Clamped[0; 1]. This parameter will get clamped to the 0 to 1 range.

Returns ​

void