Skip to content

AppConfig

Indexable

[key: string]: any

Constructors

new AppConfig()

new AppConfig(pConfig?): AppConfig

Parameters

pConfig?: Partial<IApplicationOptions> & object

Returns

AppConfig

Source

src/core/AppConfig.ts:49

Properties

antialias?

optional antialias: boolean

Source

src/core/AppConfig.ts:35


autoDensity?

optional autoDensity: boolean

Source

src/core/AppConfig.ts:34


autoStart?

optional autoStart: boolean

Source

src/core/AppConfig.ts:28


backgroundColor?

optional backgroundColor: number

Source

src/core/AppConfig.ts:39


clearBeforeRender?

optional clearBeforeRender: boolean

Source

src/core/AppConfig.ts:40


forceCanvas?

optional forceCanvas: boolean

Source

src/core/AppConfig.ts:38


forceFXAA?

optional forceFXAA: boolean

Source

src/core/AppConfig.ts:41


height?

optional height: number

Source

src/core/AppConfig.ts:31


powerPreference?

optional powerPreference: "default" | "high-performance" | "low-power"

Source

src/core/AppConfig.ts:42


preserveDrawingBuffer?

optional preserveDrawingBuffer: boolean

Source

src/core/AppConfig.ts:36


resizeOptions?

optional resizeOptions: Partial<ResizeManagerOptions>

Source

src/core/AppConfig.ts:47


resizeTo?

optional resizeTo: Window | HTMLElement

Source

src/core/AppConfig.ts:45


resolution?

optional resolution: number

Source

src/core/AppConfig.ts:37


sharedLoader?

optional sharedLoader: boolean

Source

src/core/AppConfig.ts:44


sharedTicker?

optional sharedTicker: boolean

Source

src/core/AppConfig.ts:43


transparent?

optional transparent: boolean

Source

src/core/AppConfig.ts:33


useNewResizeManager?

optional useNewResizeManager: boolean

Source

src/core/AppConfig.ts:46


useSpine?

optional useSpine: boolean

Source

src/core/AppConfig.ts:29


view?

optional view: HTMLCanvasElement

Source

src/core/AppConfig.ts:32


width?

optional width: number

Source

src/core/AppConfig.ts:30