Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gluten/src/webgl/renderingContext.ts>WebGLRenderingContext#depthRange

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.depthRange
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.0/src/webgl/renderingContext.ts";

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

Parameters

zNear: number
zFar: number