removed Primitive::GetBuffer(..) function.
This commit is contained in:
parent
5892b075c3
commit
4ebc8a3260
@ -71,7 +71,6 @@ public:
|
||||
const uint32_t GetVertexCount ()const {return vertex_count;}
|
||||
|
||||
VBO * GetVBO (const AnsiString &,VkDeviceSize *);
|
||||
VkBuffer GetBuffer (const AnsiString &,VkDeviceSize *);
|
||||
const int GetBufferCount ()const {return buffer_list.GetCount();}
|
||||
|
||||
const IndexBufferData * GetIndexBufferData ()const {return &index_buffer_data;}
|
||||
|
@ -68,15 +68,6 @@ VBO *Primitive::GetVBO(const AnsiString &name,VkDeviceSize *offset)
|
||||
return(nullptr);
|
||||
}
|
||||
|
||||
VkBuffer Primitive::GetBuffer(const AnsiString &name,VkDeviceSize *offset)
|
||||
{
|
||||
VBO *vbo=GetVBO(name,offset);
|
||||
|
||||
if(vbo)return vbo->GetBuffer();
|
||||
|
||||
return(VK_NULL_HANDLE);
|
||||
}
|
||||
|
||||
bool Primitive::Set(IndexBuffer *ib,VkDeviceSize offset)
|
||||
{
|
||||
if(!ib)return(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user