Skip to content

ImageTextureParams<S>

ts
type ImageTextureParams<S> = 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.