Skip to content

ImageTextureParams<S extends TexImageSource = TexImageSource> ​

ts
type ImageTextureParams<S extends TexImageSource = TexImageSource> =
  BaseTextureParams & {
    src: S;
  };

Parameters for creating a texture from an external source (Image, Video, etc.).

Type Declaration ​

NameTypeDescription
srcSA source of texture: image, video, canvas, etc.

Type Parameters ​

S ​

S extends TexImageSource = TexImageSource

See ​

BaseTextureParams

Released under the MIT License.