renamed type DescriptorSetType to DescriptorSetsType

This commit is contained in:
2021-09-27 21:20:22 +08:00
parent e56730ec87
commit 7ba2d0cf6f
32 changed files with 94 additions and 94 deletions

View File

@@ -70,11 +70,11 @@ public:
public:
MaterialParameters * GetMP (const DescriptorSetType &type)
MaterialParameters * GetMP (const DescriptorSetsType &type)
{
if(type==DescriptorSetType::Material )return data->mp.m;else
if(type==DescriptorSetType::Renderable )return data->mp.r;else
if(type==DescriptorSetType::Global )return data->mp.g;else
if(type==DescriptorSetsType::Material )return data->mp.m;else
if(type==DescriptorSetsType::Renderable )return data->mp.r;else
if(type==DescriptorSetsType::Global )return data->mp.g;else
return(nullptr);
}
};//class Material