Interface GPUExternalTextureDescriptor

    interface GPUExternalTextureDescriptor {
        colorSpace?: PredefinedColorSpace;
        label?: string;
        source: HTMLVideoElement | VideoFrame;
    }
    Hierarchy

    Properties

    The color space the image contents of GPUExternalTextureDescriptor#source will be converted into when reading.

    label?: string

    The initial value of GPUObjectBase.label.

    The video source to import the external texture from.