Skip to content

API Reference / @gtkx/gl / clearDepthf

Function: clearDepthf()

clearDepthf(d): void

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

void glClearDepthf(GLfloat d)

Provided by GL_VERSION_4_1. Registry note: Reuse commands from ARB_ES2_compatibility Also provided by the GL_ARB_ES2_compatibility extension. Also known as glClearDepthfOES.

Parameters

d

number

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

Returns

void

Released under the MPL-2.0 License.