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

x/remapper/src/deps.ts>three.WebGLRenderer#render

A framework for Beat Saber map scripting.
Go to Latest
method three.WebGLRenderer.prototype.render
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { WebGLRenderer } = three;

Render a scene or an object using a camera. The render is done to a previously specified WebGLRenderTarget#renderTarget | .renderTarget set by calling WebGLRenderer#setRenderTarget | .setRenderTarget or to the canvas as usual.

By default render buffers are cleared before rendering but you can prevent this by setting the property WebGLRenderer#autoClear | autoClear to false. If you want to prevent only certain buffers being cleared you can set either the WebGLRenderer#autoClearColor | autoClearColor, WebGLRenderer#autoClearStencil | autoClearStencil or WebGLRenderer#autoClearDepth | autoClearDepth properties to false. To forcibly clear one ore more buffers call WebGLRenderer#clear | .clear.