/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_util.h | 34 inline void CloneComponent(CORE_NS::Entity srcEntity, const CORE_NS::IComponentManager& srcManager, in CORE_BEGIN_NAMESPACE() 35 CORE_NS::IEcs& dstEcs, CORE_NS::Entity dstEntity) in CORE_BEGIN_NAMESPACE() 54 …CORE_NS::IEcs& srcEcs, CORE_NS::Entity srcEntity, CORE_NS::IEcs& dstEcs, CORE_NS::Entity dstEntity) in CloneComponents() 63 inline CORE_NS::Entity CloneEntity(CORE_NS::IEcs& srcEcs, CORE_NS::Entity src, CORE_NS::IEcs& dstEc… in CloneEntity() 70 inline CORE_NS::EntityReference CloneEntityReference(CORE_NS::IEcs& srcEcs, CORE_NS::Entity src, CO… in CloneEntityReference() 78 BASE_NS::vector<CORE_NS::EntityReference*>& entityReferences, const CORE_NS::Property& property, 115 …CORE_NS::IEcs& ecs, CORE_NS::Entity entity, BASE_NS::unordered_map<CORE_NS::Entity, CORE_NS::Entit… in RewriteEntityReferences() 158 CORE_NS::IEcs& srcEcs, BASE_NS::array_view<const CORE_NS::Entity> src, CORE_NS::IEcs& dstEcs) in CloneEntities() 169 …CORE_NS::IEcs& srcEcs, BASE_NS::array_view<const CORE_NS::EntityReference> src, CORE_NS::IEcs& dst… in CloneEntityReferences() 180 …CORE_NS::IEcs& srcEcs, BASE_NS::array_view<const CORE_NS::EntityReference> src, CORE_NS::IEcs& dst… in CloneEntitiesUpdateRefs() [all …]
|
H A D | json_util.h | 33 return CORE_NS::json::unescape(str); in CORE_BEGIN_NAMESPACE() 159 inline CORE_NS::json::standalone_value ToJson(T value) in ToJson() 161 return CORE_NS::json::standalone_value(value); in ToJson() 174 return CORE_NS::json::standalone_value(value); in ToJson() 180 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); 189 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); 199 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); 209 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); 220 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); 231 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); [all …]
|
H A D | scene_holder.h | 221 void SetMesh(CORE_NS::Entity targetEntity, CORE_NS::Entity mesh); 227 CORE_NS::Entity GetMaterial(CORE_NS::Entity meshEntity, int64_t submeshIndex); 329 void SetMultiviewCamera(CORE_NS::Entity target, CORE_NS::Entity source); 330 void RemoveMultiviewCamera(CORE_NS::Entity target, CORE_NS::Entity source); 333 void CopySubMesh(CORE_NS::Entity target, CORE_NS::Entity source, size_t index); 336 CORE_NS::Entity CreateMultiMeshInstance(CORE_NS::Entity baseComponent); 339 void SetMeshMultimeshArray(CORE_NS::Entity target, CORE_NS::Entity mesh); 343 CORE_NS::Entity target, CORE_NS::Entity material); 515 CORE_NS::Entity FindCachedRelatedEntity(const CORE_NS::Entity& entity); 526 CORE_NS::IEcs::Ptr ecs_; [all …]
|
H A D | ecs_serializer.h | 45 …const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) con… in SCENE_BEGIN_NAMESPACE() 46 …bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponent… in SCENE_BEGIN_NAMESPACE() 47 …CORE_NS::IComponentManager::ComponentId id, CORE_NS::json::standalone_value& jsonOut) const overri… in SCENE_BEGIN_NAMESPACE() 49 CORE_NS::json::standalone_value& jsonOut) const override; in SCENE_BEGIN_NAMESPACE() 57 …bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity enti… in SCENE_BEGIN_NAMESPACE() 58 CORE_NS::IComponentManager& component) const override; in SCENE_BEGIN_NAMESPACE() 59 …bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Proper… in SCENE_BEGIN_NAMESPACE() 66 …const IEntityCollection& ec, const CORE_NS::Property&, uintptr_t, CORE_NS::json::standalone_value&… in SCENE_BEGIN_NAMESPACE() 68 … const IEntityCollection& ec, const CORE_NS::json::value&, const CORE_NS::Property&, uintptr_t)>; in SCENE_BEGIN_NAMESPACE() 77 CORE_NS::json::standalone_value& jsonOut) const override; in SCENE_BEGIN_NAMESPACE() [all …]
|
H A D | entity_collection.h | 42 CORE_NS::IEcs& GetEcs() const override; in SCENE_BEGIN_NAMESPACE() 59 void AddEntity(CORE_NS::EntityReference entitity) override; in SCENE_BEGIN_NAMESPACE() 61 bool RemoveEntity(CORE_NS::EntityReference entitity) override; in SCENE_BEGIN_NAMESPACE() 63 void RemoveEntityRecursive(CORE_NS::Entity entity) override; in SCENE_BEGIN_NAMESPACE() 66 BASE_NS::string_view GetId(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE() 87 bool Contains(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE() 88 bool IsExternal(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE() 89 bool isSubCollectionRoot(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE() 90 CORE_NS::EntityReference GetReference(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE() 147 CORE_NS::IEcs& ecs_; in SCENE_BEGIN_NAMESPACE() [all …]
|
H A D | ecs_listener.h | 34 class IEcsProxyObject : public CORE_NS::IInterface { 39 …virtual void DoEntityEvent(CORE_NS::IEcs::EntityListener::EventType type, const CORE_NS::Entity& e… 41 const CORE_NS::IComponentManager& componentManager, const CORE_NS::Entity& entity) = 0; 51 class EcsListener : public CORE_NS::IEcs::EntityListener, CORE_NS::IEcs::ComponentListener { in SCENE_BEGIN_NAMESPACE() 58 void SetEcs(const CORE_NS::IEcs::Ptr& ecs) in SCENE_BEGIN_NAMESPACE() 67 void Reset(CORE_NS::IComponentManager* manager = nullptr) in SCENE_BEGIN_NAMESPACE() 80 …void AddEntity(const CORE_NS::Entity& entity, IEcsProxyObject::WeakPtr object, CORE_NS::IComponent… in SCENE_BEGIN_NAMESPACE() 116 …const CORE_NS::Entity& entity, IEcsProxyObject::WeakPtr object, CORE_NS::IComponentManager& manage… in SCENE_BEGIN_NAMESPACE() 141 …CORE_NS::IEcs::EntityListener::EventType type, BASE_NS::array_view<const CORE_NS::Entity> entities… in SCENE_BEGIN_NAMESPACE() 209 CORE_NS::IComponentManager* cm; in SCENE_BEGIN_NAMESPACE() [all …]
|
H A D | ecs_animation.h | 110 …void DoEntityEvent(CORE_NS::IEcs::EntityListener::EventType type, const CORE_NS::Entity& entity) o… in SCENE_BEGIN_NAMESPACE() 118 const CORE_NS::IComponentManager& componentManager, const CORE_NS::Entity& entity) override in SCENE_BEGIN_NAMESPACE() 172 CORE_NS::Entity entity_; in SCENE_BEGIN_NAMESPACE() 234 …void DoEntityEvent(CORE_NS::IEcs::EntityListener::EventType, const CORE_NS::Entity& entity) overri… in DoEntityEvent() 236 const CORE_NS::IComponentManager& componentManager, const CORE_NS::Entity& entity) override; 244 void SetEntity(CORE_NS::IEcs& ecs, CORE_NS::Entity entity) override; 267 CORE_NS::Entity rootEntity, CORE_NS::Entity target, BASE_NS::string_view property) override; 346 …void OnAnimationTracksChanged(CORE_NS::IEcs::ComponentListener::EventType event, CORE_NS::Entity e… 347 …void OnAnimationInputsChanged(CORE_NS::IEcs::ComponentListener::EventType event, CORE_NS::Entity e… 359 CORE_NS::IEcs* ecs_ { nullptr }; [all …]
|
H A D | ecs_object.cpp | 58 CORE_NS::IEcs::Ptr GetEcs() const override in GetEcs() 63 CORE_NS::Entity GetEntity() const override in GetEntity() 68 void SetEntity(CORE_NS::IEcs::Ptr ecs, CORE_NS::Entity entity) override in SetEntity() 72 if (CORE_NS::EntityUtil::IsValid(entity)) { in SetEntity() 88 void BindObject(CORE_NS::IEcs::Ptr ecsInstance, CORE_NS::Entity entity) override in BindObject() 129 …void DoEntityEvent(CORE_NS::IEcs::EntityListener::EventType type, const CORE_NS::Entity& /*entity*… in DoEntityEvent() 150 const CORE_NS::IComponentManager& componentManager, const CORE_NS::Entity& entity) override in DoComponentEvent() 286 CORE_NS::IEcs::Ptr ecsInstance_ {}; 287 CORE_NS::EntityReference entity_; 297 CORE_NS::IComponentManager* manager; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/ |
H A D | intf_mesh_util.h | 43 virtual CORE_NS::Entity GenerateCubeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, in CORE3D_BEGIN_NAMESPACE() 54 …const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity material, float width, float … in CORE3D_BEGIN_NAMESPACE() 64 virtual CORE_NS::Entity GenerateSphereMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, in CORE3D_BEGIN_NAMESPACE() 75 virtual CORE_NS::Entity GenerateConeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, in CORE3D_BEGIN_NAMESPACE() 87 virtual CORE_NS::Entity GenerateTorusMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, in CORE3D_BEGIN_NAMESPACE() 97 const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity meshEntity) = 0; in CORE3D_BEGIN_NAMESPACE() 107 …virtual CORE_NS::Entity GenerateCube(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS:… in CORE3D_BEGIN_NAMESPACE() 117 virtual CORE_NS::Entity GeneratePlane( in CORE3D_BEGIN_NAMESPACE() 128 virtual CORE_NS::Entity GenerateSphere(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, in CORE3D_BEGIN_NAMESPACE() 139 …virtual CORE_NS::Entity GenerateCone(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS:… in CORE3D_BEGIN_NAMESPACE() [all …]
|
H A D | intf_scene_util.h | 54 virtual CORE_NS::Entity CreateCamera(CORE_NS::IEcs& ecs, const BASE_NS::Math::Vec3& position, 63 …CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::UVec2& renderResolution) const = … 75 virtual void UpdateCameraViewport(CORE_NS::IEcs& ecs, CORE_NS::Entity entity, 87 …virtual void CameraLookAt(CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::Vec3& e… 98 virtual CORE_NS::Entity CreateLight(CORE_NS::IEcs& ecs, const LightComponent& lightComponent, 106 …virtual void CreateReflectionPlaneComponent(CORE_NS::IEcs& ecs, const CORE_NS::Entity& nodeEntity)… 116 …virtual IAnimationPlayback* RetargetSkinAnimation(CORE_NS::IEcs& ecs, CORE_NS::Entity targetEntity, 117 CORE_NS::Entity sourceEntity, CORE_NS::Entity animationEntity) const = 0; 136 virtual void GetDefaultMaterialShaderData(CORE_NS::IEcs& ecs, const MaterialShaderInfo& info, 146 …virtual void GetDefaultMaterialShaderData(CORE_NS::IEcs& ecs, const ISceneUtil::MaterialShaderInfo… [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_util.h | 39 …CORE_NS::Entity GeneratePlaneMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::En… in CORE3D_BEGIN_NAMESPACE() 41 …CORE_NS::Entity GenerateSphereMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::E… in CORE3D_BEGIN_NAMESPACE() 43 …CORE_NS::Entity GenerateConeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Ent… in CORE3D_BEGIN_NAMESPACE() 45 …CORE_NS::Entity GenerateTorusMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::En… in CORE3D_BEGIN_NAMESPACE() 47 …CORE_NS::Entity GenerateCubeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Ent… in CORE3D_BEGIN_NAMESPACE() 51 const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity meshEntity) override; in CORE3D_BEGIN_NAMESPACE() 53 …CORE_NS::Entity GenerateCube(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity … in CORE3D_BEGIN_NAMESPACE() 55 …CORE_NS::Entity GeneratePlane(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity… in CORE3D_BEGIN_NAMESPACE() 58 …CORE_NS::Entity GenerateSphere(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entit… in CORE3D_BEGIN_NAMESPACE() 61 …CORE_NS::Entity GenerateCone(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity … in CORE3D_BEGIN_NAMESPACE() [all …]
|
H A D | scene_util.h | 42 CORE_NS::Entity CreateCamera(CORE_NS::IEcs& ecs, const BASE_NS::Math::Vec3& position, 45 …CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::UVec2& renderResolution) const ov… 48 void CameraLookAt(CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::Vec3& eye, 51 CORE_NS::Entity CreateLight(CORE_NS::IEcs& ecs, const LightComponent& lightComponent, 57 CORE_NS::Entity entity; 59 CORE_NS::Entity mesh; 61 CORE_NS::Entity material; 68 …void CreateReflectionPlaneComponent(CORE_NS::IEcs& ecs, const CORE_NS::Entity& nodeEntity) overrid… 70 IAnimationPlayback* RetargetSkinAnimation(CORE_NS::IEcs& ecs, CORE_NS::Entity targetEntity, 71 CORE_NS::Entity sourceEntity, CORE_NS::Entity animationEntity) const override; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_context.h | 82 CORE_NS::IEngine& GetEngine() const override; 112 CORE_NS::IEngine& engine_; 122 CORE_NS::InterfaceTypeInfo { 127 … [](CORE_NS::IClassRegister& registry, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { 134 CORE_NS::InterfaceTypeInfo { 136 [](CORE_NS::IClassFactory&, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { 157 CORE_NS::IEngine& engine_; 159 CORE_NS::InterfaceTypeInfo interfaceInfo_ { 162 CORE_NS::GetName<IRenderContext>().data(), 163 [](CORE_NS::IClassFactory& factory, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ |
H A D | log.h | 66 …CHECK_FORMAT_STRING(__VA_ARGS__), CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_INFO, "", 0, __VA_A… 83 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_INFO, "", 0, __VA_ARGS__) 87 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_WARNING, "", 0, __VA_ARGS__); 91 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_ERROR, "", 0, __VA_ARGS__) 95 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_FATAL, "", 0, __VA_ARGS__) 103 CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_VERBOSE, __FILE__, __LINE__, __VA_ARGS__) 108 CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_DEBUG, __FILE__, __LINE__, __VA_ARGS__) 113 CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_INFO, __FILE__, __LINE__, __VA_ARGS__) 118 CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_WARNING, __FILE__, __LINE__, __VA_ARGS__) 123 CORE_NS::Log(CORE_NS::ILogger::LogLevel::LOG_ERROR, __FILE__, __LINE__, __VA_ARGS__) [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_ecs_serializer.h | 39 CORE_NS::Entity entity; in SCENE_BEGIN_NAMESPACE() 61 CORE_NS::json::standalone_value& jsonOut) const = 0; in SCENE_BEGIN_NAMESPACE() 63 const CORE_NS::Property& property, uintptr_t offset) const = 0; in SCENE_BEGIN_NAMESPACE() 76 …const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) con… in SCENE_BEGIN_NAMESPACE() 77 virtual bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, in SCENE_BEGIN_NAMESPACE() 78 const CORE_NS::IComponentManager& cm, CORE_NS::IComponentManager::ComponentId id, in SCENE_BEGIN_NAMESPACE() 79 CORE_NS::json::standalone_value& jsonOut) const = 0; in SCENE_BEGIN_NAMESPACE() 81 CORE_NS::json::standalone_value& jsonOut) const = 0; in SCENE_BEGIN_NAMESPACE() 89 …virtual bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Ent… in SCENE_BEGIN_NAMESPACE() 90 CORE_NS::IComponentManager& component) const = 0; in SCENE_BEGIN_NAMESPACE() [all …]
|
H A D | intf_entity_collection.h | 54 virtual CORE_NS::IEcs& GetEcs() const = 0; in SCENE_BEGIN_NAMESPACE() 67 virtual CORE_NS::EntityReference GetEntity(size_t collectionIndex) const = 0; in SCENE_BEGIN_NAMESPACE() 71 virtual void AddEntity(CORE_NS::EntityReference entitity) = 0; in SCENE_BEGIN_NAMESPACE() 73 virtual bool RemoveEntity(CORE_NS::EntityReference entitity) = 0; in SCENE_BEGIN_NAMESPACE() 75 virtual void RemoveEntityRecursive(CORE_NS::Entity entity) = 0; in SCENE_BEGIN_NAMESPACE() 77 virtual BASE_NS::string_view GetId(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE() 78 virtual BASE_NS::string_view GetIdRecursive(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE() 100 virtual bool Contains(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE() 101 virtual bool IsExternal(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE() 102 virtual bool isSubCollectionRoot(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE() [all …]
|
H A D | intf_ecs_animation.h | 28 class IEcsTrackAnimation : public CORE_NS::IInterface { in SCENE_BEGIN_NAMESPACE() 31 virtual void SetEntity(CORE_NS::Entity entity) = 0; in SCENE_BEGIN_NAMESPACE() 32 virtual CORE_NS::Entity GetEntity() const = 0; in SCENE_BEGIN_NAMESPACE() 45 class IEcsAnimation : public CORE_NS::IInterface { 51 virtual bool SetRootEntity(CORE_NS::Entity entity) = 0; 52 virtual CORE_NS::Entity GetRootEntity() const = 0; 54 virtual void SetEntity(CORE_NS::IEcs& ecs, CORE_NS::Entity entity) = 0; 55 virtual CORE_NS::Entity GetEntity() const = 0; 57 virtual bool Retarget(CORE_NS::Entity entity) = 0; 70 CORE_NS::Entity rootEntity, CORE_NS::Entity target, BASE_NS::string_view property) = 0; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | initial_transform_component_manager.cpp | 33 using CORE_NS::BaseManager; 34 using CORE_NS::IComponentManager; 35 using CORE_NS::IEcs; 36 using CORE_NS::Property; 120 : type(CORE_NS::PropertyType::FLOAT_VECTOR_T) in InitialTransformComponent() 140 other.type = CORE_NS::PropertyType::FLOAT_T; in InitialTransformComponent() 187 type = CORE_NS::PropertyType::FLOAT_T; in operator =() 197 type = CORE_NS::PropertyType::VEC2_T; in operator =() 207 type = CORE_NS::PropertyType::VEC3_T; in operator =() 217 type = CORE_NS::PropertyType::VEC4_T; in operator =() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | property_util.h | 39 class CustomPropertyPodContainer final : public CORE_NS::IPropertyHandle, CORE_NS::IPropertyApi { in RENDER_BEGIN_NAMESPACE() 53 const CORE_NS::IPropertyApi* Owner() const override; in RENDER_BEGIN_NAMESPACE() 65 CORE_NS::IPropertyHandle* Create() const override; in RENDER_BEGIN_NAMESPACE() 66 CORE_NS::IPropertyHandle* Clone(const CORE_NS::IPropertyHandle* src) const override; in RENDER_BEGIN_NAMESPACE() 67 void Release(CORE_NS::IPropertyHandle* handle) const override; in RENDER_BEGIN_NAMESPACE() 104 BASE_NS::vector<CORE_NS::Property> metaData_; in RENDER_BEGIN_NAMESPACE() 140 class CustomPropertyBindingContainer final : public CORE_NS::IPropertyHandle, CORE_NS::IPropertyApi… 151 const CORE_NS::IPropertyApi* Owner() const override; 163 CORE_NS::IPropertyHandle* Create() const override; 164 CORE_NS::IPropertyHandle* Clone(const CORE_NS::IPropertyHandle* src) const override; [all …]
|
H A D | log.h | 78 RENDER_NS::PluginLog(CORE_NS::ILogger::LogLevel::LOG_DEBUG, PLUGIN_FILE_INFO, __VA_ARGS__) 96 RENDER_NS::PluginLog(CORE_NS::ILogger::LogLevel::LOG_INFO, PLUGIN_FILE_INFO, __VA_ARGS__) 106 RENDER_NS::PluginLog(CORE_NS::ILogger::LogLevel::LOG_ERROR, PLUGIN_FILE_INFO, __VA_ARGS__) 111 RENDER_NS::PluginLog(CORE_NS::ILogger::LogLevel::LOG_FATAL, PLUGIN_FILE_INFO, __VA_ARGS__) 143 inline CORE_NS::ILogger* GetPluginLogger() in RENDER_BEGIN_NAMESPACE() 145 static CORE_NS::ILogger* gPluginGlobalLogger { nullptr }; in RENDER_BEGIN_NAMESPACE() 147 gPluginGlobalLogger = CORE_NS::GetInstance<CORE_NS::ILogger>(CORE_NS::UID_LOGGER); in RENDER_BEGIN_NAMESPACE() 156 if (CORE_NS::ILogger* logger = GetPluginLogger(); logger) { in PluginLog() 168 if (CORE_NS::ILogger* logger = GetPluginLogger(); logger) { in PluginLogOnce() 180 if (CORE_NS::ILogger* logger = GetPluginLogger(); logger) { in PluginLogAssert() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | skinning_system.h | 46 explicit SkinningSystem(CORE_NS::IEcs& ecs); 50 CORE_NS::IPropertyHandle* GetProperties() override; 52 void SetProperties(const CORE_NS::IPropertyHandle&) override; 61 const CORE_NS::IEcs& GetECS() const override; 63 …void CreateInstance(CORE_NS::Entity const& skinIbmEntity, BASE_NS::array_view<const CORE_NS::Entit… 64 CORE_NS::Entity const& entity, CORE_NS::Entity const& skeleton) override; 66 …CORE_NS::Entity const& skinIbmEntity, CORE_NS::Entity const& entity, CORE_NS::Entity const& skelet… 76 CORE_NS::IEcs& ecs_; 91 CORE_NS::ComponentQuery componentQuery_; 95 CORE_NS::PropertyApiImpl<void> SKINNING_SYSTEM_PROPERTIES; [all …]
|
H A D | render_preprocessor_system.h | 54 explicit RenderPreprocessorSystem(CORE_NS::IEcs& ecs); 58 CORE_NS::IPropertyHandle* GetProperties() override; 68 const CORE_NS::IEcs& GetECS() const override; 94 CORE_NS::Entity mesh; 95 CORE_NS::Entity batch; 96 CORE_NS::Entity skin; 101 CORE_NS::Entity material; 112 CORE_NS::IEcs& ecs_; 143 CORE_NS::ComponentQuery renderableQuery_; 153 BASE_NS::vector<CORE_NS::Entity> renderMeshComponents_; [all …]
|
H A D | animation_system.h | 56 explicit AnimationSystem(CORE_NS::IEcs& ecs); 62 CORE_NS::IPropertyHandle* GetProperties() override; 64 void SetProperties(const CORE_NS::IPropertyHandle&) override; 73 const CORE_NS::IEcs& GetECS() const override; 94 const CORE_NS::PropertyTypeDecl* property; 98 CORE_NS::ScopedHandle<uint8_t> handle; 142 CORE_NS::IEcs& ecs_; 145 CORE_NS::PropertyApiImpl<Properties> systemPropertyApi_; 157 CORE_NS::ComponentQuery trackQuery_; 158 CORE_NS::ComponentQuery animationQuery_; [all …]
|
H A D | morphing_system.h | 46 private CORE_NS::IEcs::EntityListener, 49 explicit MorphingSystem(CORE_NS::IEcs& ecs); 53 CORE_NS::IPropertyHandle* GetProperties() override; 54 const CORE_NS::IPropertyHandle* GetProperties() const override; 55 void SetProperties(const CORE_NS::IPropertyHandle&) override; 63 const CORE_NS::IEcs& GetECS() const override; 67 …CORE_NS::IEntityManager::EventType type, BASE_NS::array_view<const CORE_NS::Entity> entities) over… 74 CORE_NS::IEcs& ecs_; 86 BASE_NS::unordered_map<CORE_NS::Entity, bool> dirty_; 87 BASE_NS::vector<CORE_NS::Entity> reset_; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.h | 82 …GLTF2Importer(CORE_NS::IEngine& engine, RENDER_NS::IRenderContext& renderContext, CORE_NS::IEcs& e… 83 …GLTF2Importer(CORE_NS::IEngine& engine, RENDER_NS::IRenderContext& renderContext, CORE_NS::IEcs& e… 84 CORE_NS::IThreadPool& pool); 155 CORE_NS::IEngine& engine_; 159 CORE_NS::IEcs::Ptr ecs_; 195 …Gltf2SceneImporter(CORE_NS::IEngine& engine, RENDER_NS::IRenderContext& renderContext, CORE_NS::IE… 196 …Gltf2SceneImporter(CORE_NS::IEngine& engine, RENDER_NS::IRenderContext& renderContext, CORE_NS::IE… 197 CORE_NS::IThreadPool& pool); 210 CORE_NS::Entity ImportScene(size_t sceneIndex, CORE_NS::Entity parentEntity) override; 225 CORE_NS::IEcs& ecs_; [all …]
|