Blender V5.0
CustomDataLayer Struct Reference

#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 [68]
char _pad1 [4]
void * data
const ImplicitSharingInfoHandlesharing_info

Detailed Description

Descriptor and storage for a custom data layer.

Definition at line 18 of file DNA_customdata_types.h.

Member Data Documentation

◆ _pad1

char CustomDataLayer::_pad1[4]

Definition at line 37 of file DNA_customdata_types.h.

◆ active

int CustomDataLayer::active

◆ active_clone

int CustomDataLayer::active_clone

Number of the layer to render.

Definition at line 30 of file DNA_customdata_types.h.

Referenced by customData_add_layer__internal(), CustomData_free_layer(), customdata_merge_internal(), and mesh_validate_customdata().

◆ active_mask

int CustomDataLayer::active_mask

Number of the layer to render.

Definition at line 32 of file DNA_customdata_types.h.

Referenced by customData_add_layer__internal(), CustomData_free_layer(), customdata_merge_internal(), and mesh_validate_customdata().

◆ active_rnd

int CustomDataLayer::active_rnd

◆ data

void* CustomDataLayer::data

Layer data.

Definition at line 39 of file DNA_customdata_types.h.

Referenced by blender::ed::object::bake_targets_output_vertex_colors(), BKE_mesh_legacy_face_set_to_generic(), blend_read_layer_data(), blend_write_layer_data(), bm_to_mesh_copy_info_calc(), CustomData_add_layer(), customData_add_layer__internal(), CustomData_add_layer_named(), CustomData_add_layer_named_with_data(), CustomData_add_layer_with_data(), CustomData_blend_read(), CustomData_copy_data_layer(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_write(), customData_free_layer__internal(), CustomData_get_layer_for_write(), CustomData_get_layer_n_for_write(), CustomData_get_layer_named_for_write(), CustomData_interp(), CustomData_layer_ensure_data_exists(), CustomData_layer_validate(), customdata_merge_internal(), CustomData_realloc(), blender::geometry::customdata_weld(), do_versions_mesh_mloopcol_swap_2_62_1(), ED_mesh_color_add(), ensure_layer_data_is_mutable(), layer_is_mutable(), blender::bke::mesh_custom_normals_to_generic(), mesh_foreach_working_space_color(), blender::bke::mesh_freestyle_marks_to_generic(), blender::bke::mesh_freestyle_marks_to_legacy(), blender::bke::mesh_sculpt_mask_to_generic(), mesh_to_bm_copy_info_calc(), move_face_map_data_to_attributes(), move_shapekey_layers_to_keyblocks(), blender::io::alembic::read_velocity(), replace_custom_data_layer_with_named(), blender::bke::BuiltinCustomDataLayerProvider::try_get_for_read(), um_arraystore_cd_compact(), and um_arraystore_cd_expand().

◆ flag

◆ name

char CustomDataLayer::name[68]

Layer name.

Definition at line 36 of file DNA_customdata_types.h.

Referenced by add_mface_layers(), attribute_name_exists(), blender::ed::object::bake_targets_output_vertex_colors(), BKE_attribute_find(), BKE_attribute_rename(), BKE_attribute_search(), BKE_attributes_active_name_get(), blo_do_versions_300(), BM_mesh_copy_init_customdata_all_layers(), bm_to_mesh_copy_info_calc(), bpy_bmlayeritem_name_get(), cd_layer_find_dupe(), color_name_from_index(), convert_grease_pencil_stroke_hardness_to_softness(), customData_add_layer__internal(), CustomData_external_read(), CustomData_external_write(), CustomData_free_layer_named(), customdata_merge_internal(), CustomData_set_layer_unique_name(), CustomData_to_bmeshpoly(), customdata_version_242(), data_transfer_mesh_attributes_transfer_active_color_string(), data_transfer_mesh_attributes_transfer_default_color_string(), do_versions_point_attribute_names(), do_versions_point_attributes(), blender::ed::sculpt_paint::dyntopo::dyntopo_supports_layer(), ED_mesh_color_add(), blender::ed::geometry::geometry_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_duplicate_exec(), mesh_to_bm_copy_info_calc(), move_shapekey_layers_to_keyblocks(), proj_paint_color_attribute_create(), rename_mesh_uv_seam_attribute(), blender::draw::sculpt_batches_per_material_get(), blender::ed::sculpt_paint::undo::set_active_layer(), shape_itemf(), and blender::bke::CustomDataAttributeProvider::try_delete().

◆ offset

◆ sharing_info

◆ type

int CustomDataLayer::type

Type of data in layer.

Definition at line 20 of file DNA_customdata_types.h.

Referenced by add_mface_layers(), blender::ed::geometry::attribute_set_poll(), blender::ed::object::bake_targets_output_vertex_colors(), BKE_attribute_find(), BKE_attribute_from_index(), BKE_attribute_rename(), BKE_attribute_search(), BKE_attribute_to_index(), BKE_attributes_active_name_get(), BKE_mesh_legacy_face_set_to_generic(), blend_read_layer_data(), blend_write_layer_data(), BM_mesh_copy_init_customdata_all_layers(), bm_to_mesh_copy_info_calc(), bmw_UVEdgeWalker_step(), cd_layer_find_dupe(), customData_add_layer__internal(), CustomData_blend_read(), CustomData_bmesh_interp(), CustomData_bmesh_interp_n(), CustomData_copy_data(), CustomData_copy_data_layer(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_remove(), CustomData_external_write(), CustomData_free_layer(), CustomData_free_layer_named(), CustomData_get_elem_size(), CustomData_interp(), CustomData_layer_ensure_data_exists(), CustomData_layer_validate(), customdata_merge_internal(), CustomData_realloc(), CustomData_set_layer_unique_name(), CustomData_to_bmeshpoly(), CustomData_verify_versions(), customdata_version_242(), blender::geometry::customdata_weld(), do_versions_mesh_mloopcol_swap_2_62_1(), do_versions_point_attribute_names(), do_versions_point_attributes(), blender::ed::sculpt_paint::dyntopo::dyntopo_supports_layer(), edbm_select_by_attribute_exec(), edbm_select_by_attribute_poll(), ensure_layer_data_is_mutable(), blender::ed::sculpt_paint::fill_mesh_color(), blender::bke::mesh_custom_normals_to_generic(), mesh_foreach_working_space_color(), blender::bke::mesh_freestyle_marks_to_generic(), blender::bke::mesh_freestyle_marks_to_legacy(), blender::bke::mesh_sculpt_mask_to_generic(), 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_to_bm_copy_info_calc(), mesh_validate_customdata(), move_face_map_data_to_attributes(), replace_custom_data_layer_with_named(), shape_itemf(), blender::bke::CustomDataAttributeProvider::try_delete(), um_arraystore_cd_compact(), and um_arraystore_cd_expand().

◆ uid

int CustomDataLayer::uid

Shape key-block unique id reference.

Definition at line 34 of file DNA_customdata_types.h.

Referenced by blender::ed::object::add_shapekey_layers(), customdata_merge_internal(), and move_shapekey_layers_to_keyblocks().


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