|
Blender V4.3
|
#include <BKE_attribute.h>
Public Member Functions | |
| AttributeOwner () | |
| AttributeOwner (AttributeOwnerType type, void *ptr) | |
| AttributeOwnerType | type () const |
| bool | is_valid () const |
| Mesh * | get_mesh () const |
| PointCloud * | get_pointcloud () const |
| Curves * | get_curves () const |
| GreasePencil * | get_grease_pencil () const |
| GreasePencilDrawing * | get_grease_pencil_drawing () const |
Static Public Member Functions | |
| static AttributeOwner | from_id (ID *id) |
Definition at line 52 of file BKE_attribute.h.
|
inline |
Definition at line 57 of file BKE_attribute.h.
Referenced by from_id().
|
inline |
Definition at line 58 of file BKE_attribute.h.
|
static |
Definition at line 43 of file attribute.cc.
References AttributeOwner(), Curves, GreasePencil, GS, ID_CV, ID_GP, ID_ME, ID_PT, Mesh, and PointCloud.
Referenced by blender::ed::geometry::attribute_set_poll(), blender::ed::object::bake_targets_output_vertex_colors(), BKE_id_attributes_color_find(), BKE_sculpt_color_layer_create_if_needed(), blo_do_versions_300(), bmo_get_loop_color_ref(), blender::ed::curves::set_selection_domain::curves_set_selection_domain_exec(), data_transfer_mesh_attributes_transfer_active_color_string(), data_transfer_mesh_attributes_transfer_default_color_string(), ED_mesh_color_add(), ED_mesh_color_ensure(), ED_mesh_uv_add(), edbm_reverse_colors_exec(), edbm_rotate_colors_exec(), edbm_select_by_attribute_exec(), edbm_select_by_attribute_poll(), ensure_weight_attribute_meta_data(), blender::ed::sculpt_paint::fill_mesh_color(), blender::ed::geometry::geometry_attribute_add_exec(), blender::ed::geometry::geometry_attribute_convert_exec(), blender::ed::geometry::geometry_attribute_convert_invoke(), blender::ed::geometry::geometry_attribute_convert_poll(), blender::ed::geometry::geometry_attribute_domain_itemf(), blender::ed::geometry::geometry_attribute_remove_exec(), blender::ed::geometry::geometry_attributes_remove_poll(), blender::ed::geometry::geometry_color_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_duplicate_exec(), blender::ed::geometry::geometry_color_attribute_remove_exec(), get_uv_attribute(), mesh_customdata_mask_clear_exec(), blender::ed::mesh::set_attribute::mesh_set_attribute_exec(), blender::ed::mesh::set_attribute::mesh_set_attribute_invoke(), blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), mesh_uv_texture_remove_exec(), output_toggle_exec(), proj_paint_color_attribute_create(), blender::io::alembic::read_velocity(), blender::ed::sculpt_paint::undo::set_active_layer(), blender::ed::curves::set_attribute_exec(), blender::ed::curves::set_attribute_invoke(), and blender::ed::curves::set_attribute_ui().
| Curves * AttributeOwner::get_curves | ( | ) | const |
Definition at line 86 of file attribute.cc.
References BLI_assert, Curves, and is_valid().
Referenced by BKE_attribute_required(), BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().
| GreasePencil * AttributeOwner::get_grease_pencil | ( | ) | const |
Definition at line 93 of file attribute.cc.
References BLI_assert, GreasePencil, and is_valid().
Referenced by BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().
| GreasePencilDrawing * AttributeOwner::get_grease_pencil_drawing | ( | ) | const |
Definition at line 100 of file attribute.cc.
References BLI_assert, GreasePencilDrawing, and is_valid().
Referenced by BKE_attribute_required(), BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().
| Mesh * AttributeOwner::get_mesh | ( | ) | const |
Definition at line 72 of file attribute.cc.
References BLI_assert, is_valid(), and Mesh.
Referenced by BKE_attribute_data_length(), BKE_attribute_duplicate(), BKE_attribute_new(), BKE_attribute_remove(), BKE_attribute_rename(), BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().
| PointCloud * AttributeOwner::get_pointcloud | ( | ) | const |
Definition at line 79 of file attribute.cc.
References BLI_assert, is_valid(), and PointCloud.
Referenced by BKE_attribute_required(), BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().
| bool AttributeOwner::is_valid | ( | ) | const |
Definition at line 67 of file attribute.cc.
Referenced by get_curves(), get_grease_pencil(), get_grease_pencil_drawing(), get_mesh(), and get_pointcloud().
| AttributeOwnerType AttributeOwner::type | ( | ) | const |
Definition at line 62 of file attribute.cc.
Referenced by BKE_attribute_data_length(), BKE_attribute_duplicate(), BKE_attribute_new(), BKE_attribute_remove(), BKE_attribute_rename(), BKE_attribute_required(), BKE_attributes_active_index_p(), blender::bke::get_attribute_accessor_for_write(), and get_domains().