UNPKG

@luma.gl/core

Version:

The luma.gl core Device API

17 lines (13 loc) 509 B
// luma.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors import {CanvasSurface} from './canvas-surface'; export type {CanvasContextProps as PresentationContextProps} from './canvas-surface'; /** * Tracks a destination canvas for presentation. * Backend implementations either borrow the default GPU-backed canvas (WebGL) * or render directly into the destination canvas (WebGPU). */ export abstract class PresentationContext extends CanvasSurface { abstract present(): void; }