packagedAppOptions
packagedAppOptions(
config):object
Defined in: runtime/packagedRuntime.ts:196
Parameters
Section titled “Parameters”config
Section titled “config”Pick<PackagedGameConfig, "ySortLayers" | "depthLayers" | "colorSpace" | "outputTransform" | "screenFit" | "msaaSamples">
Returns
Section titled “Returns”colorSpace?
Section titled “colorSpace?”
optionalcolorSpace?:"linear"|"gamma"
depthLayers?
Section titled “depthLayers?”
optionaldepthLayers?:number
msaaSamples?
Section titled “msaaSamples?”
optionalmsaaSamples?:number
outputTransform?
Section titled “outputTransform?”
optionaloutputTransform?:"none"|"aces"
renderBackend?
Section titled “renderBackend?”
optionalrenderBackend?:"webgl2"|"webgpu"
GPU backend the build asks for; absent ⇒ WebGL2. A request for ‘webgpu’ falls back where the machine cannot serve one.
screenFit?
Section titled “screenFit?”
optionalscreenFit?:object
screenFit.designHeight
Section titled “screenFit.designHeight”designHeight:
number
screenFit.designWidth
Section titled “screenFit.designWidth”designWidth:
number
screenFit.matchWidthOrHeight
Section titled “screenFit.matchWidthOrHeight”matchWidthOrHeight:
number
screenFit.scaleMode
Section titled “screenFit.scaleMode”scaleMode:
number
ySortLayers?
Section titled “ySortLayers?”
optionalySortLayers?:number