Added RenderCmdBuffer::Draw(const VertexInputData *)

This commit is contained in:
2024-04-26 00:41:53 +08:00
parent 9c6c37c07a
commit a1bf9336a3
4 changed files with 13 additions and 6 deletions

View File

@@ -200,6 +200,8 @@ public: //draw
void DrawIndirect (VkBuffer buf, uint32_t drawCount,uint32_t stride=sizeof(VkDrawIndirectCommand )){return DrawIndirect( buf,0,drawCount,stride);}
void DrawIndexedIndirect(VkBuffer buf, uint32_t drawCount,uint32_t stride=sizeof(VkDrawIndexedIndirectCommand )){return DrawIndexedIndirect( buf,0,drawCount,stride);}
void Draw (const VertexInputData *vid);
public: //dynamic state
};//class RenderCmdBuffer:public GPUCmdBuffer