WIP Index and Vertex buffer allocation

This commit is contained in:
2022-01-22 01:01:08 -08:00
parent 0330d5b4fe
commit ad596a82f9
7 changed files with 57 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ public:
KRDevice& getDeviceInfo(KrDeviceHandle handle);
VkInstance& getVulkanInstance();
KrSurfaceHandle getBestDeviceForSurface(const VkSurfaceKHR& surface);
unordered_map<KrDeviceHandle, std::unique_ptr<KRDevice>>& getDevices();
private:
unordered_map<KrDeviceHandle, std::unique_ptr<KRDevice>> m_devices;