core/texture
Type Aliases
| Type Alias | Description |
|---|---|
| BaseTextureParams | Base parameters for configuring a WebGL texture. |
| DataTextureParams | Parameters for creating a texture from raw data (TypedArray). |
| ImageTextureParams | Parameters for creating a texture from an external source (Image, Video, etc.). |
| TextureParams | Union type of all possible texture configuration parameters. |
| LoadVideoParams | Parameters for loading a video texture. |
Functions
| Function | Description |
|---|---|
| loadTexture | Loads an image from a URL and returns a Promise resolving to ImageTextureParams. |
| loadVideoTexture | Loads a video from a URL and returns ImageTextureParams. |
| createFloatDataTexture | Creates texture parameters for a float data texture. Useful for passing arbitrary numerical data to shaders. |