import { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts";
const { Texture } = three;
Constructors
Properties
An image object, typically created using the TextureLoader.load method. This can be any image (e.g., PNG, JPG, GIF, DDS) or video (e.g., MP4, OGG/OGV) type supported by three.js.
To use video as a texture you need to have a playing HTML5 video element as a source for your texture image and continuously update this texture as long as video is playing - the VideoTexture class handles this automatically.
The data definition of a texture. A reference to the data source can be shared across textures. This is often useful in context of spritesheets where multiple textures render the same data but with different texture transformations.
An object that can be used to store custom data about the Material. It should not hold references to functions as these will not be cloned.