renamed to IndexBufferAccess from IndexBufferData

This commit is contained in:
2024-04-26 00:32:11 +08:00
parent 3bbbe18c40
commit 9c6c37c07a
11 changed files with 28 additions and 24 deletions

View File

@@ -226,8 +226,8 @@ public:
cb->BindDescriptorSets(ri->GetMaterial());
cb->BindVBO(ri);
if (vid->index_buffer->buffer)
cb->DrawIndexed(vid->index_buffer->buffer->GetCount());
if (vid->ib_access->buffer)
cb->DrawIndexed(vid->ib_access->buffer->GetCount());
else
cb->Draw(vid->vertex_count);