Skip to content

API Reference / @gtkx/gl / depthFunc

Function: depthFunc()

depthFunc(func): void

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

void glDepthFunc(GLenum func)

Provided by GL_VERSION_1_0.

Parameters

func

number

GLenum, group DepthFunction

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDepthFunc.xhtml

Released under the MPL-2.0 License.