optimized BuildCommandBuffer of VulkanAppFramework

This commit is contained in:
2020-10-26 22:16:38 +08:00
parent 0ecd947f8a
commit e2b9983add
4 changed files with 28 additions and 38 deletions

View File

@@ -67,7 +67,7 @@ public:
template<typename ...ARGS> void BlitImage (ARGS...args){vkCmdBlitImage (cmd_buf,args...);}
bool BindFramebuffer(VkRenderPass rp,VkFramebuffer fb);
bool BindFramebuffer(Framebuffer *);
// bool BindFramebuffer(Framebuffer *);
bool BindFramebuffer(RenderTarget *);
bool BindPipeline(Pipeline *p)