/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 151 return ecs_; in GetEcs() 381 if (ecs_) { in UninitializeScene() 415 if (ecs_) { in ProcessEvents() 535 if (ecs_) { in CreateCamera() 671 if (ecs_) { in UpdateViewportSize() 771 if (ecs_) { in ResetScene() 954 if (ecs_) { in FindMesh() 1008 if (ecs_) { in FindMaterial() 1067 if (ecs_) { in FindAnimation() 1125 if (ecs_) { in ResolveAnimations() [all …]
|
H A D | ecs_animation.cpp | 259 if (ecs_) { in Retarget() 270 ecs_ = &ecs; in SetEntity() 309 if (!ecs_) { in TryResolveAnimationRoot() 508 if (!ecs_) { in OnAnimationInputsChanged() 528 if (!ecs_) { in IsAnimationTrackArrayModified() 553 if (!ecs_) { in GatherAnimationTracks() 795 if (ecs_) { in OnDestroyAnimationTrack() 1048 if (ecs_) { in SetTime() 1141 if (ecs_) { in GetProperty() 1221 if (ecs_) { in UpdateAnimationTrackDuration() [all …]
|
H A D | asset_loader.cpp | 84 ecs_(ec.GetEcs()), ec_(ec), src_(src), contextUri_(contextUri), in AssetLoader() 475 auto* ncm = GetManager<INameComponentManager>(ecs_); in ImportSceneFromGltf() 496 INodeSystem* nodeSystem = GetSystem<INodeSystem>(ecs_); in ImportSceneFromGltf() 509 auto& nameManager_ = *GetManager<INameComponentManager>(ecs_); in UpdateTrackTargets() 512 auto& entityManager = ecs_.GetEntityManager(); in UpdateTrackTargets() 545 auto* nodeSystem = GetSystem<INodeSystem>(ecs_); in GltfImportFinished() 638 auto* acm = GetManager<IAnimationComponentManager>(ecs_); in GltfImportFinished() 666 auto* ncm = GetManager<INameComponentManager>(ecs_); in LoadImageEntityCollection() 667 auto* ucm = GetManager<IUriComponentManager>(ecs_); in LoadImageEntityCollection() 668 auto* gcm = GetManager<IRenderHandleComponentManager>(ecs_); in LoadImageEntityCollection() [all …]
|
H A D | ecs_listener.h | 60 if (auto ecsRaw = ecs.get(); ecs_ != ecsRaw) { in SCENE_BEGIN_NAMESPACE() 62 ecs_ = ecsRaw; in SCENE_BEGIN_NAMESPACE() 63 ecs_->AddListener((CORE_NS::IEcs::EntityListener&)*this); in SCENE_BEGIN_NAMESPACE() 70 if (ecs_) { in SCENE_BEGIN_NAMESPACE() 71 ecs_->RemoveListener((CORE_NS::IEcs::EntityListener&)*this); in SCENE_BEGIN_NAMESPACE() 73 ecs_->RemoveListener(*manager.first, (CORE_NS::IEcs::ComponentListener&)*this); in SCENE_BEGIN_NAMESPACE() 76 ecs_ = nullptr; in SCENE_BEGIN_NAMESPACE() 111 ecs_->AddListener(manager, (CORE_NS::IEcs::ComponentListener&)*this); in SCENE_BEGIN_NAMESPACE() 135 ecs_->RemoveListener(manager, (CORE_NS::IEcs::ComponentListener&)*this); in SCENE_BEGIN_NAMESPACE() 215 CORE_NS::IEcs* ecs_ {}; in SCENE_BEGIN_NAMESPACE()
|
H A D | entity_collection.cpp | 34 : ecs_(ecs), uri_(uri), contextUri_(contextUri) in SCENE_BEGIN_NAMESPACE() 59 return ecs_; in GetEcs() 346 auto collection = EntityCollection::Ptr { new EntityCollection(ecs_, uri, contextUri) }; in AddSubCollection() 362 …collections_.emplace_back(EntityCollection::Ptr { new EntityCollection(ecs_, uri, collection.GetCo… in AddSubCollectionClone() 490 auto& em = ecs_.GetEntityManager(); in SetActive() 513 auto& em = ecs_.GetEntityManager(); in MarkDestroyed() 597 auto ref = ecs_.GetEntityManager().GetReferenceCounted(entity); in AddEntityToSubcollection() 728 … dst.entities_ = CloneEntityReferences(ecs_, { entities_.data(), entities_.size() }, dst.GetEcs()); in DoCloneRecursive() 938 return EntityCollection::Ptr { new EntityCollection(ecs_, uri, contextUri) }; in CreateNewEntityCollection()
|
H A D | ecs_animation.h | 94 … CORE_NS::GetManager<CORE3D_NS::IAnimationTrackComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 98 … CORE_NS::GetManager<CORE3D_NS::IAnimationInputComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 157 if (!ecsListener->ecs_) { in SCENE_BEGIN_NAMESPACE() 161 … CORE_NS::GetManager<CORE3D_NS::IAnimationTrackComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 165 … CORE_NS::GetManager<CORE3D_NS::IAnimationInputComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 359 CORE_NS::IEcs* ecs_ { nullptr };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | morphing_system.cpp | 87 …: active_(true), ecs_(ecs), dataStore_(nullptr), nodeManager_(*GetManager<INodeComponentManager>(e… in MorphingSystem() 93 if (IEngine* engine = ecs_.GetClassFactory().GetInterface<IEngine>(); engine) { in MorphingSystem() 113 if (IRenderPreprocessorSystem* rps = GetSystem<IRenderPreprocessorSystem>(ecs_); rps) { in Initialize() 122 ecs_.AddListener(static_cast<IEcs::EntityListener&>(*this)); in Initialize() 123 ecs_.AddListener(morphManager_, *this); in Initialize() 131 ecs_.RemoveListener(static_cast<IEcs::EntityListener&>(*this)); in Uninitialize() 132 ecs_.RemoveListener(morphManager_, *this); in Uninitialize() 181 return ecs_; in GetECS() 257 auto& entityManager = ecs_.GetEntityManager(); in Update()
|
H A D | animation_system.cpp | 589 animationManager_(*(GetManager<IAnimationComponentManager>(ecs_))), in AnimationSystem() 590 inputManager_(*(GetManager<IAnimationInputComponentManager>(ecs_))), in AnimationSystem() 591 outputManager_(*(GetManager<IAnimationOutputComponentManager>(ecs_))), in AnimationSystem() 592 stateManager_(*(GetManager<IAnimationStateComponentManager>(ecs_))), in AnimationSystem() 593 animationTrackManager_(*(GetManager<IAnimationTrackComponentManager>(ecs_))), in AnimationSystem() 639 return ecs_; in GetECS() 644 ecs_.AddListener(animationManager_, *this); in Initialize() 645 ecs_.AddListener(animationTrackManager_, *this); in Initialize() 768 ecs_.RemoveListener(animationManager_, *this); in Uninitialize() 769 ecs_.RemoveListener(animationTrackManager_, *this); in Uninitialize() [all …]
|
H A D | local_matrix_system.cpp | 43 LocalMatrixSystem::LocalMatrixSystem(IEcs& ecs) : active_(true), ecs_(ecs) in LocalMatrixSystem() 73 return ecs_; in GetECS()
|
H A D | animation_playback.cpp | 39 …: animation_(animationEntity), ecs_(ecs), animationManager_(GetManager<IAnimationComponentManager>… in AnimationPlayback() 46 if (auto animMgr = GetManager<IAnimationComponentManager>(ecs_); animMgr) { in ~AnimationPlayback()
|
H A D | local_matrix_system.h | 58 CORE_NS::IEcs& ecs_; variable
|
H A D | animation_playback.h | 70 CORE_NS::IEcs& ecs_; variable
|
H A D | render_preprocessor_system.cpp | 125 : ecs_(ecs), jointMatricesManager_(GetManager<IJointMatricesComponentManager>(ecs)), in RenderPreprocessorSystem() 134 if (IEngine* engine = ecs_.GetClassFactory().GetInterface<IEngine>(); engine) { in RenderPreprocessorSystem() 146 if (IEngine* engine = ecs_.GetClassFactory().GetInterface<IEngine>(); engine) { in ~RenderPreprocessorSystem() 404 return ecs_; in GetECS()
|
H A D | skinning_system.cpp | 137 …: active_(true), ecs_(ecs), picking_(*GetPicking(ecs)), skinManager_(*GetManager<ISkinComponentMan… in SkinningSystem() 160 nodeSystem_ = GetSystem<INodeSystem>(ecs_); in Initialize() 202 return ecs_; in GetECS()
|
H A D | morphing_system.h | 74 CORE_NS::IEcs& ecs_; variable
|
H A D | node_system.h | 86 CORE_NS::IEcs& ecs_; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/ |
H A D | component_query.cpp | 192 ecs_ = &managers_[0]->GetEcs(); in RegisterEcsListeners() 195 ecs_->AddListener(*manager, *this); in RegisterEcsListeners() 198 ecs_->AddListener(static_cast<IEcs::EntityListener&>(*this)); in RegisterEcsListeners() 205 if (registered_ && !managers_.empty() && ecs_) { in UnregisterEcsListeners() 208 ecs_->RemoveListener(*manager, *this); in UnregisterEcsListeners() 211 ecs_->RemoveListener(static_cast<IEcs::EntityListener&>(*this)); in UnregisterEcsListeners()
|
H A D | component_query.h | 136 CORE_NS::IEcs* ecs_ { nullptr }; in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/custom/ |
H A D | lume_custom_render.cpp | 48 ecs_ = input.ecs_; in Initialize() 53 if (!ecs_ || !graphicsContext_ || !renderContext_ || !engine_) { in Initialize() 55 … ecs_ != nullptr, graphicsContext_ != nullptr, renderContext_ != nullptr, engine_ != nullptr); in Initialize() 141 auto handleManager = CORE_NS::GetManager<CORE3D_NS::IRenderHandleComponentManager>(*ecs_); in LoadImage() 153 auto entity = ecs_->GetEntityManager().CreateReferenceCounted(); in LoadImage()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 333 ecs_ = nullptr; in DeInitEngine() 434 if (!ecs_) { in DestroyResource() 437 auto& ecs = *ecs_; in DestroyResource() 444 if (ecs_) { in DestroyResource() 456 auto& ecs = *ecs_; in LoadAndImport() 535 auto* ecs = ecs_.get(); in DrawFrame() 881 if (ecs_ != nullptr) { in CreateEcs() 890 auto& ecs = *ecs_; in LoadSystemGraph() 1428 if (ecs_ == nullptr) { in SetupCustomRenderTarget() 1433 auto& ecs = *ecs_; in SetupCustomRenderTarget() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/custom/ |
H A D | lume_custom_render.h | 48 CORE_NS::IEcs::Ptr ecs_; member 109 CORE_NS::IEcs::Ptr ecs_; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 2468 auto& entityManager = importer->ecs_->GetEntityManager(); in operator ()() 2555 gpuResourceManager_(device_.GetGpuResourceManager()), ecs_(&ecs), in GLTF2Importer() 2556 gpuHandleManager_(*GetManager<IRenderHandleComponentManager>(*ecs_)), in GLTF2Importer() 2557 materialManager_(*GetManager<IMaterialComponentManager>(*ecs_)), in GLTF2Importer() 2558 …hManager_(*GetManager<IMeshComponentManager>(*ecs_)), nameManager_(*GetManager<INameComponentManag… in GLTF2Importer() 2565 auto& entityMgr = ecs_->GetEntityManager(); in GLTF2Importer() 3269 materialEntity = ecs_->GetEntityManager().Create(); in PrepareMaterialTasks() 3327 auto meshEntity = ImportMesh(*ecs_, t->data); in PrepareMeshTasks() 3416 auto animationManager = GetManager<IAnimationComponentManager>(*ecs_); in PrepareAnimationTasks() 3515 : ecs_(ecs), graphicsContext_(GetInstance<IGraphicsContext>( in Gltf2SceneImporter() [all …]
|
H A D | gltf2_importer.h | 159 CORE_NS::IEcs::Ptr ecs_; variable 225 CORE_NS::IEcs& ecs_;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | post_process_configuration_component_manager.cpp | 240 IEcs& ecs_; member in PostProcessConfigurationComponentManager 254 : ecs_(ecs), shaderManager_(GetInstance<IRenderContext>( in PostProcessConfigurationComponentManager() 566 return ecs_; in GetEcs() 800 … if (manager_->renderHandleManager_ = GetManager<IRenderHandleComponentManager>(manager_->ecs_); in UpdateMetadata()
|
H A D | material_component_manager.cpp | 448 IEcs& ecs_; member in MaterialComponentManager 464 : ecs_(ecs), shaderManager_(GetInstance<IRenderContext>( in MaterialComponentManager() 786 return ecs_; in GetEcs() 1046 … manager_->renderHandleManager_ = GetManager<IRenderHandleComponentManager>(manager_->ecs_); in operator =() 1098 … manager_->renderHandleManager_ = GetManager<IRenderHandleComponentManager>(manager_->ecs_); in operator =() 1143 manager_->renderHandleManager_ = GetManager<IRenderHandleComponentManager>(manager_->ecs_); in UpdateMetadata()
|