ludus::platform::headless¶
Ludus Wiki · API overview · Browse API
Namespace
Declared in modules/platform/include/ludus/platform/headless/window.h
Related declarations¶
Functions¶
InitializeHeadless¶
bool ludus::platform::headless::InitializeHeadless(const WindowManager::InitializeInfo &info) noexcept
Headless (null) windowing backend used when no real backend (e.g.
Wayland) is available at build time. It lets the platform module compile and link on headless CI runners and hosts without a display server. Initialization succeeds; created windows report no events so a main loop exits promptly.
Related types: WindowManager::InitializeInfo
Declared in modules/platform/include/ludus/platform/headless/window.h
CreateWindow¶
UniquePtr< WindowHeadless > ludus::platform::headless::CreateWindow(const Window::CreateInfo &info)
Related types: WindowHeadless · UniquePtr · Window::CreateInfo
Declared in modules/platform/include/ludus/platform/headless/window.h
Aliases¶
UniquePtr¶
template <typename ElementType, typename DeleterType = core::DefaultDeleter<ElementType>>
using ludus::foundation::UniquePtr = core::UniquePtr<ElementType, DeleterType>
Public spelling of
core::UniquePtr, including its deleter parameter. Declared in modules/platform/include/ludus/platform/headless/window.h