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

x/threejs_4_deno/src/Three.js>WebGLTextures

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class WebGLTextures
Re-export
import { WebGLTextures } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";

Constructors

new
WebGLTextures(
extensions: WebGLExtensions,
state: WebGLState,
properties: WebGLProperties,
capabilities: WebGLCapabilities,
utils: WebGLUtils,
info: WebGLInfo,
)

Methods

safeSetTexture2D(texture: any, slot: number): void
safeSetTextureCube(texture: any, slot: number): void
setTexture2D(texture: any, slot: number): void
setTexture2DArray(texture: any, slot: number): void
setTexture3D(texture: any, slot: number): void
setTextureCube(texture: any, slot: number): void
setupRenderTarget(renderTarget: any): void
updateMultisampleRenderTarget(renderTarget: any): void
updateRenderTargetMipmap(renderTarget: any): void