depthRange method

void depthRange(
  1. GLclampf zNear,
  2. GLclampf zFar
)

The WebGLRenderingContext.depthRange() method of the WebGL API specifies the depth range mapping from normalized device coordinates to window or viewport coordinates.

Implementation

external void depthRange(
  GLclampf zNear,
  GLclampf zFar,
);