GPUExternalTextureDescriptor constructor
GPUExternalTextureDescriptor({
- required HTMLVideoElement source,
- PredefinedColorSpace? colorSpace,
Implementation
factory GPUExternalTextureDescriptor(
{required HTMLVideoElement source,
PredefinedColorSpace? colorSpace}) =>
GPUExternalTextureDescriptor._(
source: source,
colorSpace: colorSpace?.value ?? PredefinedColorSpace.srgb.value);