Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/Three.js>WebGLRendererParameters

A simple transformation of three.js for use within a Deno workflow
Go to Latest
interface WebGLRendererParameters
Re-export
import { type WebGLRendererParameters } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";

Properties

optional
canvas: HTMLCanvasElement | OffscreenCanvas

A Canvas where the renderer draws its output.

optional
context: WebGLRenderingContext
optional
precision: string

shader precision. Can be "highp", "mediump" or "lowp".

optional
alpha: boolean

default is false.

optional
premultipliedAlpha: boolean

default is true.

optional
antialias: boolean

default is false.

optional
stencil: boolean

default is true.

optional
preserveDrawingBuffer: boolean

default is false.

optional
powerPreference: string

Can be "high-performance", "low-power" or "default"

optional
depth: boolean

default is true.

optional
logarithmicDepthBuffer: boolean

default is false.