DisplayCreateInfo

Options that influence how the display is created, and how it will create a Gfx-D instance.

Members

Variables

backendCreateOrder
Backend[] backendCreateOrder;

Order into which backend creation is tried. The first successfully created backend is used. If empty, Vulkan is tried first, and OpenGL3 is tried as fallback if enabled and available

debugCallbackEnabled
Flag!"debugCallback" debugCallbackEnabled;

Whether DebugCallback should be available. Only meaningful with Vulkan backend.

linuxDisplayCreateOrder
LinuxDisplay[] linuxDisplayCreateOrder;

Order into which display creation is tried on linux. The first successfully created display is used. If empty, Wayland will be tried if available and VkWayland enabled, and XCB will be used as fallback.

validationEnabled
Flag!"validation" validationEnabled;

Whether validation should be enabled. Only meaningful with Vulkan backend.

Meta