Skip to content

packagedAppOptions

packagedAppOptions(config): object

Defined in: runtime/packagedRuntime.ts:196

Pick<PackagedGameConfig, "ySortLayers" | "depthLayers" | "colorSpace" | "outputTransform" | "screenFit" | "msaaSamples">

optional colorSpace?: "linear" | "gamma"

optional depthLayers?: number

optional msaaSamples?: number

optional outputTransform?: "none" | "aces"

optional renderBackend?: "webgl2" | "webgpu"

GPU backend the build asks for; absent ⇒ WebGL2. A request for ‘webgpu’ falls back where the machine cannot serve one.

optional screenFit?: object

designHeight: number

designWidth: number

matchWidthOrHeight: number

scaleMode: number

optional ySortLayers?: number