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

x/threejs_4_deno/src/Three.d.ts>CompressedTexture

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

Constructors

new
CompressedTexture(
mipmaps: ImageData[],
width: number,
height: number,
mapping?: Mapping,
wrapS?: Wrapping,
wrapT?: Wrapping,
magFilter?: TextureFilter,
minFilter?: TextureFilter,
anisotropy?: number,
encoding?: TextureEncoding,
)

Properties

flipY: boolean
generateMipmaps: boolean
image: { width: number; height: number; }
readonly
isCompressedTexture: true
mipmaps: ImageData[]