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

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

Initializes the given texture. Can be used to preload a texture rather than waiting until first render (which can cause noticeable lags due to decode and GPU upload overhead).

Parameters

texture: Texture

The texture to Initialize.