Skip to content

API Reference / @gtkx/gl / clearDepthf

Function: clearDepthf() ​

clearDepthf(d): void

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

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