部分范例迁移到新WorkObject/CreateMaterialInstance结构
This commit is contained in:
@@ -45,6 +45,11 @@ public:
|
||||
};//class RegistryMaterialFactoryClass
|
||||
|
||||
#define DEFINE_MATERIAL_FACTORY_CLASS(name,cfg_type) \
|
||||
namespace inline_material \
|
||||
{ \
|
||||
constexpr const char name[]=#name; \
|
||||
} \
|
||||
\
|
||||
MaterialCreateInfo *Create##name(const VulkanDevAttr *dev_attr,cfg_type *); \
|
||||
\
|
||||
namespace \
|
||||
|
Reference in New Issue
Block a user