optimized ShaderModuleMapByName in RenderResource

This commit is contained in:
2023-06-12 16:30:16 +08:00
parent e6560dfe5f
commit 5749d8ec8a
4 changed files with 23 additions and 19 deletions

View File

@@ -34,7 +34,7 @@ public:
#define MP_TYPE_IS(name) const bool is##name()const{return set_type==DescriptorSetType::name;}
MP_TYPE_IS(Instance)
//MP_TYPE_IS(PerMaterial)
MP_TYPE_IS(PerMaterial)
MP_TYPE_IS(PerFrame)
MP_TYPE_IS(Global)
#undef MP_TYPE_IS