[BIG MILESTONE] render framework first test ok! can draw!

This commit is contained in:
2025-01-25 17:17:55 +08:00
parent aafdbdd4ea
commit 2e53b48fff
8 changed files with 125 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
#pragma once
#pragma once
#include<hgl/graph/module/GraphModule.h>
@@ -37,9 +37,11 @@ public:
public:
const VkExtent2D & GetSwapchainSize()const {return swapchain_rt->GetExtent();}
RenderPass * GetRenderPass ()const{return swapchain_rt->GetRenderPass();}
RenderCmdBuffer *Use();
const VkExtent2D & GetSwapchainSize()const{return swapchain_rt->GetExtent();}
RenderCmdBuffer *RecordCmdBuffer(int frame_index=-1);
};//class SwapchainModule:public GraphModule