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

x/threejs_4_deno/src/renderers/webgl/WebGLBackground.js>WebGLBackground

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class WebGLBackground
import { WebGLBackground } from "https://deno.land/x/threejs_4_deno@v121/src/renderers/webgl/WebGLBackground.js";

Constructors

new
WebGLBackground(
renderer: WebGLRenderer,
cubemaps: WebGLCubeMaps,
state: WebGLState,
objects: WebGLObjects,
premultipliedAlpha: boolean,
)

Methods

getClearAlpha(): number
render(
renderList: WebGLRenderList,
scene: Scene,
camera: Camera,
forceClear: boolean,
): void
setClearAlpha(alpha: number): void
setClearColor(color: Color, alpha: number): void