Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/renderers/webgl/WebGLTextures.d.ts>WebGLTextures

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

Constructors

new
WebGLTextures(
gl: WebGLRenderingContext,
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