Home
last modified time | relevance | path

Searched refs:CORE3D_NS (Results 1 – 25 of 56) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dlayer_flag_bits_metadata.h24 BEGIN_ENUM(LayerFlagBitsMetaData, CORE3D_NS::LayerFlagBits)
25 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_00, "Layer 0")
26 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_01, "Layer 1")
27 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_02, "Layer 2")
28 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_03, "Layer 3")
29 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_04, "Layer 4")
30 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_05, "Layer 5")
31 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_06, "Layer 6")
32 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_07, "Layer 7")
33 DECL_ENUM(CORE3D_NS::LayerFlagBits, CORE_LAYER_FLAG_BIT_08, "Layer 8")
[all …]
H A Denvironment_component_manager.cpp26 DECLARE_PROPERTY_TYPE(CORE3D_NS::EnvironmentComponent::Background);
29 BEGIN_ENUM(EnvironmentComponentBackgroundTypeMetaData, CORE3D_NS::EnvironmentComponent::Background)
30 DECL_ENUM(CORE3D_NS::EnvironmentComponent::Background, NONE, "None")
31 DECL_ENUM(CORE3D_NS::EnvironmentComponent::Background, IMAGE, "Image")
32 DECL_ENUM(CORE3D_NS::EnvironmentComponent::Background, CUBEMAP, "Cubemap")
33 DECL_ENUM(CORE3D_NS::EnvironmentComponent::Background, EQUIRECTANGULAR, "Equirectangular")
34 END_ENUM(EnvironmentComponentBackgroundTypeMetaData, CORE3D_NS::EnvironmentComponent::Background)
H A Dlight_component_manager.cpp27 DECLARE_PROPERTY_TYPE(CORE3D_NS::LightComponent::Type);
30 BEGIN_ENUM(LightTypeMetaData, CORE3D_NS::LightComponent::Type)
31 DECL_ENUM(CORE3D_NS::LightComponent::Type, DIRECTIONAL, "Directional")
32 DECL_ENUM(CORE3D_NS::LightComponent::Type, POINT, "Point")
33 DECL_ENUM(CORE3D_NS::LightComponent::Type, SPOT, "Spot")
34 END_ENUM(LightTypeMetaData, CORE3D_NS::LightComponent::Type)
H A Drender_mesh_batch_component_manager.cpp26 DECLARE_PROPERTY_TYPE(CORE3D_NS::RenderMeshBatchComponent::BatchType);
29 BEGIN_ENUM(BatchTypeMetaData, CORE3D_NS::RenderMeshBatchComponent::BatchType)
30 DECL_ENUM(CORE3D_NS::RenderMeshBatchComponent::BatchType, GPU_INSTANCING, "GPU Instancing")
31 END_ENUM(BatchTypeMetaData, CORE3D_NS::RenderMeshBatchComponent::BatchType)
H A Danimation_state_component_manager.cpp24 using CORE3D_NS::AnimationComponent;
25 using CORE3D_NS::AnimationStateComponent;
H A Dplanar_reflection_component_manager.cpp26 using CORE3D_NS::PlanarReflectionComponent;
H A Danimation_component_manager.cpp25 using CORE3D_NS::AnimationComponent;
H A Danimation_track_component_manager.cpp25 using CORE3D_NS::AnimationTrackComponent;
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/
H A Dlume_common.h69 CORE3D_NS::GltfResourceImportFlags resourceImportFlags_;
70 CORE3D_NS::GltfSceneImportFlags sceneImportFlags_;
181 BASE_NS::vector<CORE3D_NS::GLTFResourceData>& res);
198 CORE3D_NS::IGraphicsContext::Ptr CreateGfx3DContext();
199 CORE3D_NS::IGraphicsContext::Ptr GetGraphicsContext();
223 CORE3D_NS::IGraphicsContext::Ptr graphicsContext_;
224 CORE3D_NS::ITransformComponentManager* transformManager_;
225 CORE3D_NS::ICameraComponentManager* cameraManager_;
227 CORE3D_NS::ILightComponentManager* lightManager_;
244 CORE3D_NS::IUriComponentManager* uriManager_ { nullptr };
[all …]
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp283 CORE3D_NS::UID_GRAPHICS_CONTEXT); in CreateGfx3DContext()
390 BASE_NS::vector<CORE3D_NS::GLTFResourceData>& res) in DestroySceneNodeAndRes()
396 CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(*ecs_); in DestroySceneNodeAndRes()
453 BASE_NS::vector<CORE3D_NS::GLTFResourceData>& res) in LoadAndImport()
510 CORE3D_NS::INodeSystem* nodeSystem = CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(ecs); in LoadAndImport()
513CORE3D_NS::IAnimationSystem* animationSystem = CORE_NS::GetSystem<CORE3D_NS::IAnimationSystem>(ecs… in LoadAndImport()
1181 CORE3D_NS::IRenderMeshComponentManager& rmm) in CreateGeometry()
1214 CORE3D_NS::IRenderMeshComponentManager& rmm) in CreateNode()
1274 CORE3D_NS::MaterialComponent desc; in LoadCustGeometry()
1472 CORE3D_NS::TransformComponent tc; in UpdateLights()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dregister_engine_access.cpp32 using CORE3D_NS::MaterialComponent;
33 using CORE3D_NS::EnvironmentComponent;
34 using CORE3D_NS::LightComponent;
35 using CORE3D_NS::MeshComponent;
39 using CORE3D_NS::AnimationComponent;
40 using CORE3D_NS::AnimationStateComponent;
41 using CORE3D_NS::CameraComponent;
44 DECLARE_PROPERTY_TYPE(CORE3D_NS::EnvironmentComponent::Background);
45 DECLARE_PROPERTY_TYPE(CORE3D_NS::LightComponent::Type);
61 META_TYPE(CORE3D_NS::EnvironmentComponent::Background);
[all …]
H A Dscene_holder.h513 bool IsMultiMeshChild(const CORE3D_NS::ISceneNode* child);
525 CORE3D_NS::IGraphicsContext::Ptr graphicsContext3D_;
532 CORE3D_NS::GLTFResourceData gltfResourceData_;
534 CORE3D_NS::ISceneNode* rootNode_ { nullptr };
567 CORE3D_NS::ILayerComponentManager* layerComponentManager_ {};
570 CORE3D_NS::IMeshComponentManager* meshComponentManager_ {};
571 CORE3D_NS::INameComponentManager* nameComponentManager_ {};
572 CORE3D_NS::INodeComponentManager* nodeComponentManager_ {};
576 CORE3D_NS::IUriComponentManager* uriComponentManager_ {};
581 CORE3D_NS::INodeSystem* nodeSystem_ {};
[all …]
H A Dscene_holder.cpp64 using namespace CORE3D_NS;
524 … nodeSystem_ = static_cast<CORE3D_NS::INodeSystem*>(ecs_->GetSystem(CORE3D_NS::INodeSystem::UID)); in CreateDefaultEcs()
543 CORE3D_NS::ISceneNode* parent = nullptr; in CreateCamera()
796 CORE3D_NS::INodeSystem& nodeSystem = *GetSystem<CORE3D_NS::INodeSystem>(*ecs_); in ResetScene()
1377 CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(ecs); in ResolveNodeFullPath()
1419CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(*ecs_); in LoadScene()
1531 CORE3D_NS::INodeSystem& nodeSystem = *GetSystem<CORE3D_NS::INodeSystem>(*ecs_); in SaveScene()
1546 CORE3D_NS::INodeSystem& nodeSystem = *GetSystem<CORE3D_NS::INodeSystem>(*ecs_); in CreateNode()
1548 CORE3D_NS::ISceneNode* parent = nullptr; in CreateNode()
2447 …auto meshBuilder = CORE_NS::CreateInstance<CORE3D_NS::IMeshBuilder>(*renderContext_, CORE3D_NS::UI… in CreateMeshFromArrays()
[all …]
H A Dmaterial_impl.cpp28 using CORE3D_NS::MaterialComponent;
116 CORE3D_NS::MaterialComponent::LightingFlagBits::SHADOW_RECEIVER_BIT |
117 CORE3D_NS::MaterialComponent::LightingFlagBits::SHADOW_CASTER_BIT |
118 CORE3D_NS::MaterialComponent::LightingFlagBits::PUNCTUAL_LIGHT_RECEIVER_BIT |
119 CORE3D_NS::MaterialComponent::LightingFlagBits::INDIRECT_LIGHT_RECEIVER_BIT)
641 GetTextureInfo(CORE3D_NS::MaterialComponent::CLEARCOAT_ROUGHNESS))) { in UpdateInputProperties()
654 GetTextureInfo(CORE3D_NS::MaterialComponent::CLEARCOAT_NORMAL))) { in UpdateInputProperties()
688 GetTextureInfo(CORE3D_NS::MaterialComponent::TRANSMISSION))) { in UpdateInputProperties()
811 GetTextureInfo(CORE3D_NS::MaterialComponent::CLEARCOAT_ROUGHNESS))) { in BindInputProperties()
820 GetTextureInfo(CORE3D_NS::MaterialComponent::CLEARCOAT_NORMAL))) { in BindInputProperties()
[all …]
H A Decs_animation.h94 … 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()
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()
363 CORE3D_NS::IAnimationComponentManager* animationManager_ { nullptr };
364 CORE3D_NS::IAnimationTrackComponentManager* animationTrackManager_ { nullptr };
365 CORE3D_NS::IAnimationInputComponentManager* animationInputManager_ { nullptr };
366 CORE3D_NS::IAnimationOutputComponentManager* animationOutputManager_ { nullptr };
368 CORE3D_NS::INameComponentManager* nameManager_ { nullptr };
H A Danim_impl.cpp132 … META_NS::SetValue(animationState_, (uint8_t)CORE3D_NS::AnimationComponent::PlaybackState::PLAY); in Start()
142 … META_NS::SetValue(animationState_, (uint8_t)CORE3D_NS::AnimationComponent::PlaybackState::STOP); in InternalStop()
157 … META_NS::SetValue(animationState_, (uint8_t)CORE3D_NS::AnimationComponent::PlaybackState::PAUSE); in Pause()
171 … META_NS::SetValue(animationState_, (uint8_t)CORE3D_NS::AnimationComponent::PlaybackState::STOP); in Finish()
375 … return v < 0 ? CORE3D_NS::AnimationComponent::REPEAT_COUNT_INFINITE : static_cast<uint32_t>(v); in ToEcs()
379 … return v == CORE3D_NS::AnimationComponent::REPEAT_COUNT_INFINITE ? -1 : static_cast<int32_t>(v); in ToUi()
H A Dtextureinfo_impl.cpp23 using CORE3D_NS::MaterialComponent;
63 META_NS::ArrayProperty<CORE3D_NS::MaterialComponent::TextureInfo> array_;
66 using ChangeInfo = META_NS::ArrayChanges<CORE3D_NS::MaterialComponent::TextureInfo>;
H A Dasset_manager.h29 …AssetManager(RENDER_NS::IRenderContext& renderContext, CORE3D_NS::IGraphicsContext& graphicsContex… in SCENE_BEGIN_NAMESPACE()
73 CORE3D_NS::IGraphicsContext& graphicsContext_; in SCENE_BEGIN_NAMESPACE()
H A Dlight_impl.cpp81 …META_IMPLEMENT_INTERFACE_PROPERTY(SCENE_NS::ILight, uint64_t, LightLayerMask, CORE3D_NS::CORE_LAYE… in META_IMPLEMENT_INTERFACE_PROPERTY()
82 …META_IMPLEMENT_INTERFACE_PROPERTY(SCENE_NS::ILight, uint64_t, ShadowLayerMask, CORE3D_NS::CORE_LAY… in META_IMPLEMENT_INTERFACE_PROPERTY()
H A Dscene_impl.cpp409 CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(*ecs); in ResolveNodeTypeFromPath()
422 if (auto lightManager = ecs->GetComponentManager(CORE3D_NS::ILightComponentManager::UID)) { in ResolveNodeTypeFromPath()
428 … if (auto cameraManager = ecs->GetComponentManager(CORE3D_NS::ICameraComponentManager::UID)) { in ResolveNodeTypeFromPath()
434 … if (auto envManager = ecs->GetComponentManager(CORE3D_NS::IEnvironmentComponentManager::UID)) { in ResolveNodeTypeFromPath()
441 … if (auto nodeManager = ecs->GetComponentManager(CORE3D_NS::INodeComponentManager::UID)) { in ResolveNodeTypeFromPath()
444 … if (auto meshManager = ecs->GetComponentManager(CORE3D_NS::IMeshComponentManager::UID)) { in ResolveNodeTypeFromPath()
449 … if (auto materialManager = ecs->GetComponentManager(CORE3D_NS::IMaterialComponentManager::UID)) { in ResolveNodeTypeFromPath()
669 auto* nodeManager = CORE_NS::GetManager<CORE3D_NS::INodeComponentManager>(*ecs); in constructPath()
670 auto* nameManager = CORE_NS::GetManager<CORE3D_NS::INameComponentManager>(*ecs); in constructPath()
771 CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(*GetEcs()); in onSceneInitialized()
[all …]
H A Dintf_submesh_bridge.h31 …virtual void Initialize(CORE3D_NS::IMeshComponentManager* componentManager, CORE_NS::Entity entity,
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/plugin/
H A Dregistry_data.cpp47 { CORE3D_NS::UID_3D_PLUGIN, CORE3D_NS::GetVersionInfo }, in PLUGIN_DATA()
48 CORE3D_NS::RegisterInterfaces3D, in PLUGIN_DATA()
49 CORE3D_NS::UnregisterInterfaces3D, in PLUGIN_DATA()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/custom/
H A Dlume_custom_render.h46 CORE3D_NS::IGraphicsContext::Ptr graphicsContext_;
95 CORE3D_NS::IGraphicsContext::Ptr graphicsContext_;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/
H A Dnamespace.h19 #define CORE3D_NS Core3D macro
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dpicking.cpp280 if (cameraComponent.projection == CORE3D_NS::CameraComponent::Projection::ORTHOGRAPHIC) { in RayFromCamera()
281 const Math::Vec3 worldPos = CORE3D_NS::ScreenToWorld( in RayFromCamera()
288 const Math::Vec3 targetPos = CORE3D_NS::ScreenToWorld( in RayFromCamera()
312 return CORE3D_NS::ScreenToWorld( in ScreenToWorld()
555 return CORE3D_NS::GetWorldAABB(world, aabbMin, aabbMax); in GetWorldAABB()

123