interface StageOptions {
    appHeight: number;
    appWidth: number;
    boundsMargin: number | [number, number, number, number];
    canvas: OffscreenCanvas | HTMLCanvasElement;
    clearColor: number;
    deviceLogicalPixelRatio: number;
    devicePhysicalPixelRatio: number;
    enableContextSpy: boolean;
    eventBus: EventEmitter;
    fontEngines: (typeof CanvasTextRenderer | typeof SdfTextRenderer)[];
    forceWebGL2: boolean;
    fpsUpdateInterval: number;
    inspector: boolean;
    numImageWorkers: number;
    quadBufferSize: number;
    renderEngine: typeof WebGlCoreRenderer | typeof CanvasCoreRenderer;
    strictBounds: boolean;
    textureMemory: TextureMemoryManagerSettings;
}

Properties

appHeight: number
appWidth: number
boundsMargin: number | [number, number, number, number]
canvas: OffscreenCanvas | HTMLCanvasElement
clearColor: number
deviceLogicalPixelRatio: number
devicePhysicalPixelRatio: number
enableContextSpy: boolean
eventBus: EventEmitter
fontEngines: (typeof CanvasTextRenderer | typeof SdfTextRenderer)[]
forceWebGL2: boolean
fpsUpdateInterval: number
inspector: boolean
numImageWorkers: number
quadBufferSize: number
renderEngine: typeof WebGlCoreRenderer | typeof CanvasCoreRenderer
strictBounds: boolean
textureMemory: TextureMemoryManagerSettings