/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_indirect_lighting_common.h | 46 vec3 unpackIblIrradianceSH(vec3 n, vec4 sh[CORE_DEFAULT_MATERIAL_MAX_SH_VEC3_VALUE_COUNT]) in unpackIblIrradianceSH() argument 49 return max(vec3(0.0), sh[0].xyz in unpackIblIrradianceSH() 51 + sh[1].xyz * n.y + sh[2].xyz * n.z + sh[3].xyz * n.x in unpackIblIrradianceSH() 53 + sh[4].xyz * (n.x * n.y) + sh[5].xyz * (n.z * n.y) + in unpackIblIrradianceSH() 54 sh[6].xyz * ((3.0 * n.z * n.z) - 1.0) + sh[7].xyz * (n.x * n.z) + in unpackIblIrradianceSH() 55 sh[ in unpackIblIrradianceSH() [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | graphicsstate_impl.cpp | 56 if (auto sh = SceneHolder()) { 57 sh->QueueApplicationTask(META_NS::MakeCallback<META_NS::ITaskQueueTask>( 58 [st = state, sh = sh_, material = BASE_NS::weak_ptr(mat), type = ix_]() { 59 if (auto sceneHolder = sh.lock()) { 75 if (auto sh = SceneHolder()) { 76 sh->QueueApplicationTask( 77 META_NS::MakeCallback<META_NS::ITaskQueueTask>([sh = sh_, material = BASE_NS::weak_ptr(mat), type = ix_, 79 if (auto sceneHolder = sh.lock()) { 98 void SetSceneHolder(const SceneHolder::WeakPtr& sh) override 100 sh_ = sh; [all...] |
H A D | camera_impl.cpp | 158 auto sh = SceneHolder(); 159 auto ecs = sh->GetEcs(); 162 entity = sh->CreatePostProcess(); 166 interface_cast<IPostProcessPrivate>(postProcessBridge)->SetEntity(entity, sh, false); 172 auto sh = SceneHolder(); 173 auto ecs = sh->GetEcs(); 179 ppo->SetEntity(entity, sh, true); 257 if (auto sh = SceneHolder()) { 258 sh->QueueEngineTask(MakeTask( 260 target = GetSelf<SCENE_NS::IEcsObject>()->GetEntity()](auto sh) { [all...] |
H A D | render_configuration_impl.cpp | 45 void Connect(SceneHolder::Ptr sh) override 52 sh_ = sh; 55 proxyIf->SetCommonListener(sh->GetCommonEcsListener()); 58 auto ecs = sh->GetEcs(); 60 auto renderConfiguration = sh->CreateRenderConfiguration(); 64 propHandler_.SetSceneHolder(sh);
|
H A D | multimesh_impl.cpp | 43 if (auto sh = sceneHolder_.lock()) { 44 sh->QueueEngineTask(MakeTask( 81 if (auto sh = sceneHolder) { 82 sh->QueueEngineTask(MakeTask( 101 if (auto sh = self->sceneHolder_.lock()) { 102 sh->QueueEngineTask(MakeTask([weak]() { 127 if (auto sh = self->sceneHolder_.lock()) { 128 sh->QueueEngineTask( 166 if (auto sh = self->sceneHolder_.lock()) { 167 sh [all...] |
H A D | postprocess_effect_impl.cpp | 119 void Bind(SCENE_NS::IEcsObject::Ptr ecsObject, SceneHolder::Ptr sh, bool preferEcsValues) override 124 propHandler_.SetSceneHolder(sh); 138 DirtMaskImage()->OnChanged()->AddHandler(META_NS::MakeCallback<META_NS::IOnChanged>([sh, this]() { 139 sh->QueueEngineTask( 141 [target = ecsObject_->GetEntity(), image = META_NS::GetValue(DirtMaskImage())](auto sh) { 142 CORE_NS::Entity imageEntity = sh->BindUIBitmap(image, true); 143 sh->SetRenderHandle(target, imageEntity); 146 sh), 151 renderHandle->OnChanged()->AddHandler(META_NS::MakeCallback<META_NS::IOnChanged>([sh, this]() { 158 if (sh [all...] |
H A D | postprocess_impl.cpp | 156 void SetEntity(CORE_NS::Entity entity, SceneHolder::Ptr sh, bool preferEcsValues) override 163 sh_ = sh; 166 proxyIf->SetCommonListener(sh->GetCommonEcsListener()); 169 auto ecs = sh->GetEcs(); 173 tonemap->Bind(ecsObject_, sh, preferEcsValues); 176 bloom->Bind(ecsObject_, sh, preferEcsValues); 179 vignette->Bind(ecsObject_, sh, preferEcsValues); 182 colorFringe->Bind(ecsObject_, sh, preferEcsValues); 185 dither->Bind(ecsObject_, sh, preferEcsValues); 188 fxaa->Bind(ecsObject_, sh, preferEcsValue [all...] |
H A D | textureinfo_impl.cpp | 73 auto sh = params->GetPropertyByName<uintptr_t>("sceneHolder")->GetValue(); variable 74 holder_.SetSceneHolder(*((SceneHolder::Ptr*)sh)); 108 auto sh = holder_.GetSceneHolder(); in ArrayChanged() local 109 auto bitmap = ImageConverter::ToUi(*sh, curVal.image); in ArrayChanged() 128 auto sh = holder_.GetSceneHolder(); in ImageChanged() local 129 curVal.image = ImageConverter::ToEcs(*sh, Image()->GetValue()); in ImageChanged()
|
H A D | intf_postprocess_private.h | 28 virtual void SetEntity(CORE_NS::Entity entity, SceneHolder::Ptr sh, bool preferEcsValues) = 0; 36 virtual void Bind(SCENE_NS::IEcsObject::Ptr, SceneHolder::Ptr sh, bool preferEcsValues) = 0;
|
H A D | shader_impl.cpp | 72 void SetSceneHolder(const SceneHolder::WeakPtr& sh) override 74 sh_ = sh;
|
H A D | node_impl.cpp | 153 auto sh = weak_sh.lock(); in Activate() 154 if (sh) { in Activate() 155 sh->SetEntityActive(e, true); in Activate() 156 sh->ReparentEntity(e, path, index); in Activate() 173 auto sh = weak_sh.lock(); in Deactivate() 174 if (sh) { in Deactivate() 175 sh->SetEntityActive(e, false); in Deactivate() 1219 auto sh = SceneHolder(); in ReleaseEntityOwnership() local 1220 if (sh) { in ReleaseEntityOwnership() 1227 if (sh) { in ReleaseEntityOwnership() [all...] |
H A D | mesh_impl.cpp | 389 if (auto sh = SceneHolder()) { in UpdateMeshFromArrays() 395 sh->QueueEngineTask(MakeTask( in UpdateMeshFromArrays() 398 if (auto sh = privateIntf->SceneHolder()) { in UpdateMeshFromArrays() 400 auto newEntity = sh->template CreateMeshFromArrays<INDEX_TYPE>( in UpdateMeshFromArrays() 402 sh->QueueApplicationTask( in UpdateMeshFromArrays() 447 if (auto sh = SceneHolder()) { 448 sh->QueueEngineTask(MakeTask(
|
H A D | intf_resource_private.h | 28 virtual void Connect(SceneHolder::Ptr sh) = 0;
|
H A D | material_impl.cpp | 141 auto sh = w.lock(); 142 if (sh) { 143 sh->SetEntityActive(e, true); 159 auto sh = w.lock(); 160 if (sh) { 161 sh->SetEntityActive(e, false); 245 [uri, entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in ApplyTextureInfoImage() 247 auto image = sh->LoadImage(uri); in ApplyTextureInfoImage() 248 sh->SetTexture(arrayIndex, target, image); in ApplyTextureInfoImage() 258 [entity = EcsObject()->GetEntity(), arrayIndex](auto sh) { in ApplyTextureInfoImage() [all...] |
H A D | intf_node_private.h | 78 virtual void SetSceneHolder(const SceneHolder::WeakPtr& sh) = 0;
|
H A D | scene_impl.cpp | 1529 if (auto sh = weakSh.lock()) { 1531 if (sh->GetWorldAABB(ret, w, min, max)) { 1532 sh->QueueApplicationTask(META_NS::MakeCallback<META_NS::ITaskQueueTask>([weakRet]() { 1563 if (auto sh = weakSh.lock()) { 1565 if (sh->RayCast(ret, origin, dir)) { 1566 sh->QueueApplicationTask(META_NS::MakeCallback<META_NS::ITaskQueueTask>([weakRet, 1606 if (auto sh = weakSh.lock()) { 1608 if (sh->RayCast(ret, origin, dir, layerMask)) { 1609 sh->QueueApplicationTask(META_NS::MakeCallback<META_NS::ITaskQueueTask>([weakRet,
|
/foundation/arkui/napi/jsvm/ |
H A D | build_jsvm.sh | 25 source ${SCRIPT_PATCH}/build_jsvm_inter.sh
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 141 const GLint sh = static_cast<const GLint>(src.rect1.height); in DoBlit() local 143 sy = sfh - (sy + sh); in DoBlit()
|