Added moltenvk

This commit is contained in:
matthieu.ranger
2020-06-25 16:21:22 -04:00
parent e193aa3f53
commit da4640a016
20 changed files with 1911 additions and 18 deletions

View File

@@ -19,6 +19,7 @@ enum class WindowSystemType {
Windows,
X11,
Wayland,
MacOS
};
/**
@@ -156,6 +157,14 @@ public:
return window_info;
}
/**
* Returns system information about the drawing area.
* Unsafe version of above for MoltenVK to get pointer
*/
WindowSystemInfo& GetWindowInfoRef() {
return window_info;
}
/**
* Gets the framebuffer layout (width, height, and screen regions)
* @note This method is thread-safe