Files
libpgs-js/dist/browserSupport.d.ts
T
zoriya bfd15e68bc Commit the build output.
Not for upstream: this branch only exists so a consumer can depend on the fork
straight from git while the `ready` promise waits on a release.
2026-08-26 19:23:04 +02:00

16 lines
546 B
TypeScript

import { PgsRendererMode } from "./pgsRendererMode";
export declare class BrowserSupport {
/**
* Checks if the web worker is supported in the current environment.
*/
static isWorkerSupported(): boolean;
/**
* Checks if the offscreen-canvas and `transferControlToOffscreen` are supported in the current environment.
*/
static isOffscreenCanvasSupported(): boolean;
/**
* Returns the optimal PGS renderer mode for the current platform.
*/
static getRendererModeByPlatform(): PgsRendererMode;
}