added newly functions at MaterialParameters that used index instead of name
This commit is contained in:
@@ -55,6 +55,11 @@ public:
|
||||
|
||||
virtual ~MaterialParameters();
|
||||
|
||||
bool BindUBO(const int &index,DeviceBuffer *ubo,bool dynamic=false);
|
||||
bool BindSSBO(const int &index,DeviceBuffer *ubo,bool dynamic=false);
|
||||
bool BindImageSampler(const int &index,Texture *tex,Sampler *sampler);
|
||||
bool BindInputAttachment(const int &index,ImageView *);
|
||||
|
||||
bool BindUBO(const AnsiString &name,DeviceBuffer *ubo,bool dynamic=false);
|
||||
bool BindSSBO(const AnsiString &name,DeviceBuffer *ubo,bool dynamic=false);
|
||||
bool BindImageSampler(const AnsiString &name,Texture *tex,Sampler *sampler);
|
||||
|
Reference in New Issue
Block a user