WIP Refactoring to move frame rendering from KRCamera to KRRenderGraph

This commit is contained in:
2025-04-10 00:35:39 -07:00
parent 7dc8a1304e
commit 5f286e185e
8 changed files with 167 additions and 97 deletions

View File

@@ -59,9 +59,11 @@ public:
void renderFrame(VkCommandBuffer& commandBuffer, KRSurface& compositeSurface);
void render(KRNode::RenderInfo& ri);
KRRenderSettings settings;
const KRViewport& getViewport() const;
KRViewport* getViewport();
virtual std::string getElementName() override;
@@ -89,8 +91,8 @@ private:
int volumetricLightAccumulationBuffer, volumetricLightAccumulationTexture;
void renderPost(VkCommandBuffer& commandBuffer, KRSurface& surface);
void renderDebug(VkCommandBuffer& commandBuffer, KRSurface& surface);
void renderPost(RenderInfo& ri);
void renderDebug(RenderInfo& ri);
void destroyBuffers();