Blender
V3.3
|
#include <DNA_customdata_types.h>
Public Attributes | |
int | type |
int | offset |
int | flag |
int | active |
int | active_rnd |
int | active_clone |
int | active_mask |
int | uid |
char | name [64] |
void * | data |
const struct AnonymousAttributeID * | anonymous_id |
Descriptor and storage for a custom data layer.
Definition at line 21 of file DNA_customdata_types.h.
int CustomDataLayer::active |
Number of the active layer of this type.
Definition at line 29 of file DNA_customdata_types.h.
Referenced by CustomData_free_layer(), CustomData_merge(), and customdata_version_243().
int CustomDataLayer::active_clone |
Number of the layer to render.
Definition at line 33 of file DNA_customdata_types.h.
Referenced by CustomData_free_layer(), and CustomData_merge().
int CustomDataLayer::active_mask |
Number of the layer to render.
Definition at line 35 of file DNA_customdata_types.h.
Referenced by CustomData_free_layer(), and CustomData_merge().
int CustomDataLayer::active_rnd |
Number of the layer to render.
Definition at line 31 of file DNA_customdata_types.h.
Referenced by CustomData_free_layer(), CustomData_merge(), and customdata_version_243().
const struct AnonymousAttributeID* CustomDataLayer::anonymous_id |
Run-time identifier for this layer. If no one has a strong reference to this id anymore, the layer can be removed. The custom data layer only has a weak reference to the id, because otherwise there will always be a strong reference and the attribute can't be removed automatically.
Definition at line 48 of file DNA_customdata_types.h.
Referenced by blender::bke::attribute_id_from_custom_data_layer(), blender::bke::custom_data_layer_matches_attribute_id(), CustomData_add_layer_anonymous(), customdata_compare(), customData_free_layer__internal(), and CustomData_merge().
void* CustomDataLayer::data |
Layer data.
Definition at line 41 of file DNA_customdata_types.h.
Referenced by bake_targets_output_vertex_colors(), BKE_editmesh_loop_tangent_calc(), BKE_mesh_calc_loop_tangent_ex(), BKE_mesh_from_pointcloud(), BKE_remesh_reproject_vertex_paint(), CustomData_add_layer(), CustomData_add_layer_anonymous(), CustomData_add_layer_named(), CustomData_blend_read(), customdata_compare(), CustomData_copy_data_layer(), customData_duplicate_referenced_layer_index(), CustomData_duplicate_referenced_layers(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_write(), customData_free_layer__internal(), CustomData_interp(), CustomData_layer_ensure_data_exists(), CustomData_layer_validate(), CustomData_layers__print(), CustomData_merge(), CustomData_realloc(), CustomData_to_bmesh_block(), blender::geometry::customdata_weld(), do_versions_mesh_mloopcol_swap_2_62_1(), face_corner_color_equalize_vertices(), GPU_pbvh_mesh_buffers_update(), blender::bke::pbvh_vertex_color_get(), blender::bke::pbvh_vertex_color_set(), blender::io::alembic::read_velocity(), blender::bke::CurvesGeometry::reverse_curves(), sculpt_update_object(), um_arraystore_cd_compact(), um_arraystore_cd_expand(), vertex_color_set(), vpaint_do_paint(), and vpaint_init_vpaint().
int CustomDataLayer::flag |
General purpose flag.
Definition at line 27 of file DNA_customdata_types.h.
Referenced by BKE_id_attribute_from_index(), BKE_id_attribute_subset_active_get(), BKE_id_attribute_subset_active_set(), BKE_id_attribute_to_index(), CustomData_blend_read(), customData_duplicate_referenced_layer_index(), CustomData_external_add(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_remove(), CustomData_external_test(), CustomData_external_write(), customData_free_layer__internal(), CustomData_free_temporary(), CustomData_is_referenced_layer(), CustomData_merge(), CustomData_realloc(), EDBM_verts_mirror_cache_begin_ex(), gpu_pbvh_make_attr_offs(), and SCULPT_dyntopo_node_layers_add().
char CustomDataLayer::name[64] |
Layer name, MAX_CUSTOMDATA_LAYER_NAME.
Definition at line 39 of file DNA_customdata_types.h.
Referenced by blender::bke::attribute_id_from_custom_data_layer(), bake_targets_output_vertex_colors(), BKE_editmesh_loop_tangent_calc(), BKE_id_attribute_find(), BKE_id_attribute_rename(), BKE_id_attribute_search(), BKE_id_attributes_active_get(), BKE_mesh_add_mface_layers(), BKE_mesh_calc_loop_tangent_ex(), BKE_mesh_calc_loop_tangent_step_0(), BKE_remesh_reproject_vertex_paint(), bm_to_mesh_shape(), bpy_bmlayeritem_name_get(), cd_layer_find_dupe(), blender::bke::custom_data_layer_matches_attribute_id(), CustomData_bmesh_copy_data_exclude_by_type(), customdata_compare(), CustomData_copy_data_named(), CustomData_external_read(), CustomData_external_write(), CustomData_free_layer_named(), CustomData_merge(), CustomData_set_layer_unique_name(), CustomData_to_bmeshpoly(), customdata_version_242(), do_versions_point_attribute_names(), do_versions_point_attributes(), DRW_cdlayer_attr_aliases_add(), ED_geometry_attribute_convert(), face_corner_color_equalize_vertices(), blender::ed::geometry::geometry_attribute_convert_exec(), blender::ed::geometry::geometry_attribute_remove_exec(), blender::ed::geometry::geometry_color_attribute_duplicate_exec(), blender::ed::geometry::geometry_color_attribute_remove_exec(), blender::bke::layer_matches_name_and_type(), mesh_cd_calc_used_gpu_layers(), proj_paint_add_slot(), sculpt_save_active_attribute(), shape_itemf(), shapekey_layers_to_keyblocks(), transform_active_color(), unique_name_cb(), vertex_color_set(), vertex_paint_from_weight(), and blender::io::obj::OBJWriter::write_vertex_coords().
int CustomDataLayer::offset |
In editmode, offset of layer in block.
Definition at line 25 of file DNA_customdata_types.h.
Referenced by bm_edge_collapse_loop_customdata(), bm_loop_customdata_merge(), BM_vert_loop_groups_data_layer_create(), bmo_average_vert_facedata_exec(), bmo_collapsecon_do_layer(), bmo_get_loop_color_ref(), bmo_pointmerge_facedata_exec(), bmw_UVEdgeWalker_step(), contig_ldata_across_loops(), CustomData_bmesh_copy_data_exclude_by_type(), CustomData_bmesh_interp(), CustomData_from_bmesh_block(), gpu_pbvh_make_attr_offs(), and vertex_color_set().
int CustomDataLayer::type |
Type of data in layer.
Definition at line 23 of file DNA_customdata_types.h.
Referenced by bake_targets_output_vertex_colors(), BKE_id_attribute_find(), BKE_id_attribute_from_index(), BKE_id_attribute_search(), BKE_id_attribute_subset_active_get(), BKE_id_attribute_subset_active_set(), BKE_id_attribute_to_index(), BKE_id_attributes_active_get(), BKE_id_attributes_active_set(), BKE_mesh_add_mface_layers(), BKE_pbvh_get_color_layer(), BKE_pbvh_store_colors(), BKE_pbvh_store_colors_vertex(), BKE_pbvh_swap_colors(), BKE_pbvh_vertex_color_get(), BKE_pbvh_vertex_color_set(), BKE_remesh_reproject_vertex_paint(), bm_edge_collapse_loop_customdata(), bm_loop_customdata_merge(), bm_to_mesh_shape(), bm_to_mesh_shape_layer_index_from_kb(), BM_vert_loop_groups_data_layer_create(), BM_vert_loop_groups_data_layer_merge(), bm_vert_loop_groups_data_layer_merge__single(), BM_vert_loop_groups_data_layer_merge_weights(), bm_vert_loop_groups_data_layer_merge_weights__single(), bmo_average_vert_facedata_exec(), bmo_collapsecon_do_layer(), bmo_get_loop_color_ref(), bmo_pointmerge_facedata_exec(), bmw_UVEdgeWalker_step(), cd_layer_find_dupe(), contig_ldata_across_loops(), CustomData_blend_read(), CustomData_bmesh_copy_data_exclude_by_type(), CustomData_bmesh_interp(), CustomData_bmesh_interp_n(), customdata_compare(), CustomData_copy_data(), CustomData_copy_data_layer(), CustomData_copy_data_named(), customData_duplicate_referenced_layer_index(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_remove(), CustomData_external_write(), CustomData_free_layer(), customData_free_layer__internal(), CustomData_free_layer_named(), CustomData_free_typemask(), CustomData_from_bmesh_block(), CustomData_interp(), CustomData_layer_ensure_data_exists(), CustomData_layer_validate(), CustomData_layers__print(), CustomData_merge(), CustomData_realloc(), CustomData_set_layer_unique_name(), CustomData_to_bmesh_block(), CustomData_to_bmeshpoly(), CustomData_verify_versions(), customdata_version_242(), blender::geometry::customdata_weld(), delete_customdata_layer(), do_versions_mesh_mloopcol_swap_2_62_1(), do_versions_point_attribute_names(), do_versions_point_attributes(), get_vcol_elements(), GPU_pbvh_attribute_names_update(), gpu_pbvh_make_attr_offs(), GPU_pbvh_mesh_buffers_update(), blender::bke::layer_matches_name_and_type(), mesh_validate_customdata(), paint_object_attributes_active_color_fill_ex(), blender::bke::CustomDataAttributes::remove(), blender::bke::CurvesGeometry::reverse_curves(), sculpt_save_active_attribute(), sculpt_undo_set_active_layer(), sculpt_update_object(), shape_itemf(), blender::bke::CustomDataAttributeProvider::try_delete(), blender::bke::NamedLegacyCustomDataProvider::try_delete(), um_arraystore_cd_compact(), um_arraystore_cd_expand(), and vpaint_stroke_test_start().
int CustomDataLayer::uid |
Shape keyblock unique id reference.
Definition at line 37 of file DNA_customdata_types.h.
Referenced by add_shapekey_layers(), BM_mesh_bm_from_me(), bm_to_mesh_shape(), bm_to_mesh_shape_layer_index_from_kb(), CustomData_merge(), and shapekey_layers_to_keyblocks().