OffscreenRenderingContextId Enum
The types of the rendering contexts of an OffscreenCanvas (https://html.spec.whatwg.org/multipage/canvas.html#offscreenrenderingcontextid).
public enum OffscreenRenderingContextIdFields
| Name | Value | Description |
|---|---|---|
TwoD | 0 | A 2D context (OffscreenCanvasRenderingContext2D). |
BitmapRenderer | 1 | An ImageBitmapRenderingContext. |
WebGL | 2 | A WebGL context (not supported). |
WebGL2 | 3 | A WebGL 2 context (not supported). |
WebGpu | 4 | A WebGPU context (not supported). |