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

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

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

Copies the pixels of a texture in the bounds sourceBox in the desination texture starting from the given position.

Parameters

sourceBox: Box3

Specifies the bounds

position: Vector3

Specifies the pixel offset into the dstTexture where the copy will occur.

srcTexture: Texture

Specifies the source texture.

Specifies the destination texture.

optional
level: number

Specifies the destination mipmap level of the texture.