Dynamic window resizing
This commit is contained in:
@@ -27,11 +27,14 @@ namespace cve {
|
||||
void createPipelineLayout();
|
||||
void createPipeline();
|
||||
void createCommandBuffers();
|
||||
void freeCommandBuffers();
|
||||
void drawFrame();
|
||||
void recreateSwapChain();
|
||||
void recordCommandBuffer(int imageIndex);
|
||||
|
||||
CveWindow cveWindow{WIDTH, HEIGHT, "Hello Vulkan!"};
|
||||
CveDevice cveDevice{cveWindow};
|
||||
CveSwapChain cveSwapChain{cveDevice, cveWindow.getExtent()};
|
||||
std::unique_ptr<CveSwapChain> cveSwapChain;
|
||||
std::unique_ptr<CvePipeline> cvePipeline;
|
||||
VkPipelineLayout pipelineLayout;
|
||||
std::vector<VkCommandBuffer> commandBuffers;
|
||||
|
||||
Reference in New Issue
Block a user