Resolve a Scene Template to exactly one manager asset in the same admitted EVPACK. 更多...
#include <VegetationSceneInstance.h>
Public 成员函数 | |
| VegetationSceneAssociationLoader (const asset::EvpackResourceReader &reader) noexcept | |
| Bind a borrowed immutable reader which must outlive this loader. | |
| Result< VegetationSceneAssociation > | load (const AssetRef &sceneTemplate, const asset::EvpackCapabilities &capabilities) const |
| Load the template, find the unique manager with the same Unity source GUID, and decode all Element masks. | |
详细描述
Resolve a Scene Template to exactly one manager asset in the same admitted EVPACK.
在文件 VegetationSceneInstance.h 第 18 行定义.
构造及析构函数说明
◆ VegetationSceneAssociationLoader()
|
inlineexplicitnoexcept |
Bind a borrowed immutable reader which must outlive this loader.
在文件 VegetationSceneInstance.h 第 21 行定义.
成员函数说明
◆ load()
| Result< VegetationSceneAssociation > eve::asset_graphics::VegetationSceneAssociationLoader::load | ( | const AssetRef & | sceneTemplate, |
| const asset::EvpackCapabilities & | capabilities | ||
| ) | const |
Load the template, find the unique manager with the same Unity source GUID, and decode all Element masks.
- 参数
-
sceneTemplate Stable Scene Template asset identity. capabilities Runtime variant capabilities applied consistently to every candidate.
- 返回
- Owning association; missing and duplicate matches fail without partial output. @thread Worker-safe while the reader is read concurrently.
在文件 VegetationSceneInstance.cpp 第 15 行定义.
引用了 eve::Conflict, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::AssetRef::format(), eve::asset::EvpackResourceReader::listAssets(), eve::asset_graphics::EvpackVegetationSceneLoader::load(), eve::asset_scene::EvpackSceneTemplateLoader::load(), eve::asset_graphics::loadVegetationSceneElementMasks(), eve::NotFound, scene, eve::Result< T >::success() , 以及 eve::Unsupported.
被这些函数引用 eve::asset_graphics::VegetationSceneInstance::create().
该类的文档由以下文件生成:
- src/modules/asset/graphics/VegetationSceneInstance.h
- src/modules/asset/graphics/VegetationSceneInstance.cpp