class Texture
extends EventDispatcher
Re-export
import { Texture } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";
Constructors
new
Texture(image?: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement,
mapping?: Mapping,
wrapS?: Wrapping,
wrapT?: Wrapping,
magFilter?: TextureFilter,
minFilter?: TextureFilter,
format?: PixelFormat,
type?: TextureDataType,
anisotropy?: number,
encoding?: TextureEncoding,
Properties
center: Vector2
encoding: TextureEncoding
format: PixelFormat
internalFormat: PixelFormatGPU | null
magFilter: TextureFilter
mapping: Mapping
matrix: Matrix3
minFilter: TextureFilter
offset: Vector2
repeat: Vector2
type: TextureDataType
wrapS: Wrapping
wrapT: Wrapping
Methods
clone(): this
dispose(): void
toJSON(meta: any): any
transformUv(uv: Vector2): Vector2
updateMatrix(): void