Skip to content

GPUExternalTextureDescriptor

[<Interface>]
type GPUExternalTextureDescriptor =
    abstract member colorSpace: PredefinedColorSpace option with get, set
    abstract member source: U2<HTMLVideoElement,VideoFrame> with get, set
    static member Create (source: VideoFrame, ?label: string, ?colorSpace: PredefinedColorSpace) : GPUExternalTextureDescriptor
    static member Create (source: HTMLVideoElement, ?label: string, ?colorSpace: PredefinedColorSpace) : GPUExternalTextureDescriptor
AssemblyGlutinum.Web
Inheritsobj \| null
ImplementsGPUObjectDescriptorBase
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member colorSpace: PredefinedColorSpace option with get, set
abstract member source: U2<HTMLVideoElement,VideoFrame> with get, set

Methods

static member Create (source: VideoFrame, ?label: string, ?colorSpace: PredefinedColorSpace) : GPUExternalTextureDescriptor
static member Create (source: HTMLVideoElement, ?label: string, ?colorSpace: PredefinedColorSpace) : GPUExternalTextureDescriptor