载入中...
搜索中...
未找到
VegetationSceneInstance.h
浏览该文件的文档.
21 explicit VegetationSceneAssociationLoader(const asset::EvpackResourceReader& reader) noexcept : reader_(reader) {}
63 [[nodiscard]] const asset_scene::LoadedSceneTemplate& scene() const noexcept { return association_.scene; }
65 [[nodiscard]] const graphics::PbrSurface& surface() const noexcept { return runtime_->surface(); }
67 [[nodiscard]] const VegetationSceneLiveElements& liveElements() const noexcept { return *liveElements_; }
81 VegetationSceneInstance(VegetationSceneAssociation association, graphics::PbrSurface baseSurface,
Runtime decoding of canonical scene templates.
Transactional runtime registration of TVE Element volumes.
Immutable reader retaining an admitted pack by shared ownership.
Definition EvpackResourceReader.h:29
Resolve a Scene Template to exactly one manager asset in the same admitted EVPACK.
Definition VegetationSceneInstance.h:18
VegetationSceneAssociationLoader(const asset::EvpackResourceReader &reader) noexcept
Bind a borrowed immutable reader which must outlive this loader.
Definition VegetationSceneInstance.h:21
Instance-qualified handle for one dynamically registered TVE Element volume.
Definition VegetationSceneLiveElements.h:18
Owning executable instance coupling one Scene Template, its manager fields and live Element registry....
Definition VegetationSceneInstance.h:41
Result< void > release()
Invalidate surface borrows and release manager GPU resources.
Definition VegetationSceneInstance.h:78
const VegetationSceneLiveElements & liveElements() const noexcept
Borrow the dynamic Element registry.
Definition VegetationSceneInstance.h:67
const graphics::PbrSurface & surface() const noexcept
Borrow the currently bound manager material snapshot.
Definition VegetationSceneInstance.h:65
const asset_scene::LoadedSceneTemplate & scene() const noexcept
Borrow the associated declarative scene for this instance lifetime.
Definition VegetationSceneInstance.h:63
Owning registry that atomically couples dynamic Element state to a scene GPU runtime....
Definition VegetationSceneLiveElements.h:60
Texture / mesh / shader / canvas creation and release.
Definition IResourceFactory.h:38
Definition CookedMaterial.cpp:5
Actual runtime device capabilities used for variant selection.
Definition Evpack.h:92
Fully validated, detached scene-manager candidate with no archive or GPU borrows.
Definition EvpackVegetationScene.h:103
Owning decoded result of one unique source-GUID scene-manager association.
Definition VegetationSceneInstance.h:11
LoadedVegetationScene manager
Definition VegetationSceneInstance.h:13
asset_scene::LoadedSceneTemplate scene
Definition VegetationSceneInstance.h:12
std::map< std::string, graphics::VegetationMask > masks
Definition VegetationSceneInstance.h:14
One normalized Unity TVEElement definition awaiting texture realization.
Definition EvpackVegetationScene.h:60
Explicit detached inputs for publishing all nine TVE scene-manager field layers.
Definition EvpackVegetationScene.h:233
Owning declarative scene tree and render bindings; neither mutates a Scene or retains GPU objects.
Definition EvpackSceneTemplateLoader.h:29
Owning material parameter snapshot; texture pointers remain borrowed. Base color/metallic/roughness c...
Definition PbrSurface.h:218
Source-equivalent plant motion parameters with explicit time and texture inputs. All data is owned....
Definition VegetationMotion.h:38