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#setRenderTarget

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

Sets the active render target.

Parameters

The renderTarget that needs to be activated. When null is given, the canvas is set as the active render target instead.

optional
activeCubeFace: number

Specifies the active cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) of WebGLCubeRenderTarget.

optional
activeMipmapLevel: number

Specifies the active mipmap level.