载入中...
搜索中...
未找到
SceneLoader.h
浏览该文件的文档.
179 [[nodiscard("scene reload outcome must be checked")]] eve::Result<bool> reload(const std::string &path,
Move-only, checked operation results for the common layer.
Share string attribute map operations through the Windows Foundation DLL.
Keyframed skeletal animation clip (local TRS tracks per bone). Script type: AnimClip.
Definition AnimClip.h:145
3D bone hierarchy + bind-pose local TRS for skeletal animation. Independent of ik::Skeleton3D (FABRIK...
Definition AnimSkeleton.h:16
Definition Graphics.h:134
Declarative 3D light. Collected by RenderSystem3D (max 8 per frame). type: "point" | "dir" | "spot" (...
Definition Light.h:190
ECS mount point for one scene graph (full scene or nested subtree root). Isomorphic to eve::ui::UIHos...
Definition SceneHost.h:89
Loads a 3D scene (glTF / OBJ / FBX / GLB ... via Assimp/medialoader) into the ECS scene tree.
Definition SceneLoader.h:154
Module_REG(SceneLoader)
std::unordered_map< const aiMesh *, graphics::Mesh * > MeshCache
Definition SceneLoader.h:273
bool prewarm(const std::string &path)
Script-friendly CPU prewarm using the default import preset.
Definition SceneLoader.h:226
std::unordered_map< std::string, CpuImage > CpuImageMap
Definition SceneLoader.h:280
bool loadAsyncDefault(const std::string &path)
Script-friendly async load using the default import preset.
Definition SceneLoader.h:213
std::unordered_map< std::string, graphics::Texture * > TextureCache
Caches shared across the loader: textures by source key, GPU meshes per aiMesh.
Definition SceneLoader.h:272
std::unordered_map< std::string, std::vector< MeshSlot > > MeshSlotMap
Definition SceneLoader.h:104
@ Loaded
@ Graphics
Definition Container.h:602
Declarative scene-node description (build once / on dirty → flatten into SceneHost::Tree)....
Definition NodeDesc.h:19
Options controlling how a 3D scene file is decoded and mounted.
Definition SceneLoader.h:116
bool mipmaps
Generate mipmaps + anisotropic filtering for imported textures.
Definition SceneLoader.h:125
bool sharedMeshes
Reuse one GPU mesh when several nodes reference the same aiMesh.
Definition SceneLoader.h:123
bool generateNormalsIfMissing
Definition SceneLoader.h:118
bool importAnimations
Import aiAnimation clips (skeleton + clips exposed via accessors).
Definition SceneLoader.h:131
bool improveCacheLocality
Definition SceneLoader.h:121
bool importCameras
Import aiCamera entries as inactive graphics::Camera3D entities.
Definition SceneLoader.h:129
bool joinIdenticalVertices
Definition SceneLoader.h:119
A GPU mesh reference for one Assimp mesh referenced by an aiNode. The loader uploads one Renderable3D...
Definition SceneLoader.h:99
std::vector< SceneDiffEntry > entries
Definition SceneLoader.h:72
CPU-only import inspection result used by editor preflight.
Definition SceneLoader.h:83
std::vector< std::string > warnings
Definition SceneLoader.h:87
std::vector< std::string > collisions
Definition SceneLoader.h:89
std::vector< std::string > sockets
Definition SceneLoader.h:88
CPU-decoded texture (RGBA8) keyed by the same source+suffix key as TextureCache.
Definition SceneLoader.h:275
std::vector< uint8_t > rgba
Definition SceneLoader.h:278