Interface GPUExternalTextureDescriptor
interface GPUExternalTextureDescriptor {
colorSpace?: PredefinedColorSpace;
label?: string;
source: HTMLVideoElement | VideoFrame;
}
colorSpace?: PredefinedColorSpace;
label?: string;
source: HTMLVideoElement | VideoFrame;
}
Hierarchy
- GPUObjectDescriptorBase
- GPUExternalTextureDescriptor (view full)
Index
Properties
Properties
Optional
colorSpace
Optional
label
label?: string
The initial value of GPUObjectBase.label.
source
The video source to import the external texture from.
The color space the image contents of GPUExternalTextureDescriptor#source will be converted into when reading.