Home
last modified time | relevance | path

Searched refs:customProperties (Results 1 - 13 of 13) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dproperty_util.cpp393 CustomPropertyPodContainer& customProperties, const size_t offset) in SetCustomPropertyBlobValue()
398 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
402 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
406 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
410 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
414 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
418 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
422 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec2) }); in SetCustomPropertyBlobValue()
426 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec2) }); in SetCustomPropertyBlobValue()
430 customProperties in SetCustomPropertyBlobValue()
392 SetCustomPropertyBlobValue(const PropertyTypeDecl& propertyType, const json::value* value, CustomPropertyPodContainer& customProperties, const size_t offset) SetCustomPropertyBlobValue() argument
[all...]
H A Dproperty_util.h121 const CORE_NS::json::value* value, CustomPropertyPodContainer& customProperties, const size_t offset);
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dproperty_util.cpp390 CustomPropertyPodContainer& customProperties, const size_t offset) in SetCustomPropertyBlobValue()
395 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
399 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
403 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec4) }); in SetCustomPropertyBlobValue()
407 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
411 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
415 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec3) }); in SetCustomPropertyBlobValue()
419 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec2) }); in SetCustomPropertyBlobValue()
423 customProperties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Vec2) }); in SetCustomPropertyBlobValue()
427 customProperties in SetCustomPropertyBlobValue()
389 SetCustomPropertyBlobValue(const PropertyTypeDecl& propertyType, const json::value* value, CustomPropertyPodContainer& customProperties, const size_t offset) SetCustomPropertyBlobValue() argument
[all...]
H A Dproperty_util.h121 const CORE_NS::json::value* value, CustomPropertyPodContainer& customProperties, const size_t offset);
/foundation/graphic/graphic_3d/kits/js/src/
H A DShaderJS.cpp279 META_NS::IMetadata::Ptr customProperties; in BindToMaterial() local
282 ExecSyncTask([mat, &customProperties, &Textures]() { in BindToMaterial()
284 customProperties = interface_pointer_cast<META_NS::IMetadata>(mat->CustomProperties()->GetValue()); in BindToMaterial()
313 if (customProperties) { in BindToMaterial()
314 for (auto t : customProperties->GetAllProperties()) { in BindToMaterial()
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp40 constexpr string_view CUSTOM_PROPERTIES = "customProperties";
49 void UpdateCustomPropertyMetadata(const json::value& customProperties, ShaderPipelineBinder::CustomPropertyData& cpd) in UpdateCustomPropertyMetadata() argument
51 if (customProperties && customProperties.is_array() && cpd.properties) { in UpdateCustomPropertyMetadata()
53 for (const auto& ref : customProperties.array_) { in UpdateCustomPropertyMetadata()
105 void UpdateBindingPropertyMetadata(const json::value& customProperties, CustomPropertyBindingContainer& properties, in UpdateBindingPropertyMetadata() argument
108 if (customProperties && customProperties.is_array()) { in UpdateBindingPropertyMetadata()
109 for (const auto& ref : customProperties.array_) { in UpdateBindingPropertyMetadata()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Dpost_process_configuration_component.h56 CORE_NS::IPropertyHandle* customProperties { nullptr };
H A Dmaterial_component.h287 DEFINE_PROPERTY(CORE_NS::IPropertyHandle*, customProperties, "Custom Properties", 0, VALUE(nullptr))
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dpost_process_configuration_component_manager.cpp55 DECL_PROPERTY2(PostProcessConfigurationComponent::PostProcessEffect, customProperties, "Custom Properties", 0)
70 constexpr string_view CUSTOM_PROPERTIES = "customProperties";
75 void UpdateCustomPropertyMetadata(const json::value& customProperties, CustomPropertyPodContainer& properties) in UpdateCustomPropertyMetadata() argument
77 if (customProperties && customProperties.is_array()) { in UpdateCustomPropertyMetadata()
78 for (const auto& ref : customProperties.array_) { in UpdateCustomPropertyMetadata()
831 data_.postProcesses[idx].customProperties = customProperties_[idx].get(); in UpdateMetadata()
H A Dmaterial_component_manager.cpp250 void UpdateCustomPropertyMetadata(const CORE_NS::json::value& customProperties, CustomPropertyPodContainer& properties) in UpdateCustomPropertyMetadata() argument
252 for (const CORE_NS::json::value& propertyValue : customProperties.array_) { in UpdateCustomPropertyMetadata()
818 // NOTE: customProperties are valid when updating itself in Set()
1037 data_.customProperties = nullptr; in operator =()
1108 if (auto* propJson = material->find("customProperties"); propJson && propJson->is_array()) { in operator =()
1125 data_.customProperties = custom_.get(); in operator =()
1173 if (auto* propJson = material->find("customProperties"); propJson && propJson->is_array()) { in UpdateMetadata()
1194 data_.customProperties = nullptr; in UpdateMetadata()
1204 data_.customProperties = custom_.get(); in UpdateMetadata()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_material.h459 if (auto customProperties = CustomProperties()) { in GetCustomProperty()
460 if (auto meta = interface_pointer_cast<META_NS::IMetadata>(customProperties->GetValue())) { in GetCustomProperty()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp696 if (pp.customProperties) { in FillPostProcessConfigurationVars()
698 array_view(static_cast<const uint8_t*>(pp.customProperties->RLock()), pp.customProperties->Size()); in FillPostProcessConfigurationVars()
701 pp.customProperties->RUnlock(); in FillPostProcessConfigurationVars()
859 if (materialComp.customProperties) { in AddSingleMaterial()
860 const auto buffer = static_cast<const uint8_t*>(materialComp.customProperties->RLock()); in AddSingleMaterial()
863 customData = array_view(buffer, materialComp.customProperties->Size()); in AddSingleMaterial()
864 materialComp.customProperties->RUnlock(); in AddSingleMaterial()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js4876 const customProperties = __elementIdToCustomProperties__.get(nodeId);
4878 if (customProperties) {
4879 customProperties.set(key, value);
4885 const customProperties = __elementIdToCustomProperties__.get(nodeId);
4887 if (customProperties) {
4888 customProperties.delete(key);
4889 return customProperties.size > 0;
4902 const customProperties = __elementIdToCustomProperties__.get(nodeId);
4904 if (customProperties) {
4905 return customProperties
[all...]

Completed in 20 milliseconds