renamed to VBOAccessData from Primitive::VBOData and then move to VK.h

This commit is contained in:
2024-04-02 23:51:57 +08:00
parent 2fdd7e7bd5
commit fff7fd3af0
3 changed files with 15 additions and 13 deletions

View File

@@ -59,6 +59,18 @@ struct DeviceBufferData;
class VertexAttribBuffer;
using VBO=VertexAttribBuffer;
struct VBOAccessData
{
VBO *buf;
VkDeviceSize offset;
public:
CompOperatorMemcmp(const VBOAccessData &);
};//struct VBOAccessData
using VBOAccessMap=Map<AnsiString,VBOAccessData>;
class IndexBuffer;
struct IndexBufferData

View File

@@ -15,17 +15,7 @@ class Primitive
GPUDevice *device;
AnsiString prim_name;
struct VBOData
{
VBO *buf;
VkDeviceSize offset;
public:
CompOperatorMemcmp(const VBOData &);
};
Map<AnsiString,VBOData> buffer_list;
VBOAccessMap buffer_list;
protected: