/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | ecs_animation_util.h | 21 #include <3d/ecs/components/animation_component.h> 22 #include <3d/ecs/components/animation_track_component.h> 23 #include <3d/ecs/components/name_component.h> 24 #include <3d/ecs/systems/intf_node_system.h> 27 #include <core/ecs/intf_ecs.h> 33 void UpdateAnimationTrackTargets(IEcs& ecs, Entity animationEntity, Entity rootNode) in UpdateAnimationTrackTargets() argument 35 auto& nameManager = GetManager<CORE3D_NS::INameComponentManager>(ecs); in UpdateAnimationTrackTargets() 36 auto animationManager = GetManager<CORE3D_NS::IAnimationComponentManager>(ecs); in UpdateAnimationTrackTargets() 37 auto animationTrackManager = GetManager<CORE3D_NS::IAnimationTrackComponentManager>(ecs); in UpdateAnimationTrackTargets() 38 auto& entityManager = ecs in UpdateAnimationTrackTargets() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/plugin/ |
H A D | static_plugin.cpp | 16 #include <3d/ecs/components/animation_component.h> 17 #include <3d/ecs/components/animation_input_component.h> 18 #include <3d/ecs/components/animation_output_component.h> 19 #include <3d/ecs/components/animation_state_component.h> 20 #include <3d/ecs/components/animation_track_component.h> 21 #include <3d/ecs/components/camera_component.h> 22 #include <3d/ecs/components/environment_component.h> 23 #include <3d/ecs/components/fog_component.h> 24 #include <3d/ecs/components/joint_matrices_component.h> 25 #include <3d/ecs/component [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 20 #include <3d/ecs/components/animation_component.h> 21 #include <3d/ecs/components/animation_output_component.h> 22 #include <3d/ecs/components/animation_track_component.h> 23 #include <3d/ecs/components/camera_component.h> 24 #include <3d/ecs/components/light_component.h> 25 #include <3d/ecs/components/local_matrix_component.h> 26 #include <3d/ecs/components/material_component.h> 27 #include <3d/ecs/components/mesh_component.h> 28 #include <3d/ecs/components/name_component.h> 29 #include <3d/ecs/component 151 UpdateCameraViewport(IEcs& ecs, Entity entity, const Math::UVec2& renderResolution) const UpdateCameraViewport() argument 172 UpdateCameraViewport( IEcs& ecs, Entity entity, const Math::UVec2& renderResolution, bool autoAspect, float fovY, float orthoScale) const UpdateCameraViewport() argument 210 CameraLookAt( IEcs& ecs, Entity entity, const Math::Vec3& eye, const Math::Vec3& target, const Math::Vec3& up) CameraLookAt() argument 250 CreateLight( IEcs& ecs, const LightComponent& lightComponent, const Math::Vec3& position, const Math::Quat& rotation) const CreateLight() argument 316 CreateReflectionPlaneObjectFromEntity( IEcs& ecs, IGraphicsContext& graphicsContext, const Entity& nodeEntity) CreateReflectionPlaneObjectFromEntity() argument 379 CreateReflectionPlaneComponent(IEcs& ecs, const Entity& nodeEntity) CreateReflectionPlaneComponent() argument 393 CalculateScalingFactor(IEcs& ecs, Entity targetEntity, Entity sourceEntity) CalculateScalingFactor() argument 438 CreateJointMapping( IEcs& ecs, array_view<const Entity> dstJointEntities, array_view<const Entity> srcJointEntities) CreateJointMapping() argument 474 UpdateTracks(IEcs& ecs, array_view<EntityReference> targetTracks, array_view<const EntityReference> sourceTracks, array_view<const Entity> srcJointEntities, array_view<const Entity> srcToDstJointMapping, float scale) UpdateTracks() argument 535 RetargetSkinAnimation( IEcs& ecs, Entity targetEntity, Entity sourceEntity, Entity animationEntity) const RetargetSkinAnimation() argument 600 GetDefaultMaterialShaderData(IEcs& ecs, const ISceneUtil::MaterialShaderInfo& info, MaterialComponent::Shader& materialShader, MaterialComponent::Shader& depthShader) const GetDefaultMaterialShaderData() argument 640 GetDefaultMaterialShaderData(IEcs& ecs, const ISceneUtil::MaterialShaderInfo& info, const string_view renderSlot, MaterialComponent::Shader& shader) const GetDefaultMaterialShaderData() argument 671 ShareSkin(IEcs& ecs, Entity targetEntity, Entity sourceEntity) const ShareSkin() argument [all...] |
H A D | scene_util.h | 19 #include <3d/ecs/components/camera_component.h> 20 #include <3d/ecs/components/light_component.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 override; 46 void UpdateCameraViewport(CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::UVec2& renderResolution, 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, 68 void CreateReflectionPlaneComponent(CORE_NS::IEcs& ecs, const CORE_NS::Entity& nodeEntity) override; 70 IAnimationPlayback* RetargetSkinAnimation(CORE_NS::IEcs& ecs, CORE_NS::Entity targetEntity, 73 void GetDefaultMaterialShaderData(CORE_NS::IEcs& ecs, cons [all...] |
H A D | uri_lookup.cpp | 18 #include <3d/ecs/components/animation_component.h> 19 #include <3d/ecs/components/material_component.h> 20 #include <3d/ecs/components/mesh_component.h> 21 #include <3d/ecs/components/render_handle_component.h> 22 #include <3d/ecs/components/skin_ibm_component.h> 23 #include <3d/ecs/components/uri_component.h> 24 #include <core/ecs/intf_ecs.h> 25 #include <core/ecs/intf_entity_manager.h>
|
H A D | picking.cpp | 22 #include <3d/ecs/components/camera_component.h> 23 #include <3d/ecs/components/joint_matrices_component.h> 24 #include <3d/ecs/components/layer_component.h> 25 #include <3d/ecs/components/mesh_component.h> 26 #include <3d/ecs/components/render_mesh_component.h> 27 #include <3d/ecs/components/transform_component.h> 28 #include <3d/ecs/components/world_matrix_component.h> 29 #include <3d/ecs/systems/intf_node_system.h> 34 #include <core/ecs/intf_ecs.h> 295 Math::Vec3 Picking::ScreenToWorld(IEcs const& ecs, Entit argument 316 WorldToScreen(IEcs const& ecs, Entity cameraEntity, Math::Vec3 worldCoordinate) const WorldToScreen() argument 357 RayCast(const IEcs& ecs, const Math::Vec3& start, const Math::Vec3& direction) const RayCast() argument 410 RayCast( const IEcs& ecs, const Math::Vec3& start, const Math::Vec3& direction, uint64_t layerMask) const RayCast() argument 489 RayCastFromCamera(IEcs const& ecs, Entity camera, const Math::Vec2& screenPos) const RayCastFromCamera() argument 509 RayCastFromCamera( IEcs const& ecs, Entity camera, const Math::Vec2& screenPos, uint64_t layerMask) const RayCastFromCamera() argument 530 RayCastFromCamera(CORE_NS::IEcs const& ecs, CORE_NS::Entity camera, const BASE_NS::Math::Vec2& screenPos, BASE_NS::array_view<const BASE_NS::Math::Vec3> triangles) const RayCastFromCamera() argument [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/ |
H A D | intf_scene_util.h | 19 #include <3d/ecs/components/material_component.h> 25 #include <core/ecs/entity.h> 46 * @param ecs Entity component system to contain the camera instance. 54 virtual CORE_NS::Entity CreateCamera(CORE_NS::IEcs& ecs, const BASE_NS::Math::Vec3& position, 58 * @param ecs Entity component system to contain the camera instance. 63 CORE_NS::IEcs& ecs, CORE_NS::Entity entity, const BASE_NS::Math::UVec2& renderResolution) const = 0; 68 * @param ecs Entity component system to contain the camera instance. 75 virtual void UpdateCameraViewport(CORE_NS::IEcs& ecs, CORE_NS::Entity entity, 81 * @param ecs Entity component system to contain the camera instance. 87 virtual void CameraLookAt(CORE_NS::IEcs& ecs, CORE_N [all...] |
H A D | intf_mesh_util.h | 21 #include <core/ecs/entity.h> 36 * @param ecs ECS instance where entity will live. 43 virtual CORE_NS::Entity GenerateCubeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, 47 * @param ecs ECS instance where entity will live. 54 const CORE_NS::IEcs& ecs, BASE_NS::string_view name, CORE_NS::Entity material, float width, float depth) = 0; 57 * @param ecs ECS instance where entity will live. 64 virtual CORE_NS::Entity GenerateSphereMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, 68 * @param ecs ECS instance where entity will live. 75 virtual CORE_NS::Entity GenerateConeMesh(const CORE_NS::IEcs& ecs, BASE_NS::string_view name, 79 * @param ecs EC [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | world_matrix_component_manager.cpp | 16 #include <3d/ecs/components/world_matrix_component.h> 35 #include <3d/ecs/components/world_matrix_component.h> 40 explicit WorldMatrixComponentManager(IEcs& ecs) in WorldMatrixComponentManager() argument 41 : BaseManager<WorldMatrixComponent, IWorldMatrixComponentManager>(ecs, CORE_NS::GetName<WorldMatrixComponent>()) in WorldMatrixComponentManager() 65 IComponentManager* IWorldMatrixComponentManagerInstance(IEcs& ecs) in IWorldMatrixComponentManagerInstance() argument 67 return new WorldMatrixComponentManager(ecs); in IWorldMatrixComponentManagerInstance()
|
H A D | rsdz_model_id_component_manager.cpp | 16 #include <3d/ecs/components/rsdz_model_id_component.h> 35 #include <3d/ecs/components/rsdz_model_id_component.h> 40 explicit RSDZModelIdComponentManager(IEcs& ecs) in RSDZModelIdComponentManager() argument 41 : BaseManager<RSDZModelIdComponent, IRSDZModelIdComponentManager>(ecs, CORE_NS::GetName<RSDZModelIdComponent>()) in RSDZModelIdComponentManager() 65 IComponentManager* IRSDZModelIdComponentManagerInstance(IEcs& ecs) in IRSDZModelIdComponentManagerInstance() argument 67 return new RSDZModelIdComponentManager(ecs); in IRSDZModelIdComponentManagerInstance()
|
H A D | render_mesh_component_manager.cpp | 16 #include <3d/ecs/components/render_mesh_component.h> 35 #include <3d/ecs/components/render_mesh_component.h> 40 explicit RenderMeshComponentManager(IEcs& ecs) in RenderMeshComponentManager() argument 41 : BaseManager<RenderMeshComponent, IRenderMeshComponentManager>(ecs, CORE_NS::GetName<RenderMeshComponent>()) in RenderMeshComponentManager() 65 IComponentManager* IRenderMeshComponentManagerInstance(IEcs& ecs) in IRenderMeshComponentManagerInstance() argument 67 return new RenderMeshComponentManager(ecs); in IRenderMeshComponentManagerInstance()
|
H A D | transform_component_manager.cpp | 16 #include <3d/ecs/components/transform_component.h> 35 #include <3d/ecs/components/transform_component.h> 40 explicit TransformComponentManager(IEcs& ecs) in TransformComponentManager() argument 41 : BaseManager<TransformComponent, ITransformComponentManager>(ecs, CORE_NS::GetName<TransformComponent>()) in TransformComponentManager() 65 IComponentManager* ITransformComponentManagerInstance(IEcs& ecs) in ITransformComponentManagerInstance() argument 67 return new TransformComponentManager(ecs); in ITransformComponentManagerInstance()
|
H A D | skin_ibm_component_manager.cpp | 16 #include <3d/ecs/components/skin_ibm_component.h> 35 #include <3d/ecs/components/skin_ibm_component.h> 40 explicit SkinIbmComponentManager(IEcs& ecs) in SkinIbmComponentManager() argument 41 : BaseManager<SkinIbmComponent, ISkinIbmComponentManager>(ecs, CORE_NS::GetName<SkinIbmComponent>()) in SkinIbmComponentManager() 65 IComponentManager* ISkinIbmComponentManagerInstance(IEcs& ecs) in ISkinIbmComponentManagerInstance() argument 67 return new SkinIbmComponentManager(ecs); in ISkinIbmComponentManagerInstance()
|
H A D | skin_component_manager.cpp | 16 #include <3d/ecs/components/skin_component.h> 35 #include <3d/ecs/components/skin_component.h> 40 explicit SkinComponentManager(IEcs& ecs) in SkinComponentManager() argument 41 : BaseManager<SkinComponent, ISkinComponentManager>(ecs, CORE_NS::GetName<SkinComponent>()) in SkinComponentManager() 65 IComponentManager* ISkinComponentManagerInstance(IEcs& ecs) in ISkinComponentManagerInstance() argument 67 return new SkinComponentManager(ecs); in ISkinComponentManagerInstance()
|
H A D | animation_input_component_manager.cpp | 16 #include <3d/ecs/components/animation_input_component.h> 36 #include <3d/ecs/components/animation_input_component.h> 41 explicit AnimationInputComponentManager(IEcs& ecs) in AnimationInputComponentManager() argument 43 ecs, CORE_NS::GetName<AnimationInputComponent>()) in AnimationInputComponentManager() 67 IComponentManager* IAnimationInputComponentManagerInstance(IEcs& ecs) in IAnimationInputComponentManagerInstance() argument 69 return new AnimationInputComponentManager(ecs); in IAnimationInputComponentManagerInstance()
|
H A D | physical_camera_component_manager.cpp | 16 #include <3d/ecs/components/physical_camera_component.h> 36 #include <3d/ecs/components/physical_camera_component.h> 41 explicit PhysicalCameraComponentManager(IEcs& ecs) in PhysicalCameraComponentManager() argument 43 ecs, CORE_NS::GetName<PhysicalCameraComponent>()) in PhysicalCameraComponentManager() 67 IComponentManager* IPhysicalCameraComponentManagerInstance(IEcs& ecs) in IPhysicalCameraComponentManagerInstance() argument 69 return new PhysicalCameraComponentManager(ecs); in IPhysicalCameraComponentManagerInstance()
|
H A D | local_matrix_component_manager.cpp | 16 #include <3d/ecs/components/local_matrix_component.h> 35 #include <3d/ecs/components/local_matrix_component.h> 40 explicit LocalMatrixComponentManager(IEcs& ecs) in LocalMatrixComponentManager() argument 41 : BaseManager<LocalMatrixComponent, ILocalMatrixComponentManager>(ecs, CORE_NS::GetName<LocalMatrixComponent>()) in LocalMatrixComponentManager() 65 IComponentManager* ILocalMatrixComponentManagerInstance(IEcs& ecs) in ILocalMatrixComponentManagerInstance() argument 67 return new LocalMatrixComponentManager(ecs); in ILocalMatrixComponentManagerInstance()
|
H A D | name_component_manager.cpp | 16 #include <3d/ecs/components/name_component.h> 35 #include <3d/ecs/components/name_component.h> 40 explicit NameComponentManager(IEcs& ecs) in NameComponentManager() argument 41 : BaseManager<NameComponent, INameComponentManager>(ecs, CORE_NS::GetName<NameComponent>()) in NameComponentManager() 61 IComponentManager* INameComponentManagerInstance(IEcs& ecs) in INameComponentManagerInstance() argument 63 return new NameComponentManager(ecs); in INameComponentManagerInstance()
|
H A D | joint_matrices_component_manager.cpp | 16 #include <3d/ecs/components/joint_matrices_component.h> 35 #include <3d/ecs/components/joint_matrices_component.h> 40 explicit JointMatricesComponentManager(IEcs& ecs) in JointMatricesComponentManager() argument 42 ecs, CORE_NS::GetName<JointMatricesComponent>()) in JointMatricesComponentManager() 66 IComponentManager* IJointMatricesComponentManagerInstance(IEcs& ecs) in IJointMatricesComponentManagerInstance() argument 68 return new JointMatricesComponentManager(ecs); in IJointMatricesComponentManagerInstance()
|
H A D | layer_component_manager.cpp | 16 #include <3d/ecs/components/layer_component.h> 20 #include "ecs/components/layer_flag_bits_metadata.h" 35 #include <3d/ecs/components/layer_component.h> 40 explicit LayerComponentManager(IEcs& ecs) in LayerComponentManager() argument 41 : BaseManager<LayerComponent, ILayerComponentManager>(ecs, CORE_NS::GetName<LayerComponent>()) in LayerComponentManager() 61 IComponentManager* ILayerComponentManagerInstance(IEcs& ecs) in ILayerComponentManagerInstance() argument 63 return new LayerComponentManager(ecs); in ILayerComponentManagerInstance()
|
H A D | fog_component_manager.cpp | 16 #include <3d/ecs/components/fog_component.h> 35 #include <3d/ecs/components/fog_component.h> 40 explicit FogComponentManager(IEcs& ecs) in FogComponentManager() argument 41 : BaseManager<FogComponent, IFogComponentManager>(ecs, CORE_NS::GetName<FogComponent>()) in FogComponentManager() 65 IComponentManager* IFogComponentManagerInstance(IEcs& ecs) in IFogComponentManagerInstance() argument 67 return new FogComponentManager(ecs); in IFogComponentManagerInstance()
|
H A D | render_mesh_batch_component_manager.cpp | 16 #include <3d/ecs/components/render_mesh_batch_component.h> 46 #include <3d/ecs/components/render_mesh_batch_component.h> 51 explicit RenderMeshBatchComponentManager(IEcs& ecs) in RenderMeshBatchComponentManager() argument 53 ecs, CORE_NS::GetName<RenderMeshBatchComponent>()) in RenderMeshBatchComponentManager() 77 IComponentManager* IRenderMeshBatchComponentManagerInstance(IEcs& ecs) in IRenderMeshBatchComponentManagerInstance() argument 79 return new RenderMeshBatchComponentManager(ecs); in IRenderMeshBatchComponentManagerInstance()
|
H A D | skin_joints_component_manager.cpp | 16 #include <3d/ecs/components/skin_joints_component.h> 36 #include <3d/ecs/components/skin_joints_component.h> 41 explicit SkinJointsComponentManager(IEcs& ecs) in SkinJointsComponentManager() argument 42 : BaseManager<SkinJointsComponent, ISkinJointsComponentManager>(ecs, CORE_NS::GetName<SkinJointsComponent>()) in SkinJointsComponentManager() 66 IComponentManager* ISkinJointsComponentManagerInstance(IEcs& ecs) in ISkinJointsComponentManagerInstance() argument 68 return new SkinJointsComponentManager(ecs); in ISkinJointsComponentManagerInstance()
|
H A D | uri_component_manager.cpp | 16 #include <3d/ecs/components/uri_component.h> 35 #include <3d/ecs/components/uri_component.h> 40 explicit UriComponentManager(IEcs& ecs) in UriComponentManager() argument 41 : BaseManager<UriComponent, IUriComponentManager>(ecs, CORE_NS::GetName<UriComponent>()) in UriComponentManager() 65 CORE_NS::IComponentManager* IUriComponentManagerInstance(IEcs& ecs) in IUriComponentManagerInstance() argument 67 return new UriComponentManager(ecs); in IUriComponentManagerInstance()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2.cpp | 19 #include <core/ecs/intf_ecs.h> 20 #include <core/ecs/intf_entity_manager.h> 74 IEcs& ecs, Entity rootEntity, GltfSceneImportFlags flags) in ImportGltfScene() 79 return ImportScene(renderContext_->GetDevice(), sceneIndex, data, gltfResourceData, ecs, rootEntity, flags); in ImportGltfScene() 84 IGLTF2Importer::Ptr Gltf2::CreateGLTF2Importer(IEcs& ecs) in CreateGLTF2Importer() argument 88 if (auto pool = ecs.GetThreadPool(); pool) { in CreateGLTF2Importer() 89 return CreateGLTF2Importer(ecs, *pool); in CreateGLTF2Importer() 91 return IGLTF2Importer::Ptr { new GLTF2::GLTF2Importer(*engine_, *renderContext_, ecs) }; in CreateGLTF2Importer() 96 IGLTF2Importer::Ptr Gltf2::CreateGLTF2Importer(IEcs& ecs, IThreadPool& pool) in CreateGLTF2Importer() argument 100 return IGLTF2Importer::Ptr { new GLTF2::GLTF2Importer(*engine_, *renderContext_, ecs, poo in CreateGLTF2Importer() 73 ImportGltfScene(size_t sceneIndex, const IGLTFData& gltfData, const GLTFResourceData& gltfResourceData, IEcs& ecs, Entity rootEntity, GltfSceneImportFlags flags) ImportGltfScene() argument 115 CreateSceneImporter(IEcs& ecs) CreateSceneImporter() argument 124 CreateSceneImporter(IEcs& ecs, IThreadPool& pool) CreateSceneImporter() argument 167 SaveGLTF(IEcs& ecs, const string_view uri) SaveGLTF() argument [all...] |