Skip to main content
The Deno 2 Release Candidate is here
Learn more
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@3.0.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.