renamed DescriptorSetsType to DescriptorSetType

This commit is contained in:
2021-06-22 14:48:08 +08:00
parent 15a9c8cb38
commit 2b70ee07c8
18 changed files with 55 additions and 55 deletions

View File

@@ -48,12 +48,12 @@ public:
public:
MaterialParameters * CreateMP (const DescriptorSetsType &type)const;
MaterialParameters * GetMP (const DescriptorSetsType &type)
MaterialParameters * CreateMP (const DescriptorSetType &type)const;
MaterialParameters * GetMP (const DescriptorSetType &type)
{
if(type==DescriptorSetsType::Material )return mp_m;else
if(type==DescriptorSetsType::Renderable )return mp_r;else
if(type==DescriptorSetsType::Global )return mp_g;else
if(type==DescriptorSetType::Material )return mp_m;else
if(type==DescriptorSetType::Renderable )return mp_r;else
if(type==DescriptorSetType::Global )return mp_g;else
return(nullptr);
}