Skip to content

GPUCanvasContext

[<Interface>]
type GPUCanvasContext =
    abstract member canvas: U2<HTMLCanvasElement,OffscreenCanvas>
    static member Create (canvas: U2<HTMLCanvasElement,OffscreenCanvas>, configure: GPUCanvasConfiguration -> unit, getConfiguration: unit -> GPUCanvasConfiguration option, getCurrentTexture: unit -> GPUTexture, unconfigure: unit -> unit) : GPUCanvasContext
    abstract member configure (configuration: GPUCanvasConfiguration) : unit
    abstract member getConfiguration () : GPUCanvasConfiguration option
    abstract member getCurrentTexture () : GPUTexture
    abstract member unconfigure () : unit
AssemblyXantham.Fable.Core.TS
Attributes[<Interface>]

Properties

abstract member canvas: U2<HTMLCanvasElement,OffscreenCanvas>

Methods

static member Create (canvas: U2<HTMLCanvasElement,OffscreenCanvas>, configure: GPUCanvasConfiguration -> unit, getConfiguration: unit -> GPUCanvasConfiguration option, getCurrentTexture: unit -> GPUTexture, unconfigure: unit -> unit) : GPUCanvasContext
abstract member configure (configuration: GPUCanvasConfiguration) : unit
abstract member getConfiguration () : GPUCanvasConfiguration option
abstract member getCurrentTexture () : GPUTexture
abstract member unconfigure () : unit