OffscreenRenderingContextId Enum

The types of the rendering contexts of an OffscreenCanvas (https://html.spec.whatwg.org/multipage/canvas.html#offscreenrenderingcontextid).

public enum OffscreenRenderingContextId

Fields

NameValueDescription
TwoD0A 2D context (OffscreenCanvasRenderingContext2D).
BitmapRenderer1An ImageBitmapRenderingContext.
WebGL2A WebGL context (not supported).
WebGL23A WebGL 2 context (not supported).
WebGpu4A WebGPU context (not supported).