Owning schema snapshots for algorithm and recipe families. 更多...
#include <ProcgenRecipes.h>
静态 Public 成员函数 | |
| static eve::Result< RecipeDescriptor > | getAlgorithmSchema (const Procgen &module, const std::string &algorithmId) |
| Returns an owning copy of an algorithm schema or a diagnostic. | |
| static eve::Result< RecipeDescriptor > | getTextureRecipeSchema (const Procgen &module, const std::string &recipeId) |
| Returns an owning copy of a texture schema or a diagnostic. | |
| static eve::Result< RecipeDescriptor > | getPbrRecipeSchema (const Procgen &module, const std::string &recipeId) |
| Returns an owning copy of a PBR schema or a diagnostic. | |
| static eve::Result< RecipeDescriptor > | getMeshRecipeSchema (const Procgen &module, const std::string &recipeId) |
| Returns an owning copy of a mesh schema or a diagnostic. | |
详细描述
Owning schema snapshots for algorithm and recipe families.
- 备注
- Does not require friendship; registries are process-global. Grouped here so
Procgen.hincluders do not pullParamSchema.h.
在文件 ProcgenRecipes.h 第 23 行定义.
成员函数说明
◆ getAlgorithmSchema()
|
static |
Returns an owning copy of an algorithm schema or a diagnostic.
在文件 Procgen.cpp 第 784 行定义.
引用了 eve::procgen::GeneratorRegistry::descriptor(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::procgen::GeneratorRegistry::instance(), eve::NotFound , 以及 eve::Result< T >::success().
◆ getMeshRecipeSchema()
|
static |
Returns an owning copy of a mesh schema or a diagnostic.
在文件 Procgen.cpp 第 1417 行定义.
引用了 eve::procgen::MeshRecipeRegistry::descriptor(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::procgen::MeshRecipeRegistry::instance(), eve::NotFound, eve::procgen::MeshRecipeRegistry::registerBuiltins() , 以及 eve::Result< T >::success().
◆ getPbrRecipeSchema()
|
static |
Returns an owning copy of a PBR schema or a diagnostic.
在文件 Procgen.cpp 第 1205 行定义.
引用了 eve::procgen::PbrRecipeRegistry::descriptor(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::procgen::PbrRecipeRegistry::instance(), eve::NotFound, eve::procgen::PbrRecipeRegistry::registerPbrBuiltins() , 以及 eve::Result< T >::success().
◆ getTextureRecipeSchema()
|
static |
Returns an owning copy of a texture schema or a diagnostic.
在文件 Procgen.cpp 第 1055 行定义.
引用了 eve::procgen::TextureRecipeRegistry::descriptor(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::procgen::TextureRecipeRegistry::instance(), eve::NotFound, eve::procgen::TextureRecipeRegistry::registerBuiltins() , 以及 eve::Result< T >::success().
该结构体的文档由以下文件生成:
- src/modules/procgen/ProcgenRecipes.h
- src/modules/procgen/Procgen.cpp