Moved few codes to RenderPassManager from GPUDevice
This commit is contained in:
@@ -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;}
|
||||
|
Reference in New Issue
Block a user