@mocanvas/editor · class
declare class WebGL2Backend implements RenderBackendThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Methods · 6
constructor(canvas: HTMLCanvasElement, options?: {deleteTexture(id: number): voiddispose(): voiddraw(frame: FrameBuffers, camera: CameraState, options: DrawOptions): voidresize(width: number, height: number, dpr: number): voiduploadTexture(id: number, source: TextureSource, opts?: TextureOptions): voidProperties · 2
readonly canvas: HTMLCanvasElementreadonly kind: "webgl2"mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.