|
Blender V5.3
|
#include <memory>#include <optional>#include "DNA_ID.h"#include "DNA_ID_enums.h"#include "BLI_compiler_attrs.hh"#include "BLI_function_ref.hh"#include "BLI_span.hh"#include "BLI_string_ref.hh"#include "BLI_sys_types.hh"#include "BLI_vector_set.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::io |
| namespace | blender::io::serialize |
| namespace | blender::bke |
| namespace | blender::bke::idprop |
Macros | |
| #define | IDP_int_get(prop) |
| #define | IDP_int_set(prop, value) |
| #define | IDP_bool_get(prop) |
| #define | IDP_bool_set(prop, value) |
| #define | IDP_int_or_bool_get(prop) |
| #define | IDP_int_or_bool_set(prop, value) |
| #define | IDP_float_get(prop) |
| #define | IDP_float_set(prop, value) |
| #define | IDP_double_get(prop) |
| #define | IDP_double_set(prop, value) |
| #define | IDP_array_voidp_get(prop) |
| #define | IDP_array_int_get(prop) |
| #define | IDP_array_bool_get(prop) |
| #define | IDP_array_float_get(prop) |
| #define | IDP_array_double_get(prop) |
| #define | IDP_property_array_get(prop) |
| #define | IDP_string_get(prop) |
| #define | IDP_ID_get(prop) |
| #define | IDP_BlendDataRead(reader, prop) |
Typedefs | |
| using | blender::IDPWalkFunc = void (*)(void *user_data, IDProperty *idp) |
Enumerations | |
| enum | blender::eIDPropertyUIDataType { blender::IDP_UI_DATA_TYPE_UNSUPPORTED = -1 , blender::IDP_UI_DATA_TYPE_INT = 0 , blender::IDP_UI_DATA_TYPE_FLOAT = 1 , blender::IDP_UI_DATA_TYPE_STRING = 2 , blender::IDP_UI_DATA_TYPE_ID = 3 , blender::IDP_UI_DATA_TYPE_BOOLEAN = 4 } |
| #define IDP_array_bool_get | ( | prop | ) |
Definition at line 366 of file BKE_idprop.hh.
Referenced by blender::BPy_IDArray_GetItem(), blender::BPy_IDArray_SetItem(), blender::BPy_IDArray_slice(), blender::BPy_IDGroup_MapDataToPy(), blender::idp_from_PySequence_Fast(), blender::property_boolean_get_array(), blender::RNA_property_boolean_set_array(), blender::update_idprop_bool(), blender::update_idprop_float(), and blender::update_idprop_int().
| #define IDP_array_double_get | ( | prop | ) |
Definition at line 370 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::BPy_IDArray_GetItem(), blender::BPy_IDArray_SetItem(), blender::BPy_IDArray_slice(), blender::BPy_IDGroup_MapDataToPy(), blender::idp_from_PySequence_Fast(), blender::bke::idprop::IDPArraySerializer::idprop_to_dictionary(), blender::property_float_get_array(), blender::RNA_property_float_set_array(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), blender::update_idprop_float(), blender::update_idprop_int(), and blender::version_idproperty_move_data_float().
| #define IDP_array_float_get | ( | prop | ) |
Definition at line 368 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::BPy_IDArray_GetItem(), blender::BPy_IDArray_SetItem(), blender::BPy_IDArray_slice(), blender::BPy_IDGroup_MapDataToPy(), blender::IDP_group_lookup_float_array(), blender::bke::idprop::IDPArraySerializer::idprop_to_dictionary(), blender::proj_paint_state_viewport_init(), blender::property_float_get_array(), blender::RNA_property_float_set_array(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), blender::update_idprop_float(), blender::update_idprop_int(), blender::version_idproperty_move_data_float(), and blender::view3d_ob_drop_on_enter().
| #define IDP_array_int_get | ( | prop | ) |
Definition at line 364 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::BPy_IDArray_GetItem(), blender::BPy_IDArray_SetItem(), blender::BPy_IDArray_slice(), blender::BPy_IDGroup_MapDataToPy(), blender::idp_from_PySequence_Fast(), blender::bke::idprop::IDPArraySerializer::idprop_to_dictionary(), blender::property_boolean_get_array(), blender::property_int_get_array(), blender::RNA_property_boolean_set_array(), blender::RNA_property_int_set_array(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), blender::update_idprop_float(), blender::update_idprop_int(), and blender::version_idproperty_move_data_int().
| #define IDP_array_voidp_get | ( | prop | ) |
Use when the type of the array is not known.
Avoid using this where possible.
Definition at line 362 of file BKE_idprop.hh.
Referenced by blender::bke::idprop::array_values_set(), blender::BPy_IDArray_ass_slice(), blender::BPy_IDArray_getbuffer(), blender::IDP_EqualsProperties_ex(), blender::idp_from_PySequence_Buffer(), blender::idp_from_PySequence_Fast(), and blender::bke::idprop::IDPArraySerializer::idprop_to_dictionary().
| #define IDP_BlendDataRead | ( | reader, | |
| prop ) |
Definition at line 430 of file BKE_idprop.hh.
Referenced by blender::BKE_asset_metadata_read(), blender::BKE_collection_blend_read_data(), blender::BKE_modifier_blend_read_data(), blender::BKE_pose_blend_read_data(), blender::BKE_screen_view3d_shading_blend_read_data(), blender::BKE_time_markers_blend_read(), blender::BKE_view_layer_blend_read_data(), blender::blend_read(), blender::direct_link_bone_collection(), blender::direct_link_bones(), blender::direct_link_id_common(), blender::direct_link_keymapitem(), blender::bke::direct_link_node_socket(), blender::direct_link_region(), blender::bke::node_interface::item_types::item_read_data(), blender::seq::modifier_blend_read_data(), blender::bke::node_tree_blend_read_data(), blender::bke::compositor::read_effects(), blender::read_userdef(), blender::scene_blend_read_data(), blender::seq::strip_read_data_cb(), and blender::workspace_blend_read_data().
| #define IDP_bool_get | ( | prop | ) |
Definition at line 320 of file BKE_idprop.hh.
Referenced by blender::ed::geometry::create_panels_srna(), blender::asset_system::DiskFileHashService::file_matches(), blender::io::hydra::BlenderCameraIDPropertiesDataSource::Get(), blender::IDP_coerce_to_double_or_zero(), blender::IDP_coerce_to_float_or_zero(), blender::IDP_coerce_to_int_or_zero(), blender::IDP_EqualsProperties_ex(), blender::IDP_group_lookup_bool(), blender::idp_repr_fn_recursive(), blender::idprop_py_from_idp_bool(), blender::bke::idprop::IDPBoolSerializer::idprop_to_dictionary(), blender::property_boolean_get(), blender::update_idprop_float(), blender::update_idprop_int(), and blender::version_geometry_nodes_properties().
| #define IDP_bool_set | ( | prop, | |
| value ) |
Definition at line 321 of file BKE_idprop.hh.
Referenced by blender::idp_from_PyBool(), blender::RNA_property_boolean_set(), blender::RNA_property_boolean_set_array(), and blender::update_idprop_bool().
| #define IDP_double_get | ( | prop | ) |
Definition at line 348 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::io::hydra::BlenderCameraIDPropertiesDataSource::Get(), blender::bke::idprop::hash(), blender::IDP_coerce_to_double_or_zero(), blender::IDP_coerce_to_float_or_zero(), blender::IDP_coerce_to_int_or_zero(), blender::IDP_EqualsProperties_ex(), blender::idp_repr_fn_recursive(), blender::idprop_py_from_idp_double(), blender::bke::idprop::IDPDoubleSerializer::idprop_to_dictionary(), blender::property_float_get(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), and blender::update_idprop_int().
| #define IDP_double_set | ( | prop, | |
| value ) |
Definition at line 349 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::idp_from_PyFloat(), blender::idp_from_PyLong(), blender::RNA_property_float_set(), and blender::RNA_property_float_set_array().
| #define IDP_float_get | ( | prop | ) |
Definition at line 339 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::io::hydra::BlenderCameraIDPropertiesDataSource::Get(), blender::IDP_coerce_to_double_or_zero(), blender::IDP_coerce_to_float_or_zero(), blender::IDP_coerce_to_int_or_zero(), blender::IDP_EqualsProperties_ex(), blender::IDP_group_lookup_float(), blender::idp_repr_fn_recursive(), blender::idprop_py_from_idp_float(), blender::bke::idprop::IDPFloatSerializer::idprop_to_dictionary(), blender::property_float_get(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), blender::update_idprop_int(), blender::bke::ProjectVariable::value_float_get(), and blender::version_cycles_property_float().
| #define IDP_float_set | ( | prop, | |
| value ) |
Definition at line 340 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::camera_write_cycles_compatibility_data_create(), blender::idp_from_PyFloat(), blender::idp_from_PyLong(), blender::RNA_property_float_set(), blender::RNA_property_float_set_array(), blender::update_idprop_float(), and blender::bke::ProjectVariable::value_set().
| #define IDP_ID_get | ( | prop | ) |
Definition at line 377 of file BKE_idprop.hh.
Referenced by blender::IDP_AssignID(), blender::IDP_CopyID(), blender::IDP_EqualsProperties_ex(), blender::idp_free_property_content_recurse(), blender::IDP_New(), blender::idprop_ui_data_to_dict_id(), blender::property_pointer_get(), and blender::bke::tests::TEST_F().
| #define IDP_int_get | ( | prop | ) |
Definition at line 311 of file BKE_idprop.hh.
Referenced by blender::blend_id_property(), blender::build_catalog_tree(), blender::ed::object::build_catalog_tree(), blender::ed::space_node::build_catalog_tree(), blender::ed::vse::build_catalog_tree(), blender::forward_compat::create_legacy_geometry_nodes_properties(), blender::ed::geometry::OperatorTypeData::from_asset(), blender::io::hydra::BlenderCameraIDPropertiesDataSource::Get(), blender::ed::geometry::get_node_tools_type_data(), blender::IDP_coerce_to_double_or_zero(), blender::IDP_coerce_to_float_or_zero(), blender::IDP_coerce_to_int_or_zero(), blender::IDP_EnumItemFind(), blender::IDP_EqualsProperties_ex(), blender::IDP_group_lookup_int(), blender::idp_repr_fn_recursive(), blender::idprop_py_from_idp_int(), blender::bke::idprop::IDPIntSerializer::idprop_to_dictionary(), blender::keymap_update_brushes_handle_add_item(), blender::keymap_update_brushes_handle_remove_item(), blender::ed::space_node::node_group_drop_poll(), blender::property_enum_get(), blender::property_int_get(), blender::ed::space_node::search_link_ops_for_asset_metadata(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::idprop::tests::test_idprop(), blender::update_idprop_bool(), blender::update_idprop_float(), blender::bke::ProjectVariable::value_int_get(), blender::version_cycles_property_int(), blender::version_geometry_nodes_properties(), blender::version_layer_selection_modifier_inputs(), and blender::view3d_geometry_nodes_drop_poll().
| #define IDP_int_or_bool_get | ( | prop | ) |
Definition at line 329 of file BKE_idprop.hh.
Referenced by blender::property_boolean_get().
| #define IDP_int_or_bool_set | ( | prop, | |
| value ) |
Definition at line 331 of file BKE_idprop.hh.
Referenced by blender::RNA_property_boolean_set().
| #define IDP_int_set | ( | prop, | |
| value ) |
Definition at line 312 of file BKE_idprop.hh.
Referenced by blender::BKE_keyconfig_pref_set_select_mouse(), blender::blend_id_property(), blender::camera_write_cycles_compatibility_data_create(), blender::idp_blend_write_recurse(), blender::IDP_DirectLinkProperty(), blender::idp_from_PyBool(), blender::idp_from_PyLong(), blender::IDP_WriteIDPArray(), blender::RNA_property_boolean_set_array(), blender::RNA_property_enum_set(), blender::RNA_property_int_set(), blender::RNA_property_int_set_array(), blender::update_idprop_int(), blender::bke::ProjectVariable::value_set(), blender::version_cycles_property_int_set(), and blender::version_layer_selection_modifier_inputs().
| #define IDP_property_array_get | ( | prop | ) |
Definition at line 372 of file BKE_idprop.hh.
Referenced by blender::BPy_IDGroup_MapDataToPy(), blender::IDP_EqualsProperties_ex(), blender::idp_foreach_property_recurse(), blender::idprop_py_from_idp_idparray(), blender::rna_idp_path(), blender::RNA_property_collection_begin(), blender::RNA_property_collection_clear(), blender::RNA_property_collection_move(), and blender::RNA_property_collection_remove().
| #define IDP_string_get | ( | prop | ) |
Definition at line 375 of file BKE_idprop.hh.
Referenced by blender::io::otio::add_foreign_metadata(), blender::ed::geometry::custom_idname_for_asset(), blender::asset_system::DiskFileHashService::get_hash(), blender::IDP_AssignStringMaxSize(), blender::IDP_EqualsProperties_ex(), blender::IDP_group_lookup_string(), blender::IDP_New(), blender::IDP_NewStringMaxSize(), blender::idp_repr_fn_recursive(), blender::bke::tests::idp_string_is_valid_utf8(), blender::idprop_py_from_idp_string(), blender::bke::idprop::IDPStringSerializer::idprop_to_dictionary(), blender::imbuf::imb_create_write_spec(), blender::IMB_metadata_foreach(), blender::IMB_metadata_get_field(), blender::keymap_update_brushes_handle_add_item(), blender::openexr_header_metadata_global(), blender::property_string_get(), blender::property_string_length_storage(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::idprop::tests::test_idprop(), blender::bke::ProjectVariable::value_string_get(), blender::version_bonelayers_to_bonecollections(), blender::version_geometry_nodes_properties(), blender::version_idproperty_move_data_string(), blender::version_idproperty_ui_data(), blender::version_mesh_crease_generic(), and blender::write_jpeg().