Skip to content

Documentation / @debuffjp/core / RawContext

Type Alias: RawContext ​

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

Defined in: spryte/dist/backend.d.ts:22

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