depthFunc method

void depthFunc(
  1. GLenum func
)

The WebGLRenderingContext.depthFunc() method of the WebGL API specifies a function that compares incoming pixel depth to the current depth buffer value.

Implementation

external void depthFunc(GLenum func);