载入中...
搜索中...
未找到
eve::asset_graphics::VegetationSceneAssociationLoader类 参考

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()

eve::asset_graphics::VegetationSceneAssociationLoader::VegetationSceneAssociationLoader ( const asset::EvpackResourceReader &  reader)
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.

参数
sceneTemplateStable Scene Template asset identity.
capabilitiesRuntime 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().


该类的文档由以下文件生成: