Moved vab_map_list and ibo_map from PrimitiveCreater to PrimitiveData

This commit is contained in:
2024-06-12 01:48:25 +08:00
parent 0a025f0464
commit 7b0a185a45
6 changed files with 144 additions and 124 deletions

View File

@@ -52,7 +52,7 @@ public:
const VkFormat GetFormat()const { return buffer->GetFormat(); }
void Set(VAB *vab,const VkDeviceSize off,const uint32_t count)
void SetVAB(VAB *vab,const VkDeviceSize off,const uint32_t count)
{
VKBufferMap<VAB>::Set(vab,off,vab->GetStride(),count);
}