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

@@ -130,7 +130,7 @@ private:
if(!material_instance)return(false);
{
MaterialParameters *mp_texture=material_instance->GetMP(DescriptorSetType::Value);
MaterialParameters *mp_texture=material_instance->GetMP(DescriptorSetsType::Value);
if(!mp_texture)
return(false);
@@ -213,7 +213,7 @@ private:
ubo_phong=db->CreateUBO(sizeof(PhongMaterial),&phong);
{
MaterialParameters *mp_value=material_instance->GetMP(DescriptorSetType::Value);
MaterialParameters *mp_value=material_instance->GetMP(DescriptorSetsType::Value);
if(!mp_value)
return(false);
@@ -225,7 +225,7 @@ private:
}
{
MaterialParameters *mp_global=material_instance->GetMP(DescriptorSetType::Global);
MaterialParameters *mp_global=material_instance->GetMP(DescriptorSetsType::Global);
if(!mp_global)
return(false);
@@ -236,7 +236,7 @@ private:
}
{
MaterialParameters *mp_global=axis_mi->GetMP(DescriptorSetType::Global);
MaterialParameters *mp_global=axis_mi->GetMP(DescriptorSetsType::Global);
if(!mp_global)
return(false);