GPUCanvasContext
[<Interface>]
type GPUCanvasContext =
abstract member canvas: U2<HTMLCanvasElement,OffscreenCanvas>
abstract member configure (configuration: GPUCanvasConfiguration) : unit
abstract member getConfiguration () : GPUCanvasConfiguration option
abstract member getCurrentTexture () : GPUTexture
abstract member unconfigure () : unit| Assembly | Glutinum.Web |
| Inherits | obj \| null |
| Attributes | [<AllowNullLiteral>] [<Interface>] [<Global>] |
Properties
abstract member canvas: U2<HTMLCanvasElement,OffscreenCanvas>Methods
abstract member configure (configuration: GPUCanvasConfiguration) : unitabstract member getConfiguration () : GPUCanvasConfiguration optionabstract member getCurrentTexture () : GPUTexture