Skip to content

Documentation / @debuffjp/core / RawContext

Type Alias: RawContext ​

RawContext = { gl: WebGL2RenderingContext; kind: "webgl2"; } | { ctx: CanvasRenderingContext2D; kind: "2d"; }

Defined in: render/backend.ts:14

Raw access for advanced users. The backends are not interchangeable at this level.