native_window.h
| File Path | engine/include/conjure/rhi/native_window.h |
| API ↗ | Devices and swapchains |
The operating-system window a swapchain presents to, as opaque handles. The fields mirror platform::native_window_handle one to one so the engine copies window.native_handle() into this struct; the rhi module itself never includes a platform header. A handle of kind NONE means headless: the null device ignores it and the D3D12 backend creates a composition swapchain that is never attached to a visual, which lets GPU tests exercise the real present path without a window.
Structs
| File | Description |
|---|---|
native_window |
Enumerations
native_window_kind
Functions
Public
to_string
to_string[[nodiscard]] CONJURE_API std::string_view to_string(
native_window_kind kind) noexcept;The enumerator name of a window kind ("WINDOWS", "NONE"); "" for an out-of-range value.