mirror of
https://github.com/zoriya/libpgs-js.git
synced 2026-08-27 00:00:51 +00:00
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.
15 lines
493 B
TypeScript
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"
|
|
}
|