Blender  V3.3
Functions
blender::bke::attribute_accessor_functions Namespace Reference

Functions

template<const ComponentAttributeProviders & providers>
bool is_builtin (const void *UNUSED(owner), const AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
GAttributeReader lookup (const void *owner, const AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
bool for_all (const void *owner, FunctionRef< bool(const AttributeIDRef &, const AttributeMetaData &)> fn)
 
template<const ComponentAttributeProviders & providers>
bool contains (const void *owner, const blender::bke::AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
std::optional< AttributeMetaDatalookup_meta_data (const void *owner, const AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
GAttributeWriter lookup_for_write (void *owner, const AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
bool remove (void *owner, const AttributeIDRef &attribute_id)
 
template<const ComponentAttributeProviders & providers>
bool add (void *owner, const AttributeIDRef &attribute_id, eAttrDomain domain, eCustomDataType data_type, const AttributeInit &initializer)
 
template<const ComponentAttributeProviders & providers>
AttributeAccessorFunctions accessor_functions_for_providers ()
 

Function Documentation

◆ accessor_functions_for_providers()

template<const ComponentAttributeProviders & providers>
AttributeAccessorFunctions blender::bke::attribute_accessor_functions::accessor_functions_for_providers ( )
inline

Definition at line 480 of file attribute_access_intern.hh.

◆ add()

template<const ComponentAttributeProviders & providers>
bool blender::bke::attribute_accessor_functions::add ( void owner,
const AttributeIDRef attribute_id,
eAttrDomain  domain,
eCustomDataType  data_type,
const AttributeInit initializer 
)
inline

◆ contains()

template<const ComponentAttributeProviders & providers>
bool blender::bke::attribute_accessor_functions::contains ( const void owner,
const blender::bke::AttributeIDRef attribute_id 
)
inline

◆ for_all()

template<const ComponentAttributeProviders & providers>
bool blender::bke::attribute_accessor_functions::for_all ( const void owner,
FunctionRef< bool(const AttributeIDRef &, const AttributeMetaData &)>  fn 
)
inline

◆ is_builtin()

template<const ComponentAttributeProviders & providers>
bool blender::bke::attribute_accessor_functions::is_builtin ( const void UNUSEDowner,
const AttributeIDRef attribute_id 
)
inline

◆ lookup()

template<const ComponentAttributeProviders & providers>
GAttributeReader blender::bke::attribute_accessor_functions::lookup ( const void owner,
const AttributeIDRef attribute_id 
)
inline

Definition at line 331 of file attribute_access_intern.hh.

References attribute, blender::bke::AttributeIDRef::is_named(), and blender::bke::AttributeIDRef::name().

Referenced by iTaSC::CacheChannel::_findBlock(), blender::ed::asset::index::AssetEntryReader::add_properties_to_meta_data(), blender::ed::asset::index::AssetEntryReader::add_tags_to_meta_data(), blender::bke::idprop::tests::check_object_attribute(), blender::ed::asset::index::AssetEntryReader::get_author(), blender::ed::asset::index::AssetEntryReader::get_catalog_id(), blender::ed::asset::index::AssetEntryReader::get_catalog_name(), blender::ed::asset::index::AssetEntryReader::get_description(), blender::ed::asset::index::AssetEntryReader::has_author(), blender::ed::asset::index::AssetEntryReader::has_description(), imb_exr_multilayer_parse_channels_from_file(), blender::nodes::node_geo_curve_trim_cc::lookup_control_point_position(), ntreeHasTree(), phash_insert(), seq_sequence_lookup_append_effect(), seq_sequence_lookup_build(), seq_sequence_lookup_build_effect(), seq_sequence_lookup_build_from_seqbase(), seq_sequence_lookup_effects_by_seq(), SEQ_sequence_lookup_free(), seq_sequence_lookup_free(), seq_sequence_lookup_init(), seq_sequence_lookup_is_valid(), seq_sequence_lookup_meta_by_seq(), seq_sequence_lookup_new(), seq_sequence_lookup_rebuild(), SEQ_sequence_lookup_seq_by_name(), SEQ_sequence_lookup_tag(), seq_sequence_lookup_update_if_needed(), blender::bke::idprop::tests::test_array_to_value(), blender::bke::idprop::tests::test_double_to_value(), blender::bke::idprop::tests::test_float_to_value(), blender::bke::idprop::tests::test_int_to_value(), blender::bke::idprop::tests::test_string_to_value(), blender::nodes::node_geo_curve_trim_cc::to_single_point_bezier(), blender::nodes::node_geo_curve_trim_cc::to_single_point_nurbs(), blender::nodes::node_geo_curve_trim_cc::to_single_point_poly(), and blender::nodes::node_geo_curve_trim_cc::to_single_point_spline().

◆ lookup_for_write()

template<const ComponentAttributeProviders & providers>
GAttributeWriter blender::bke::attribute_accessor_functions::lookup_for_write ( void owner,
const AttributeIDRef attribute_id 
)
inline

◆ lookup_meta_data()

template<const ComponentAttributeProviders & providers>
std::optional<AttributeMetaData> blender::bke::attribute_accessor_functions::lookup_meta_data ( const void owner,
const AttributeIDRef attribute_id 
)
inline

Definition at line 396 of file attribute_access_intern.hh.

◆ remove()

template<const ComponentAttributeProviders & providers>
bool blender::bke::attribute_accessor_functions::remove ( void owner,
const AttributeIDRef attribute_id 
)
inline