载入中...
搜索中...
未找到
eve::procgen::PbrRecipeRegistry类 参考
#include <PbrMaterial.h>
Public 成员函数 | |
| void | registerPbrRecipe (const std::string &id, PbrRecipeFn fn) |
| bool | has (const std::string &id) const |
| PbrTextureSet * | generate (const std::string &id, const Params ¶ms, std::string &error) const |
| std::vector< std::string > | list () const |
| void | registerPbrBuiltins () |
静态 Public 成员函数 | |
| static PbrRecipeRegistry & | instance () |
详细描述
在文件 PbrMaterial.h 第 46 行定义.
成员函数说明
◆ generate()
| PbrTextureSet * eve::procgen::PbrRecipeRegistry::generate | ( | const std::string & | id, |
| const Params & | params, | ||
| std::string & | error | ||
| ) | const |
在文件 PbrMaterial.cpp 第 25 行定义.
◆ has()
| bool eve::procgen::PbrRecipeRegistry::has | ( | const std::string & | id | ) | const |
在文件 PbrMaterial.cpp 第 21 行定义.
◆ instance()
|
static |
◆ list()
| std::vector< std::string > eve::procgen::PbrRecipeRegistry::list | ( | ) | const |
在文件 PbrMaterial.cpp 第 35 行定义.
被这些函数引用 eve::procgen::Procgen::getPbrRecipeCount() , 以及 eve::procgen::Procgen::getPbrRecipeId().
◆ registerPbrBuiltins()
| void eve::procgen::PbrRecipeRegistry::registerPbrBuiltins | ( | ) |
在文件 PbrMaterial.cpp 第 43 行定义.
引用了 eve::procgen::builtinTextureDefs(), error, eve::procgen::generatePbrSet() , 以及 registerPbrRecipe().
被这些函数引用 eve::procgen::Procgen::generatePbrMaterial(), eve::procgen::Procgen::getPbrRecipeCount(), eve::procgen::Procgen::getPbrRecipeId(), eve::procgen::Procgen::hasPbrRecipe() , 以及 eve::procgen::Procgen::Procgen().
◆ registerPbrRecipe()
| void eve::procgen::PbrRecipeRegistry::registerPbrRecipe | ( | const std::string & | id, |
| PbrRecipeFn | fn | ||
| ) |
该类的文档由以下文件生成:
- src/modules/procgen/texture/PbrMaterial.h
- src/modules/procgen/texture/PbrMaterial.cpp