struct ApplicationCreateInformation

Structure containing parameters for starting the application.

Public

Constructors

ApplicationCreateInformation

ApplicationCreateInformation() = default

ApplicationCreateInformation

ApplicationCreateInformation(const VideoMode &videoMode, const String &title, bool fullscreen)

Fields

RenderApi

String RenderApi

Name of the render system plugin to use.

Renderer

String Renderer

Name of the renderer plugin to use.

Physics

String Physics

Name of physics plugin to use.

Audio

String Audio

Name of the audio plugin to use.

Input

String Input

Name of the input plugin to use.

PhysicsCooking

bool PhysicsCooking

True if physics cooking library should be loaded.

Cooking is useful for creating collision meshes during development type, but might be unnecessary in the final application. When turned off you can save on space by not shipping the cooking library.

AsyncAnimation

bool AsyncAnimation

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.

PrimaryWindow

Describes the window to create during start-up.

Importers

Vector<String> Importers

A list of importer plugins to load.

LogCallback

std::function<bool (const String &, LogVerbosity, const char *)> LogCallback

If specified Log will call this function whenever a new log message is added.

If this returns true then the default action of the log will be skipped.

CrashHandling

CrashHandlerSettings CrashHandling

Crash handling customization