add VKCommandBuffer::NextSubpass function.

This commit is contained in:
hyzboy 2020-01-21 18:57:07 +08:00
parent b9249d960c
commit 9f2f853c10

View File

@ -148,6 +148,8 @@ public:
vkCmdDrawIndexed(cmd_buf,index_count,instance_count,first_index,vertex_offset,first_instance);
}
void NextSubpass(){vkCmdNextSubpass(cmd_buf,VK_SUBPASS_CONTENTS_INLINE);}
void EndRenderPass(){vkCmdEndRenderPass(cmd_buf);}
bool End(){return(vkEndCommandBuffer(cmd_buf)==VK_SUCCESS);}
};//class CommandBuffer