Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#depthRange

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
method WebGLRenderingContext.prototype.depthRange
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.7/deps.ts";

Specifies the depth range mapping from normalized device coordinates to window or viewport coordinates.

Parameters

zNear: number
zFar: number