Struct Options

Struct Documentation

struct Options

Window, presentation and runtime defaults copied during context assembly.

Public Members

int width = 1280

Positive requested window width; framebuffer pixels may differ.

int height = 720

Positive requested window height.

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

Platform window mode passed to the native display adapter.

std::string title

Owned title; empty selects the native adapter’s randomized title.

int swap_interval = 1

Nonnegative presentation refresh-interval request.

CE::Runtime::ExecutionOptions execution

Runtime execution policy copied into the assembled Context.