Files
libpgs-js/dist/pgsRendererMode.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

15 lines
493 B
TypeScript

export declare enum PgsRendererMode {
/**
* A worker thread is used to load, build and render the subtitles. This requires OffscreenCanvas support.
*/
worker = "worker",
/**
* A worker thread is used to load and build the subtitles. They are rendered in the main thread.
*/
workerWithoutOffscreenCanvas = "workerWithoutOffscreenCanvas",
/**
* The subtitles are loaded, built and rendered in the main thread.
*/
mainThread = "mainThread"
}