Struct ApplicationOptions

Struct Documentation

struct ApplicationOptions

Owned defaults for the standard backend factory and subsequent runtime; command-line options can override them.

Public Members

int width = 1280

Positive initial logical window width.

int height = 720

Positive initial logical window height.

CE::Platform::WindowMode mode = CE::Platform::WindowMode::NORMAL

Initial native window mode, not the simulation RunMode.

std::string title

Owned initial window title.

int swap_interval = 1

Nonnegative presentation swap interval for the standard backend.

CE::Runtime::ExecutionOptions execution

Context execution settings; shared_pool retains application-supplied capacity.

RuntimeOptions runtime

Simulation execution, pacing and input buffering defaults.

BackendSelection backend = BackendSelection::Default

Default compiled backend or explicit supported GLFWOpenGL choice.