added IsReady function at DescriptorSets and MaterialParameters

This commit is contained in:
2021-09-27 20:55:27 +08:00
parent 7b0e7ce606
commit 45887411d2
2 changed files with 5 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ public:
DescriptorSets * GetDescriptorSet (){return descriptor_sets;}
const VkDescriptorSet GetVkDescriptorSet ()const{return descriptor_sets->GetDescriptorSet();}
const uint32_t GetCount ()const{return descriptor_sets->GetCount();}
const bool IsReady ()const{return descriptor_sets->IsReady();}
public:
#define MP_TYPE_IS(name) const bool is##name()const{return ds_type==DescriptorSetType::name;}