/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_material.h | 265 MATERIAL, 329 return GetMappedProperty<float>(MATERIAL, MAPPED_INPUTS_ROUGHNESS); in MetallicRoughness() 337 return GetMappedProperty<float>(MATERIAL, MAPPED_INPUTS_METALLIC); in Metallic() 345 return GetMappedProperty<float>(MATERIAL, MAPPED_INPUTS_REFLECTANCE); in MetallicReflectance() 353 return GetMappedProperty<SCENE_NS::Color>(MATERIAL, MAPPED_INPUTS_COLOR); in SpecularGlossinessColor() 361 return GetMappedProperty<float>(MATERIAL, MAPPED_INPUTS_GLOSSINESS); in SpecularGlossiness()
|
H A D | intf_asset_manager.h | 42 enum ExtensionType { NOT_SUPPORTED, COLLECTION, SCENE, ANIMATION, MATERIAL, GLTF, GLB, PNG, JPG, KTX }; enumerator
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_value_estimator.cpp | 40 if (endValue->GetFilterType() == RSFilter::MATERIAL) { in Estimate() 48 if (startValue->GetFilterType() == RSFilter::MATERIAL) { in Estimate()
|
/foundation/graphic/graphic_3d/kits/js/include/ |
H A D | SceneResourceImpl.h | 38 MATERIAL = 3, enumerator
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_filter_test.cpp | 194 rSFilter.SetFilterType(RSFilter::MATERIAL);
in HWTEST_F() 195 EXPECT_EQ(rSFilter.GetFilterType(), RSFilter::MATERIAL);
in HWTEST_F()
|
H A D | rs_material_filter_test.cpp | 243 rhs->type_ = RSDrawingFilterOriginal::FilterType::MATERIAL; in HWTEST_F() 260 rhs->type_ = RSDrawingFilterOriginal::FilterType::MATERIAL; in HWTEST_F() 416 ASSERT_EQ(rsMaterialFilter.type_, RSDrawingFilterOriginal::FilterType::MATERIAL); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_material_filter.cpp | 85 type_ = FilterType::MATERIAL;
in RSMaterialFilter() 100 type_ = FilterType::MATERIAL;
in RSMaterialFilter() 241 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::MATERIAL)) {
in Add() 256 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::MATERIAL)) {
in Sub()
|
H A D | rs_drawing_filter.cpp | 41 { RSFilter::MATERIAL, "RSMaterialFilterBlur" }, member in OHOS::Rosen::__anon9247::RSFilter 339 if (RSSystemProperties::GetHpsBlurEnabled() && GetFilterType() == RSFilter::MATERIAL && in ApplyImageEffect()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | intf_ecs_asset_manager.h | 33 enum ExtensionType { NOT_SUPPORTED, COLLECTION, SCENE, PREFAB, ANIMATION, MATERIAL, GLTF, GLB, PNG, JPG, KTX }; enumerator
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | material_component.h | 102 MATERIAL, enumerator 129 * that can be used to access a specific channel in a TextureIndex::MATERIAL texture. 140 * that can be used to access a specific channel in a TextureIndex::MATERIAL texture. 228 * MATERIAL: For Type::METALLIC_ROUGHNESS: G roughness (smooth 0.0 - 1.0 rough), B metallic (dielectric 0.0 - 1.0
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_filter.h | 58 MATERIAL, enumerator
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | SceneResourceImpl.cpp | 43 DECL_ENUM(SceneResourceType, MATERIAL); in RegisterEnums()
|
H A D | MaterialJS.cpp | 28 BaseMaterial::BaseMaterial(MaterialType lt) : SceneResourceImpl(SceneResourceImpl::MATERIAL), materialType_(lt) {} in BaseMaterial()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_manager.cpp | 54 return ExtensionType::MATERIAL; in GetExtensionType()
|
H A D | asset_loader.cpp | 278 case IAssetManager::ExtensionType::MATERIAL: { in StartLoading()
|
H A D | material_impl.cpp | 548 interface_pointer_cast<META_NS::IMetadata>(GetTextureInfo(CORE3D_NS::MaterialComponent::MATERIAL))) { in UpdateInputProperties() 745 interface_pointer_cast<META_NS::IMetadata>(GetTextureInfo(CORE3D_NS::MaterialComponent::MATERIAL))) { in BindInputProperties() 1036 const char* TextureIndexName[] = { "BASE_COLOR", "NORMAL", "MATERIAL", "EMISSIVE", "AO", "CLEARCOAT", in SynchronizeInputsFromMetadata()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_asset_manager.cpp | 105 return ExtensionType::MATERIAL; in GetExtensionType()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 994 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.z; in ExportGltfMaterialMetallicRoughness() 996 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.y; in ExportGltfMaterialMetallicRoughness() 998 GetTextureIndex(materialDesc, MaterialComponent::TextureIndex::MATERIAL, textureHelper, gpuHandleManager); in ExportGltfMaterialMetallicRoughness() 1027 if (materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w != 0.04f) { in ExportGltfMaterialIor() 1028 const auto refSqr = Math::sqrt(materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w); in ExportGltfMaterialIor() 1088 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor; in ExportGltfMaterialSpecularGlossiness() 1090 GetTextureIndex(materialDesc, MaterialComponent::TextureIndex::MATERIAL, textureHelper, gpuHandleManager); in ExportGltfMaterialSpecularGlossiness() 1092 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w; in ExportGltfMaterialSpecularGlossiness()
|
H A D | gltf2_importer.cpp | 1541 MaterialComponent::TextureIndex::MATERIAL); in FillMetallicRoughness() 1542 desc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.y = gltfMaterial.metallicRoughness.roughnessFactor; in FillMetallicRoughness() 1543 desc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.z = gltfMaterial.metallicRoughness.metallicFactor; in FillMetallicRoughness() 1557 MaterialComponent::TextureIndex::MATERIAL); in FillSpecularGlossiness() 1558 desc.textures[MaterialComponent::TextureIndex::MATERIAL].factor = { gltfMaterial.specularGlossiness.specularFactor, in FillSpecularGlossiness() 1598 desc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w = reflectance * reflectance; in FillIor()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_filter_cache_manager.cpp | 315 filter->GetFilterType() == RSFilter::MATERIAL) { in DrawCachedFilteredSnapshot()
|
H A D | rs_properties.cpp | 2887 backgroundFilter_->SetFilterType(RSFilter::MATERIAL); in GenerateBackgroundMaterialBlurFilter() 2983 filter_->SetFilterType(RSFilter::MATERIAL); in GenerateForegroundMaterialBlurFilter() 3007 backgroundFilter_->SetFilterType(RSFilter::MATERIAL); in GenerateBackgroundMaterialFuzedBlurFilter() 3031 filter_->SetFilterType(RSFilter::MATERIAL); in GenerateCompositingMaterialFuzedBlurFilter()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 1275 desc.textures[CORE3D_NS::MaterialComponent::TextureIndex::MATERIAL] in LoadCustGeometry() 1277 desc.textures[CORE3D_NS::MaterialComponent::TextureIndex::MATERIAL] in LoadCustGeometry()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 1320 case RSFilter::MATERIAL: { in Marshalling() 1352 case RSFilter::MATERIAL: { in Unmarshalling()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | material_component_manager.cpp | 364 DECL_NAMED_PROPERTY2(material, textures[MaterialComponent::TextureIndex::MATERIAL], "Material", 0)
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_material_render_slot.cpp | 88 defaultMat.resources[MaterialComponent::TextureIndex::MATERIAL].handle = in GetDefaultMaterialGpuResources()
|