Struct WindowingAPI::Data#

Nested Relationships#

This struct is a nested type of Class WindowingAPI.

Struct Documentation#

struct Data#

Global state.

Public Members

bool Initialized = false#
WindowConfig Window = {}#
struct TRAP::INTERNAL::WindowingAPI::Data::[anonymous] Hints#
std::forward_list<Scope<InternalWindow>> WindowList = {}#
std::forward_list<Scope<InternalCursor>> CursorList = {}#
std::vector<Scope<InternalMonitor>> Monitors = {}#
MonitorFunc Monitor = nullptr#
struct TRAP::INTERNAL::WindowingAPI::Data::[anonymous] Callbacks#
bool Available = false#
void *Handle = nullptr#
std::array<std::string, 2> Extensions = {}#
bool KHR_Surface = false#
struct TRAP::INTERNAL::WindowingAPI::Data::[anonymous] VK#
std::string ClipboardString = {}#
std::array<std::string, std::to_underlying(Input::Key::Menu) + 1> KeyNames = {}#
std::array<i16, std::to_underlying(Input::Key::Menu) + 1> ScanCodes = {}#
f64 RestoreCursorPosX = 0.0#
f64 RestoreCursorPosY = 0.0#
InternalWindow *DisabledCursorWindow = nullptr#
std::array<i32, 2> EmptyEventPipe = {}#
InternalWindow *CapturedCursorWindow = nullptr#