Struct Engine::InitConfig

Nested Relationships

This struct is a nested type of Class Engine.

Struct Documentation

struct InitConfig

Configuration values that are set for startup and cannot be modified afterwards.

Public Members

bool standalone

Whether the engine is running outside of a bundle.

If this flag is set, the engine will not attempt to validate that it is in a game bundle on startup. This will also disable all systems related to the default asset loader and bundle systems. Assets, worlds, and game modules will need to be manually loaded and configured in this mode.

std::string initialRequestedBackend

The requested backend to try to initialize first, overriding the default setting.

std::string preferredWindowProvider

The preferred windowing provider to use.

The available options are:

  • win32 Windows API (Windows only)

  • cocoa Cocoa (MacOS only)

  • x11 X11 via XCB (Linux only)

  • wayland Wayland (Linux only)

Note

If the provider requested is not available or this string is empty, default behavior will be used

bool suppressConsoleLogging

Whether or not to suppress console logging output.

bool suppressFileLogging

Whether or not to suppress file logging output.

ClientIdentity clientID

ID of the client application. This should be in reverse-domain format (e.g. com.example.MyGame), but this is not enforced.