Base class wait fences

This commit is contained in:
saschawillems 2018-06-03 09:38:14 +02:00
parent a911f0e785
commit 19afba3f71
2 changed files with 17 additions and 0 deletions

View file

@ -131,6 +131,7 @@ protected:
// UI overlay submission and execution
VkSemaphore overlayComplete;
} semaphores;
std::vector<VkFence> waitFences;
public:
bool prepared = false;
uint32_t width = 1280;
@ -338,6 +339,8 @@ public:
// all command buffers that may reference this
virtual void buildCommandBuffers();
void createSynchronizationPrimitives();
// Creates a new (graphics) command pool object storing command buffers
void createCommandPool();
// Setup default depth and stencil views