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

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

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

Constructors

new
DataTexture(
data: TypedArray,
width: number,
height: number,
format?: PixelFormat,
mapping?: Mapping,
wrapS?: Wrapping,
wrapT?: Wrapping,
magFilter?: TextureFilter,
minFilter?: TextureFilter,
anisotropy?: number,
encoding?: TextureEncoding,
)

Properties

flipY: boolean
format: PixelFormat
generateMipmaps: boolean
image: ImageData
readonly
isDataTexture: true
unpackAlignment: number