Moved few codes to RenderPassManager from GPUDevice

This commit is contained in:
2024-11-09 00:57:40 +08:00
parent c9855d7dee
commit 25be75eefa
8 changed files with 18 additions and 56 deletions

View File

@@ -35,14 +35,6 @@ private:
GPUDeviceAttribute *attr;
private:
RenderPassManager *render_pass_manage;
RenderPass *device_render_pass;
void InitRenderPassManage();
void ClearRenderPassManage();
private:
VkCommandBuffer CreateCommandBuffer(const AnsiString &);
@@ -71,8 +63,6 @@ public:
const VkColorSpaceKHR GetColorSpace ()const {return attr->surface_format.colorSpace;}
VkQueue GetGraphicsQueue () {return attr->graphics_queue;}
RenderPass * GetRenderPass () {return device_render_pass;}
void WaitIdle ()const {vkDeviceWaitIdle(attr->device);}
DebugUtils * GetDebugUtils (){return attr->debug_utils;}