Interface WebGPUCanvasContextProvider

Interface for a provider of GPUCanvasContext. Useful for non-Web environments where HTML Canvas element does not exist.

Hierarchy

  • WebGPUCanvasContextProvider

Accessors

Methods

Accessors

Methods

  • Gets a WebGLRenderingContext.

    Parameters

    • type: "webgpu"

      context type. Must be 'webgpu'

    Returns null | GPUCanvasContext

    a GPUCanvasContext, or null if unsupported.

Generated using TypeDoc