ImageTextureParams<S>
ts
type ImageTextureParams<S> = BaseTextureParams & {
src: S;
};Parameters for creating a texture from an external source (Image, Video, etc.).
Type Declaration
| Name | Type | Description |
|---|---|---|
src | S | A source of texture: image, video, canvas, etc. |
Type Parameters
S
S extends TexImageSource = TexImageSource