use GetVBOAccessData instead of GetVBO in Primitive.

This commit is contained in:
2024-04-03 00:12:39 +08:00
parent af8f62ddb4
commit f4493b09e5
2 changed files with 12 additions and 18 deletions

View File

@@ -6,6 +6,7 @@
#include<hgl/type/String.h>
#include<hgl/math/Math.h>
#include<hgl/graph/AABB.h>
#include<hgl/graph/VKVertexAttribBuffer.h>
VK_NAMESPACE_BEGIN
/**
* 单一图元数据
@@ -60,7 +61,7 @@ public:
const uint32_t GetVertexCount ()const {return vertex_count;}
VBO * GetVBO (const AnsiString &,VkDeviceSize *);
bool GetVBOAccessData (const AnsiString &,VBOAccessData *);
const int GetBufferCount ()const {return buffer_list.GetCount();}
const IndexBufferData * GetIndexBufferData ()const {return &index_buffer_data;}