IApplicationOptions
Unofficial
Application options.
Import:
import type { IApplicationOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface IApplicationOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| antialias? | boolean | Whether the renderer should use antialiasing. | |
| autoDensity? | boolean | Whether to automatically adjust for device pixel ratio. | |
| autoStart? | boolean | Whether to automatically start the render loop. | |
| backgroundAlpha? | number | Background alpha. | |
| backgroundColor? | ColorSource | Background color. | |
| clearBeforeRender? | boolean | Whether to clear before each render. | |
| forceCanvas? | boolean | Whether to force the canvas renderer. | |
| height? | number | Height of the renderer. | |
| powerPreference? | WebGLPowerPreference | Power preference for the WebGL context. | |
| preserveDrawingBuffer? | boolean | Whether to preserve the drawing buffer. | |
| resizeTo? | HTMLElement | Window | Element to resize the renderer to. | |
| resolution? | number | Renderer resolution. | |
| sharedLoader? | boolean | Whether to use a shared loader. | |
| sharedTicker? | boolean | Whether to use a shared ticker. | |
| transparent? | boolean | Whether the renderer background is transparent. | |
| view? | ICanvas | Canvas view to use. | |
| width? | number | Width of the renderer. |