Skip to main content

Type Alias: VideoTextureProps

VideoTextureProps = Pick<ResourceProps, "id"> & object

Defined in: modules/engine/src/dynamic-texture/video-texture.ts:11

Properties for a live video binding source.

Type Declaration​

colorSpace?​

optional colorSpace?: "srgb"

Color space requested for copied or imported video data.

sampler?​

optional sampler?: Sampler | SamplerProps

Default sampler used by copied and native external bindings.

source​

source: HTMLVideoElement | VideoFrame

Caller-owned live video source followed by this binding source.