Moved frame rendering from KRCamera to KRRenderGraph

This commit is contained in:
2025-04-10 01:09:36 -07:00
parent 5f286e185e
commit 8d8cfd2532
10 changed files with 22 additions and 221 deletions

View File

@@ -47,6 +47,7 @@ class KRModel;
class KRScene;
class KRViewport;
class KRSurface;
class KRRenderGraph;
class KRCamera : public KRNode
{
@@ -57,7 +58,7 @@ public:
KrResult update(const KrNodeInfo* nodeInfo) override;
void renderFrame(VkCommandBuffer& commandBuffer, KRSurface& compositeSurface);
void renderFrame(VkCommandBuffer& commandBuffer, KRSurface& compositeSurface, KRRenderGraph& renderGraph);
void render(KRNode::RenderInfo& ri);