class CanvasTexture
extends Texture
import { CanvasTexture } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
Constructors
new
CanvasTexture(canvas: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement,
mapping?: Mapping,
wrapS?: Wrapping,
wrapT?: Wrapping,
magFilter?: TextureFilter,
minFilter?: TextureFilter,
format?: PixelFormat,
type?: TextureDataType,
anisotropy?: number,