renamed to AcquirePVB from CreatePVB

This commit is contained in:
2024-04-02 23:24:39 +08:00
parent 07a478a2ac
commit 5892b075c3
3 changed files with 10 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ namespace hgl
protected:
PrimitiveVertexBuffer *CreatePVB(const AnsiString &,const void *data); ///<创建一个顶点属性数据区
PrimitiveVertexBuffer *AcquirePVB(const AnsiString &,const void *data); ///<请求一个顶点属性数据区
void ClearAllData();
@@ -57,7 +57,7 @@ namespace hgl
if(format!=T::GetVulkanFormat())
return(nullptr);
PrimitiveVertexBuffer *pvb=this->CreatePVB(name,nullptr);
PrimitiveVertexBuffer *pvb=this->AcquirePVB(name,nullptr);
if(!pvb)
return(nullptr);

View File

@@ -38,7 +38,6 @@ namespace hgl
access =nullptr;
start_access=nullptr;
}
virtual ~VertexAttribDataAccess()=default;