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

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

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

Copies srcTexture to the specified level of dstTexture, offset by the input position.

Parameters

position: Vector2

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

srcTexture: Texture

Specifies the source texture.

dstTexture: Texture

Specifies the destination texture.

optional
level: number

Specifies the destination mipmap level of the texture.