use VAB instead of VBO

This commit is contained in:
2024-04-24 01:44:01 +08:00
parent d8140ae64e
commit 3bbbe18c40
15 changed files with 36 additions and 36 deletions

View File

@@ -103,7 +103,7 @@ public: //Add
TextureID Add(Texture * t ){return rm_textures.Add(t);}
RenderableID Add(Renderable * r ){return rm_renderables.Add(r);}
public: // VBO/VAO
public: // VAB/VAO
VAB *CreateVAB(VkFormat format,uint32_t count,const void *data, SharingMode sm=SharingMode::Exclusive);
VAB *CreateVAB(VkFormat format,uint32_t count, SharingMode sm=SharingMode::Exclusive){return CreateVAB(format, count, nullptr, sm);}