forked from Dynamitos/Seele
Graphics is now a global object, instead of a per-window one
This commit is contained in:
1 parent
30e256d0aa
commit
3b55755f0c
20 files changed
+121
-59
No files matched your search
@@ -19,12 +19,15 @@ namespace Seele
|
||||
virtual void* createWindow(const WindowCreateInfo& createInfo) override;
|
||||
protected:
|
||||
Array<const char*> getRequiredExtensions();
|
||||
void initInstance(GraphicsInitializer initInfo);
|
||||
void setupDebugCallback();
|
||||
void pickPhysicalDevice();
|
||||
|
||||
VkDevice handle;
|
||||
VkPhysicalDevice physicalDevice;
|
||||
VkInstance instance;
|
||||
VkDebugReportCallbackEXT callback;
|
||||
Array<PVulkanViewport> viewports;
|
||||
PVulkanAllocator allocator;
|
||||
friend class Window;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user