Interface GPUExternalTextureDescriptor
interface GPUExternalTextureDescriptor {
colorSpace?: PredefinedColorSpace;
label?: string;
source: HTMLVideoElement | VideoFrame;
}
colorSpace?: PredefinedColorSpace;
label?: string;
source: HTMLVideoElement | VideoFrame;
}
Hierarchy
- GPUObjectDescriptorBase
- GPUExternalTextureDescriptor (View Summary)
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. Source size is determined as described by the external source dimensions table.
The color space the image contents of GPUExternalTextureDescriptor#source will be converted into when reading.