Class ApplicationStartupInformation

Structure containing parameters for starting the application.

Constructors

  • Parameters

    • Optionalmode: EnumValue<ApplicationMode, number>
    • OptionalrenderAPI: string
    • Optionalrenderer: string
    • Optionalphysics: string
    • Optionalaudio: string
    • Optionalinput: string
    • OptionallibrariesPath: FilePath
    • OptionalapplicationCompanyName: string
    • OptionalapplicationName: string
    • OptionalisPhysicsCookingRequired: boolean
    • OptionalisAsyncAnimationEnabled: boolean
    • OptionalisHighDPIAware: boolean
    • OptionalprimaryWindowInformation: Immutable<RenderWindowInformation>
    • OptionalinputInformation: Immutable<InputInformation>
    • Optionalplugins: Iterable<string>

    Returns ApplicationStartupInformation

Properties

_applicationCompanyName: string
_applicationName: string
_audio: string
_input: string
_inputInformation: InputInformation
_isAsyncAnimationEnabled: boolean
_isHighDPIAware: boolean
_isPhysicsCookingRequired: boolean
_librariesPath: FilePath
_mode: EnumValue<ApplicationMode, number>
_physics: string
_plugins: string[]
_primaryWindowInformation: RenderWindowInformation
_renderAPI: string
_renderer: string

Accessors

  • get applicationCompanyName(): string
  • The name of the developer.

    Returns string

  • set applicationCompanyName(value): void
  • Parameters

    • value: string

    Returns void

  • get applicationName(): string
  • The name of the application.

    Returns string

  • set applicationName(value): void
  • Parameters

    • value: string

    Returns void

  • get audio(): string
  • Name of the audio plugin to use.

    Returns string

  • set audio(value): void
  • Parameters

    • value: string

    Returns void

  • get input(): string
  • Name of the input plugin to use.

    Returns string

  • set input(value): void
  • Parameters

    • value: string

    Returns void

  • get isAsyncAnimationEnabled(): boolean
  • True if animation should be evaluated at the same time while rendering is happening. This introduces a one frame delay to all animations but can result in better performance. If false the animation will be forced to finish evaluating before rendering starts, ensuring up-to-date frame but potentially blocking the rendering thread from moving forward until the animation finishes.

    Returns boolean

  • set isAsyncAnimationEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isHighDPIAware(): boolean
  • True if RSX should be aware of operating system DPI settings. If false, the UI and other graphical elements might look pixelated on high resolution displays.

    Returns boolean

  • set isHighDPIAware(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isPhysicsCookingRequired(): boolean
  • True if physics cooking library should be loaded. Cooking is useful for creating collision meshes during development, but might be unnecessary in the final application. When turned off you can save on space by not shipping the cooking library.

    Returns boolean

  • set isPhysicsCookingRequired(value): void
  • Parameters

    • value: boolean

    Returns void

  • get librariesPath(): FilePath
  • Filesystem path of the plugins.

    Returns FilePath

  • set librariesPath(value): void
  • Parameters

    Returns void

  • get physics(): string
  • Name of physics plugin to use.

    Returns string

  • set physics(value): void
  • Parameters

    • value: string

    Returns void

  • get plugins(): Iterable<string>
  • A list of plugins to load.

    Returns Iterable<string>

  • set plugins(value): void
  • Parameters

    Returns void

  • get renderAPI(): string
  • Name of the render system plugin to use.

    Returns string

  • set renderAPI(value): void
  • Parameters

    • value: string

    Returns void

  • get renderer(): string
  • Name of the renderer plugin to use.

    Returns string

  • set renderer(value): void
  • Parameters

    • value: string

    Returns void

Methods