Skip to content

API Reference / @gtkx/gl / clearDepth

Function: clearDepth()

clearDepth(depth): void

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

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

Released under the MPL-2.0 License.