Vulkan Refactoring - Added KRRenderPass, WIP refactorign KRScene::RenderFrame

This commit is contained in:
2022-03-27 21:34:19 -07:00
parent 9bdfb0feea
commit 2818deb0e3
11 changed files with 244 additions and 95 deletions

View File

@@ -36,6 +36,7 @@
#define KRSURFACE_H
class KRDevice;
class KRRenderPass;
class KRSurface : public KRContextObject
{
@@ -78,8 +79,7 @@ public:
VkSemaphore m_imageAvailableSemaphore;
VkSemaphore m_renderFinishedSemaphore;
// TODO - Move this to a higher context
VkRenderPass m_renderPass;
std::unique_ptr<KRRenderPass> m_forwardOpaquePass;
private:
void destroySwapChain();