added GetBindingMap at MaterialDescriptorManager and MaterialParameters

This commit is contained in:
2023-03-25 23:11:43 +08:00
parent 18a4212935
commit fefdc19674
2 changed files with 10 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ public:
const VkDescriptorSet GetVkDescriptorSet ()const{return descriptor_set->GetDescriptorSet();}
const uint32_t GetDescriptorCount ()const{return desc_manager->GetBindCount(set_type);} ///<获取总共需要绑定的描述符数量
const BindingMapArray & GetBindingMap ()const{return desc_manager->GetBindingMap(set_type);}
const uint32_t GetDynamicCount ()const //返回动态ubo/ssbo总量
{