Initial creation classes in manager
This commit is contained in:
parent
7e675cd532
commit
45ba5a5b5e
3 changed files with 147 additions and 72 deletions
|
|
@ -14,16 +14,26 @@ public:
|
|||
|
||||
virtual ~Manager();
|
||||
|
||||
private:
|
||||
vk::Instance mInstance;
|
||||
// Templated Commands
|
||||
|
||||
// Create functions
|
||||
vk::InstanceCreateInfo createInstanceInfo();
|
||||
private:
|
||||
vk::Instance* mInstance = nullptr;
|
||||
bool mFreeInstance = false;
|
||||
vk::Device* mDevice = nullptr;
|
||||
bool mFreeDevice = false;
|
||||
uint32_t mComputeQueueFamilyIndex = -1;
|
||||
vk::Queue* mComputeQueue = nullptr;
|
||||
bool mFreeComputeQueue = false;
|
||||
|
||||
#if DEBUG
|
||||
vk::DebugReportCallbackEXT mDebugReportCallback;
|
||||
vk::DispatchLoaderDynamic mDebugDispatcher;
|
||||
#endif
|
||||
|
||||
// Create functions
|
||||
void createInstance();
|
||||
void createDevice();
|
||||
|
||||
};
|
||||
|
||||
} // End namespace kp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue