Blender  V2.93
Public Attributes | List of all members
CustomData Struct Reference

#include <DNA_customdata_types.h>

Public Attributes

CustomDataLayerlayers
 
int typemap [51]
 
int totlayer
 
int maxlayer
 
int totsize
 
struct BLI_mempoolpool
 
CustomDataExternalexternal
 

Detailed Description

Structure which stores custom element data associated with mesh elements (vertices, edges or faces). The custom data is organized into a series of layers, each with a data type (e.g. MTFace, MDeformVert, etc.).

Definition at line 70 of file DNA_customdata_types.h.

Member Data Documentation

◆ external

CustomDataExternal* CustomData::external

External file storing customdata layers.

Definition at line 86 of file DNA_customdata_types.h.

Referenced by BKE_bpath_traverse_id(), bm_corners_to_loops_ex(), and CustomData_copy().

◆ layers

CustomDataLayer* CustomData::layers

CustomDataLayers, ordered by type.

Definition at line 72 of file DNA_customdata_types.h.

Referenced by attribute_customdata_find(), BKE_editmesh_loop_tangent_calc(), BKE_id_attribute_data_length(), BKE_id_attribute_domain(), BKE_id_attribute_new(), BKE_id_attribute_rename(), BKE_id_attributes_active_get(), BKE_id_attributes_active_set(), BKE_id_attributes_iterator_next_domain(), BKE_mesh_calc_loop_tangent_ex(), BKE_mesh_calc_loop_tangent_step_0(), blo_do_versions_290(), BM_data_layer_add(), BM_data_layer_add_named(), BM_data_layer_free(), BM_data_layer_free_n(), bm_edge_collapse_loop_customdata(), bm_loop_customdata_merge(), BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_copy_init_customdata_all_layers(), 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_pointmerge_facedata_exec(), bmw_UVEdgeWalker_step(), contig_ldata_across_loops(), CustomData_bmesh_copy_data_exclude_by_type(), CustomData_bmesh_merge(), customdata_compare(), CustomData_copy_data(), CustomData_copy_data_layer(), CustomData_copy_data_named(), CustomData_from_bmesh_block(), CustomData_from_bmeshpoly(), CustomData_interp(), CustomData_merge(), CustomData_to_bmesh_block(), CustomData_to_bmeshpoly(), customdata_version_242(), customdata_version_243(), customdata_weld(), do_versions_mesh_mloopcol_swap_2_62_1(), do_versions_point_attribute_names(), do_versions_point_attributes(), ED_mesh_color_remove_index(), ED_mesh_sculpt_color_remove_index(), ED_mesh_uv_texture_remove_index(), EDBM_verts_mirror_cache_begin_ex(), blender::bke::CustomDataAttributeProvider::foreach_attribute(), blender::bke::NamedLegacyCustomDataProvider::foreach_attribute(), SCULPT_dyntopo_node_layers_add(), shape_itemf(), blender::bke::CustomDataAttributeProvider::try_create(), blender::bke::CustomDataAttributeProvider::try_delete(), blender::bke::NamedLegacyCustomDataProvider::try_delete(), blender::bke::CustomDataAttributeProvider::try_get_for_read(), blender::bke::NamedLegacyCustomDataProvider::try_get_for_read(), blender::bke::CustomDataAttributeProvider::try_get_for_write(), blender::bke::NamedLegacyCustomDataProvider::try_get_for_write(), um_arraystore_cd_compact(), and um_arraystore_cd_expand().

◆ maxlayer

int CustomData::maxlayer

Definition at line 80 of file DNA_customdata_types.h.

Referenced by blo_do_versions_290().

◆ pool

struct BLI_mempool* CustomData::pool

(BMesh Only): Memory pool for allocation of blocks.

Definition at line 84 of file DNA_customdata_types.h.

Referenced by BM_mesh_cd_flag_apply(), BM_mesh_data_free(), CustomData_bmesh_merge(), and update_data_blocks().

◆ totlayer

int CustomData::totlayer

Number of layers, size of layers array.

Definition at line 80 of file DNA_customdata_types.h.

Referenced by attribute_customdata_find(), BKE_id_attribute_data_length(), BKE_id_attribute_domain(), BKE_id_attributes_active_get(), BKE_id_attributes_active_set(), blo_do_versions_290(), bm_edge_collapse_loop_customdata(), bm_loop_customdata_merge(), BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_cd_flag_apply(), BM_mesh_copy_init_customdata_all_layers(), BM_mesh_data_free(), bm_to_mesh_shape_layer_index_from_kb(), bmo_average_vert_facedata_exec(), bmo_collapse_uvs_exec(), bmo_pointmerge_facedata_exec(), contig_ldata_across_edge(), CustomData_bmesh_copy_data_exclude_by_type(), customdata_compare(), CustomData_copy_data(), CustomData_copy_data_named(), CustomData_from_bmesh_block(), CustomData_from_bmeshpoly(), CustomData_interp(), CustomData_merge(), CustomData_to_bmesh_block(), CustomData_to_bmeshpoly(), customdata_version_242(), customdata_version_243(), customdata_weld(), do_versions_mesh_mloopcol_swap_2_62_1(), do_versions_point_attribute_names(), do_versions_point_attributes(), blender::bke::CustomDataAttributeProvider::foreach_attribute(), blender::bke::NamedLegacyCustomDataProvider::foreach_attribute(), math_layer_info_init(), mesh_customdatacorrect_init_container_merge_group(), set_ccgdm_all_geometry(), shape_itemf(), blender::bke::CustomDataAttributeProvider::try_create(), blender::bke::CustomDataAttributeProvider::try_delete(), blender::bke::NamedLegacyCustomDataProvider::try_delete(), blender::bke::CustomDataAttributeProvider::try_get_for_read(), blender::bke::NamedLegacyCustomDataProvider::try_get_for_read(), blender::bke::CustomDataAttributeProvider::try_get_for_write(), blender::bke::NamedLegacyCustomDataProvider::try_get_for_write(), and um_arraystore_cd_compact().

◆ totsize

int CustomData::totsize

In editmode, total size of all data layers.

Definition at line 82 of file DNA_customdata_types.h.

Referenced by CustomData_bmesh_copy_data_exclude_by_type().

◆ typemap

int CustomData::typemap[51]

runtime only! - maps types to indices of first layer of that type, MUST be >= CD_NUMTYPES, but we cant use a define here. Correct size is ensured in CustomData_update_typemap assert().

Definition at line 78 of file DNA_customdata_types.h.

Referenced by BKE_mesh_new_nomain(), customdata_typemap_is_valid(), and DM_init().


The documentation for this struct was generated from the following file: