added GetVDM() in PrimitiveData classes.
This commit is contained in:
parent
0dfb7220b5
commit
08a348392d
@ -97,6 +97,8 @@ namespace
|
||||
GPUDevice *device;
|
||||
|
||||
public:
|
||||
|
||||
VertexDataManager *GetVDM(){return nullptr;}
|
||||
|
||||
PrimitiveDataPrivateBuffer(GPUDevice *dev,const VIL *_vil,const VkDeviceSize vc):PrimitiveData(_vil,vc)
|
||||
{
|
||||
@ -197,6 +199,8 @@ namespace
|
||||
|
||||
public:
|
||||
|
||||
VertexDataManager *GetVDM(){return vdm;}
|
||||
|
||||
PrimitiveDataVDM(VertexDataManager *_vdm,const VkDeviceSize vc):PrimitiveData(_vdm->GetVIL(),vc)
|
||||
{
|
||||
vdm=_vdm;
|
||||
|
@ -40,6 +40,10 @@ public:
|
||||
VABAccess * GetVABAccess (const AnsiString &name);
|
||||
IBAccess * GetIBAccess (){return &ib_access;}
|
||||
|
||||
public:
|
||||
|
||||
virtual VertexDataManager *GetVDM()=0;
|
||||
|
||||
public:
|
||||
|
||||
virtual IBAccess * InitIBO(const VkDeviceSize index_count,IndexType it)=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user