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#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@2.1.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.