Blender V2.61 - r43446
|
CustomData interface, see also DNA_customdata_types.h. More...
#include "../blenloader/BLO_sys_types.h"
Go to the source code of this file.
Defines | |
#define | ORIGINDEX_NONE -1 |
#define | CD_ASSIGN 0 |
#define | CD_CALLOC 1 |
#define | CD_DEFAULT 2 |
#define | CD_REFERENCE 3 |
#define | CD_DUPLICATE 4 |
#define | CD_TYPE_AS_MASK(_type) (CustomDataMask)(1 << (CustomDataMask)(_type)) |
Typedefs | |
typedef uint64_t | CustomDataMask |
Functions | |
void | CustomData_copy (const struct CustomData *source, struct CustomData *dest, CustomDataMask mask, int alloctype, int totelem) |
void | CustomData_update_typemap (struct CustomData *data) |
void | CustomData_merge (const struct CustomData *source, struct CustomData *dest, CustomDataMask mask, int alloctype, int totelem) |
void | CustomData_free (struct CustomData *data, int totelem) |
void | CustomData_free_temporary (struct CustomData *data, int totelem) |
void * | CustomData_add_layer (struct CustomData *data, int type, int alloctype, void *layer, int totelem) |
void * | CustomData_add_layer_named (struct CustomData *data, int type, int alloctype, void *layer, int totelem, const char *name) |
int | CustomData_free_layer (struct CustomData *data, int type, int totelem, int index) |
int | CustomData_free_layer_active (struct CustomData *data, int type, int totelem) |
void | CustomData_free_layers (struct CustomData *data, int type, int totelem) |
int | CustomData_has_layer (const struct CustomData *data, int type) |
int | CustomData_number_of_layers (const struct CustomData *data, int type) |
void * | CustomData_duplicate_referenced_layer (struct CustomData *data, const int type, const int totelem) |
void * | CustomData_duplicate_referenced_layer_named (struct CustomData *data, const int type, const char *name, const int totelem) |
int | CustomData_is_referenced_layer (struct CustomData *data, int type) |
void | CustomData_set_only_copy (const struct CustomData *data, CustomDataMask mask) |
void | CustomData_copy_data (const struct CustomData *source, struct CustomData *dest, int source_index, int dest_index, int count) |
void | CustomData_copy_elements (int type, void *source, void *dest, int count) |
void | CustomData_em_copy_data (const struct CustomData *source, struct CustomData *dest, void *src_block, void **dest_block) |
void | CustomData_bmesh_copy_data (const struct CustomData *source, struct CustomData *dest, void *src_block, void **dest_block) |
void | CustomData_em_validate_data (struct CustomData *data, void *block, int sub_elements) |
void | CustomData_free_elem (struct CustomData *data, int index, int count) |
void | CustomData_interp (const struct CustomData *source, struct CustomData *dest, int *src_indices, float *weights, float *sub_weights, int count, int dest_index) |
void | CustomData_em_interp (struct CustomData *data, void **src_blocks, float *weights, float *sub_weights, int count, void *dest_block) |
void | CustomData_bmesh_interp (struct CustomData *data, void **src_blocks, float *weights, float *sub_weights, int count, void *dest_block) |
void | CustomData_swap (struct CustomData *data, int index, const int *corner_indices) |
void * | CustomData_get (const struct CustomData *data, int index, int type) |
void * | CustomData_get_n (const struct CustomData *data, int type, int index, int n) |
void * | CustomData_em_get (const struct CustomData *data, void *block, int type) |
void * | CustomData_em_get_n (const struct CustomData *data, void *block, int type, int n) |
void * | CustomData_bmesh_get (const struct CustomData *data, void *block, int type) |
void * | CustomData_bmesh_get_n (const struct CustomData *data, void *block, int type, int n) |
void * | CustomData_bmesh_get_layer_n (const struct CustomData *data, void *block, int n) |
int | CustomData_set_layer_name (const struct CustomData *data, int type, int n, const char *name) |
void * | CustomData_get_layer (const struct CustomData *data, int type) |
void * | CustomData_get_layer_n (const struct CustomData *data, int type, int n) |
void * | CustomData_get_layer_named (const struct CustomData *data, int type, const char *name) |
int | CustomData_get_layer_index (const struct CustomData *data, int type) |
int | CustomData_get_layer_index_n (const struct CustomData *data, int type, int n) |
int | CustomData_get_named_layer_index (const struct CustomData *data, int type, const char *name) |
int | CustomData_get_active_layer_index (const struct CustomData *data, int type) |
int | CustomData_get_render_layer_index (const struct CustomData *data, int type) |
int | CustomData_get_clone_layer_index (const struct CustomData *data, int type) |
int | CustomData_get_stencil_layer_index (const struct CustomData *data, int type) |
int | CustomData_get_active_layer (const struct CustomData *data, int type) |
int | CustomData_get_render_layer (const struct CustomData *data, int type) |
int | CustomData_get_clone_layer (const struct CustomData *data, int type) |
int | CustomData_get_stencil_layer (const struct CustomData *data, int type) |
void | CustomData_set (const struct CustomData *data, int index, int type, void *source) |
void | CustomData_em_set (struct CustomData *data, void *block, int type, void *source) |
void | CustomData_em_set_n (struct CustomData *data, void *block, int type, int n, void *source) |
void | CustomData_bmesh_set (const struct CustomData *data, void *block, int type, void *source) |
void | CustomData_bmesh_set_n (struct CustomData *data, void *block, int type, int n, void *source) |
void | CustomData_bmesh_set_layer_n (struct CustomData *data, void *block, int n, void *source) |
void * | CustomData_set_layer (const struct CustomData *data, int type, void *ptr) |
void * | CustomData_set_layer_n (const struct CustomData *data, int type, int n, void *ptr) |
void | CustomData_set_layer_active (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_render (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_clone (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_stencil (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_active_index (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_render_index (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_clone_index (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_stencil_index (struct CustomData *data, int type, int n) |
void | CustomData_set_layer_flag (struct CustomData *data, int type, int flag) |
void | CustomData_em_set_default (struct CustomData *data, void **block) |
void | CustomData_em_free_block (struct CustomData *data, void **block) |
void | CustomData_bmesh_set_default (struct CustomData *data, void **block) |
void | CustomData_bmesh_free_block (struct CustomData *data, void **block) |
void | CustomData_to_em_block (const struct CustomData *source, struct CustomData *dest, int index, void **block) |
void | CustomData_from_em_block (const struct CustomData *source, struct CustomData *dest, void *block, int index) |
void | CustomData_to_bmesh_block (const struct CustomData *source, struct CustomData *dest, int src_index, void **dest_block) |
void | CustomData_from_bmesh_block (const struct CustomData *source, struct CustomData *dest, void *src_block, int dest_index) |
void | CustomData_file_write_info (int type, const char **structname, int *structnum) |
int | CustomData_sizeof (int type) |
const char * | CustomData_layertype_name (int type) |
void | CustomData_set_layer_unique_name (struct CustomData *data, int index) |
void | CustomData_validate_layer_name (const struct CustomData *data, int type, char *name, char *outname) |
int | CustomData_verify_versions (struct CustomData *data, int index) |
void | CustomData_to_bmeshpoly (struct CustomData *fdata, struct CustomData *pdata, struct CustomData *ldata) |
void | CustomData_from_bmeshpoly (struct CustomData *fdata, struct CustomData *pdata, struct CustomData *ldata, int total) |
void | CustomData_bmesh_init_pool (struct CustomData *data, int allocsize) |
void | CustomData_external_add (struct CustomData *data, struct ID *id, int type, int totelem, const char *filename) |
void | CustomData_external_remove (struct CustomData *data, struct ID *id, int type, int totelem) |
int | CustomData_external_test (struct CustomData *data, int type) |
void | CustomData_external_write (struct CustomData *data, struct ID *id, CustomDataMask mask, int totelem, int free) |
void | CustomData_external_read (struct CustomData *data, struct ID *id, CustomDataMask mask, int totelem) |
void | CustomData_external_reload (struct CustomData *data, struct ID *id, CustomDataMask mask, int totelem) |
Variables | |
const CustomDataMask | CD_MASK_BAREMESH |
const CustomDataMask | CD_MASK_MESH |
const CustomDataMask | CD_MASK_EDITMESH |
const CustomDataMask | CD_MASK_DERIVEDMESH |
const CustomDataMask | CD_MASK_BMESH |
const CustomDataMask | CD_MASK_FACECORNERS |
CustomData interface, see also DNA_customdata_types.h.
Definition in file BKE_customdata.h.
#define CD_ASSIGN 0 |
Definition at line 63 of file BKE_customdata.h.
Referenced by add_orco_dm(), add_tface_color_layer(), add_weight_mcol_dm(), CDDM_copy(), customData_add_layer__internal(), CustomData_merge(), customdata_version_242(), distribute_threads_init_data(), DM_to_mesh(), get_dm(), load_editMesh(), make_edges(), and nurbs_to_mesh().
#define CD_CALLOC 1 |
Definition at line 64 of file BKE_customdata.h.
Referenced by add_orco_dm(), applyModifier(), BKE_mesh_calc_edges(), BKE_mesh_ensure_navmesh(), BME_bmesh_to_derivedmesh(), BME_bmesh_to_editmesh(), BME_derivedmesh_to_bmesh(), BME_editmesh_to_bmesh(), ccgDM_get_edge_data_layer(), ccgDM_get_face_data_layer(), ccgDM_get_vert_data_layer(), CDDM_calc_edges(), CDDM_calc_normals(), CDDM_from_editmesh(), CDDM_from_template(), CDDM_new(), createRepresentation(), CustomData_from_bmeshpoly(), CustomData_to_bmeshpoly(), customdata_version_242(), DM_add_tangent_layer(), dm_calc_normal(), DM_from_template(), dm_getEdgeArray(), dm_getFaceArray(), dm_getVertArray(), do_hair_dynamics(), dynamicPaint_Modifier_apply(), ED_object_modifier_convert(), ED_vgroup_data_create(), editmesh_get_derived(), editMesh_to_undoMesh(), EM_add_data_layer(), emDM_getFaceDataArray(), join_mesh_exec(), load_editMesh(), make_editMesh(), make_vertexcol(), mball_to_mesh(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), mesh_calc_modifiers(), multires_load_old(), RE_make_sticky(), and undoMesh_to_editMesh().
#define CD_DEFAULT 2 |
Definition at line 65 of file BKE_customdata.h.
Referenced by ConvertCSGDescriptorsToDerivedMesh(), customData_add_layer__internal(), ED_mesh_color_add(), ED_mesh_uv_texture_add(), editmesh_calc_modifiers(), join_mesh_exec(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), mesh_calc_modifiers(), mesh_separate_selected(), multires_subdivide(), multiresModifier_disp_run(), and texture_paint_toggle_exec().
#define CD_DUPLICATE 4 |
Definition at line 67 of file BKE_customdata.h.
Referenced by copy_mesh(), customData_add_layer__internal(), DM_to_mesh(), ED_mesh_color_add(), and ED_mesh_uv_texture_add().
#define CD_REFERENCE 3 |
Definition at line 66 of file BKE_customdata.h.
Referenced by BKE_mesh_ensure_navmesh(), CDDM_from_mesh(), customData_add_layer__internal(), CustomData_merge(), and multires_load_old().
#define CD_TYPE_AS_MASK | ( | _type | ) | (CustomDataMask)(1 << (CustomDataMask)(_type)) |
Definition at line 70 of file BKE_customdata.h.
Referenced by CustomData_external_read(), CustomData_external_reload(), CustomData_external_remove(), CustomData_external_write(), CustomData_merge(), CustomData_set_only_copy(), and mesh_validate_customdata().
#define ORIGINDEX_NONE -1 |
Definition at line 56 of file BKE_customdata.h.
Referenced by applyModifier(), arrayModifier_doArray(), BME_bmesh_to_derivedmesh(), ccgDM_drawFacesTex_common(), ccgDM_drawMappedFaces(), ccgDM_drawMappedFacesGLSL(), ccgDM_drawMappedFacesMat(), ccgDM_get_edge_data_layer(), ccgDM_get_vert_data_layer(), CDDM_calc_edges(), cdDM_drawFacesTex_common(), cdDM_drawMappedEdges(), cdDM_drawMappedFaces(), cdDM_drawMappedFacesGLSL(), cdDM_drawMappedFacesMat(), cdDM_foreachMappedEdge(), cdDM_foreachMappedFaceCenter(), cdDM_foreachMappedVert(), paintvert_flush_flags(), and snapDerivedMesh().
typedef uint64_t CustomDataMask |
Definition at line 45 of file BKE_customdata.h.
void* CustomData_add_layer | ( | struct CustomData * | data, |
int | type, | ||
int | alloctype, | ||
void * | layer, | ||
int | totelem | ||
) |
Definition at line 1545 of file customdata.c.
References customData_add_layer__internal(), CustomData_update_typemap(), CustomDataLayer::data, LayerTypeInfo::defaultname, layerType_getInfo(), and NULL.
Referenced by add_tface_color_layer(), add_weight_mcol_dm(), applyModifier(), BKE_mesh_calc_edges(), CDDM_calc_edges(), CDDM_calc_normals(), CDDM_copy(), CDDM_from_template(), CDDM_new(), CustomData_from_bmeshpoly(), CustomData_to_bmeshpoly(), customdata_version_242(), DM_add_edge_layer(), DM_add_face_layer(), DM_add_vert_layer(), dm_calc_normal(), dm_getEdgeArray(), dm_getFaceArray(), dm_getVertArray(), DM_to_mesh(), dynamicPaint_Modifier_apply(), ED_object_modifier_convert(), ED_vgroup_data_create(), join_mesh_exec(), load_editMesh(), make_edges(), make_vertexcol(), mball_to_mesh(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), multires_load_old(), multires_subdivide(), multiresModifier_disp_run(), nurbs_to_mesh(), RE_make_sticky(), and texture_paint_toggle_exec().
void* CustomData_add_layer_named | ( | struct CustomData * | data, |
int | type, | ||
int | alloctype, | ||
void * | layer, | ||
int | totelem, | ||
const char * | name | ||
) |
Definition at line 1562 of file customdata.c.
References customData_add_layer__internal(), CustomData_update_typemap(), CustomDataLayer::data, and NULL.
Referenced by BKE_mesh_ensure_navmesh(), createRepresentation(), dynamicPaint_Modifier_apply(), ED_mesh_color_add(), ED_mesh_uv_texture_add(), and EM_add_data_layer().
void CustomData_bmesh_copy_data | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
void * | src_block, | ||
void ** | dest_block | ||
) |
Referenced by BME_addedgelist(), BME_addpolylist(), BME_addvertlist(), BME_create_loop(), and BME_editmesh_to_bmesh().
void CustomData_bmesh_free_block | ( | struct CustomData * | data, |
void ** | block | ||
) |
Definition at line 2338 of file customdata.c.
References BLI_mempool_free(), CD_FLAG_NOFREE, CustomDataLayer::flag, LayerTypeInfo::free, i, CustomData::layers, layerType_getInfo(), NULL, CustomDataLayer::offset, CustomData::pool, LayerTypeInfo::size, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_free_edge(), BME_free_loop(), BME_free_mesh(), BME_free_poly(), BME_free_vert(), and CustomData_bmesh_alloc_block().
void* CustomData_bmesh_get | ( | const struct CustomData * | data, |
void * | block, | ||
int | type | ||
) |
Referenced by CustomData_bmesh_set().
void* CustomData_bmesh_get_layer_n | ( | const struct CustomData * | data, |
void * | block, | ||
int | n | ||
) |
Referenced by CustomData_bmesh_set_layer_n().
void* CustomData_bmesh_get_n | ( | const struct CustomData * | data, |
void * | block, | ||
int | type, | ||
int | n | ||
) |
void CustomData_bmesh_init_pool | ( | struct CustomData * | data, |
int | allocsize | ||
) |
Definition at line 2333 of file customdata.c.
References BLI_mempool_create(), FALSE, CustomData::pool, CustomData::totlayer, and CustomData::totsize.
Referenced by BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
void CustomData_bmesh_interp | ( | struct CustomData * | data, |
void ** | src_blocks, | ||
float * | weights, | ||
float * | sub_weights, | ||
int | count, | ||
void * | dest_block | ||
) |
Definition at line 2487 of file customdata.c.
References i, LayerTypeInfo::interp, CustomData::layers, layerType_getInfo(), MEM_callocN(), MEM_freeN(), CustomDataLayer::offset, SOURCE_BUF_SIZE, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_collapse_vert(), and BME_data_facevert_edgesplit().
void CustomData_bmesh_set | ( | const struct CustomData * | data, |
void * | block, | ||
int | type, | ||
void * | source | ||
) |
void CustomData_bmesh_set_default | ( | struct CustomData * | data, |
void ** | block | ||
) |
Definition at line 2517 of file customdata.c.
References CustomData_bmesh_alloc_block(), i, CustomData::layers, layerType_getInfo(), CustomDataLayer::offset, LayerTypeInfo::set_default, LayerTypeInfo::size, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_addedgelist(), BME_addpolylist(), BME_addvertlist(), and BME_create_loop().
void CustomData_bmesh_set_layer_n | ( | struct CustomData * | data, |
void * | block, | ||
int | n, | ||
void * | source | ||
) |
Definition at line 2474 of file customdata.c.
References LayerTypeInfo::copy, CustomData_bmesh_get_layer_n(), CustomData::layers, layerType_getInfo(), LayerTypeInfo::size, and CustomDataLayer::type.
void CustomData_bmesh_set_n | ( | struct CustomData * | data, |
void * | block, | ||
int | type, | ||
int | n, | ||
void * | source | ||
) |
Definition at line 2461 of file customdata.c.
References LayerTypeInfo::copy, CustomData_bmesh_get_n(), layerType_getInfo(), and LayerTypeInfo::size.
void CustomData_copy | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
CustomDataMask | mask, | ||
int | alloctype, | ||
int | totelem | ||
) |
Definition at line 1186 of file customdata.c.
References CustomData_merge(), CustomData::external, and MEM_dupallocN().
Referenced by BME_bmesh_to_editmesh(), BME_derivedmesh_to_bmesh(), BME_editmesh_to_bmesh(), copy_mesh(), DM_from_template(), DM_to_mesh(), editMesh_to_undoMesh(), load_editMesh(), make_editMesh(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), mesh_separate_selected(), and undoMesh_to_editMesh().
void CustomData_copy_data | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
int | source_index, | ||
int | dest_index, | ||
int | count | ||
) |
void CustomData_copy_elements | ( | int | type, |
void * | source, | ||
void * | dest, | ||
int | count | ||
) |
Definition at line 1758 of file customdata.c.
References LayerTypeInfo::copy, layerType_getInfo(), and LayerTypeInfo::size.
void* CustomData_duplicate_referenced_layer | ( | struct CustomData * | data, |
const int | type, | ||
const int | totelem | ||
) |
Definition at line 1644 of file customdata.c.
References CD_FLAG_NOFREE, LayerTypeInfo::copy, CustomData_get_active_layer_index(), CustomDataLayer::data, CustomDataLayer::flag, CustomData::layers, layerType_getInfo(), MEM_dupallocN(), MEM_mallocN(), NULL, LayerTypeInfo::size, and CustomDataLayer::type.
Referenced by applyModifier(), CDDM_apply_vert_coords(), CDDM_apply_vert_normals(), and CDDM_calc_normals().
void* CustomData_duplicate_referenced_layer_named | ( | struct CustomData * | data, |
const int | type, | ||
const char * | name, | ||
const int | totelem | ||
) |
Definition at line 1676 of file customdata.c.
References CD_FLAG_NOFREE, LayerTypeInfo::copy, CustomData_get_named_layer_index(), CustomDataLayer::data, CustomDataLayer::flag, CustomData::layers, layerType_getInfo(), MEM_dupallocN(), MEM_mallocN(), NULL, LayerTypeInfo::size, and CustomDataLayer::type.
Referenced by uvprojectModifier_do().
void CustomData_em_copy_data | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
void * | src_block, | ||
void ** | dest_block | ||
) |
Referenced by addfacelist(), addvertlist(), BME_bmesh_to_editmesh(), facecopy(), and update_data_blocks().
void CustomData_em_free_block | ( | struct CustomData * | data, |
void ** | block | ||
) |
Definition at line 2026 of file customdata.c.
References CD_FLAG_NOFREE, CustomDataLayer::flag, LayerTypeInfo::free, i, CustomData::layers, layerType_getInfo(), MEM_freeN(), NULL, CustomDataLayer::offset, LayerTypeInfo::size, CustomData::totlayer, and CustomDataLayer::type.
Referenced by CustomData_em_alloc_block(), free_editface(), free_editvert(), and update_data_blocks().
void* CustomData_em_get | ( | const struct CustomData * | data, |
void * | block, | ||
int | type | ||
) |
Referenced by act_vert_def(), append_weldedUV(), append_weldedUVEdge(), border_select_exec(), circle_select_exec(), collapseuvs(), compareFaceAttribs(), construct_param_handle(), correct_uv_aspect(), createRepresentation(), createTransUVs(), cube_project_exec(), CustomData_em_set(), cylinder_project_exec(), draw_em_tf_mapped__set_draw(), draw_uvs(), draw_uvs_shadow(), draw_uvs_stretch(), ED_uvedit_assign_image(), ED_uvedit_ensure_uvs(), ED_uvedit_median(), ED_uvedit_minmax(), ED_uvedit_nearest_uv(), ED_vgroup_give_parray(), ED_vgroup_mirror(), editmesh_get_derived(), editvert_mirror_update(), EM_get_active_mtface(), EM_make_uv_vert_map(), EM_mesh_copy_face(), EM_mesh_copy_face_layer(), emDM_drawFacesTex_common(), emDM_drawUVEdges(), emDM_getFaceDataArray(), find_nearest_uv_edge(), find_nearest_uv_face(), find_nearest_uv_vert(), findFreeNavPolyIndex(), get_vert_def_nr(), get_weights_array(), hide_exec(), mesh_mirror_colors(), mesh_mirror_uvs(), mesh_rotate_colors(), mesh_rotate_uvs(), mouse_select(), navmesh_face_add_exec(), navmesh_face_copy_exec(), pin_exec(), reset_exec(), return_editmesh_vgroup(), reveal_exec(), select_all_perform(), select_edgeloop(), select_linked(), select_pinned_exec(), similar_face_select__internal(), similar_vert_select_exec(), snap_uvs_to_adjacent_unselected(), snap_uvs_to_cursor(), snap_uvs_to_pixels(), sphere_project_exec(), stitch_exec(), unlink_selection_exec(), uv_faces_do_sticky(), uv_from_view_exec(), uv_map_clip_correct(), uvedit_center(), uvedit_have_selection(), uvedit_set_tile(), uvedit_translate(), v3d_editvertex_buts(), vgroup_active_remove_verts(), vgroup_assign_verts(), vgroup_blend(), vgroup_copy_active_to_sel(), vgroup_copy_active_to_sel_single(), vgroup_delete_edit_mode(), vgroup_do_remap(), vgroup_select_verts(), and weld_align_uv().
void* CustomData_em_get_n | ( | const struct CustomData * | data, |
void * | block, | ||
int | type, | ||
int | n | ||
) |
void CustomData_em_interp | ( | struct CustomData * | data, |
void ** | src_blocks, | ||
float * | weights, | ||
float * | sub_weights, | ||
int | count, | ||
void * | dest_block | ||
) |
Definition at line 2166 of file customdata.c.
References i, LayerTypeInfo::interp, CustomData::layers, layerType_getInfo(), MEM_callocN(), MEM_freeN(), CustomDataLayer::offset, SOURCE_BUF_SIZE, CustomData::totlayer, and CustomDataLayer::type.
Referenced by EM_data_interp_from_faces(), EM_data_interp_from_verts(), and facecopy().
void CustomData_em_set | ( | struct CustomData * | data, |
void * | block, | ||
int | type, | ||
void * | source | ||
) |
Definition at line 2140 of file customdata.c.
References LayerTypeInfo::copy, CustomData_em_get(), layerType_getInfo(), and LayerTypeInfo::size.
void CustomData_em_set_default | ( | struct CustomData * | data, |
void ** | block | ||
) |
Definition at line 2197 of file customdata.c.
References CustomData_em_alloc_block(), i, CustomData::layers, layerType_getInfo(), CustomDataLayer::offset, LayerTypeInfo::set_default, CustomData::totlayer, and CustomDataLayer::type.
Referenced by addfacelist(), addvertlist(), and update_data_blocks().
void CustomData_em_set_n | ( | struct CustomData * | data, |
void * | block, | ||
int | type, | ||
int | n, | ||
void * | source | ||
) |
Definition at line 2153 of file customdata.c.
References LayerTypeInfo::copy, CustomData_em_get_n(), layerType_getInfo(), and LayerTypeInfo::size.
Referenced by copy_editface_active_customdata().
void CustomData_em_validate_data | ( | struct CustomData * | data, |
void * | block, | ||
int | sub_elements | ||
) |
Definition at line 2106 of file customdata.c.
References i, CustomData::layers, layerType_getInfo(), CustomDataLayer::offset, CustomData::totlayer, CustomDataLayer::type, and LayerTypeInfo::validate.
Referenced by addfacelist(), and facecopy().
void CustomData_external_add | ( | struct CustomData * | data, |
struct ID * | id, | ||
int | type, | ||
int | totelem, | ||
const char * | filename | ||
) |
Referenced by multires_external_save_exec().
void CustomData_external_read | ( | struct CustomData * | data, |
struct ID * | id, | ||
CustomDataMask | mask, | ||
int | totelem | ||
) |
Definition at line 2771 of file customdata.c.
References CD_FLAG_EXTERNAL, CD_FLAG_IN_MEMORY, CD_TYPE_AS_MASK, cdf_create(), cdf_free(), cdf_layer_find(), cdf_read_close(), cdf_read_layer(), cdf_read_open(), CDF_TYPE_MESH, customdata_external_filename(), CustomDataLayer::data, CustomData::external, FILE_MAX, CustomDataLayer::flag, i, CustomData::layers, layerType_getInfo(), layerType_getName(), CustomDataLayer::name, LayerTypeInfo::read, CustomData::totlayer, CustomDataLayer::type, and update().
Referenced by CustomData_external_remove(), CustomData_external_write(), multires_apply_smat(), multires_del_higher(), multires_dm_create_from_derived(), multires_topology_changed(), multiresModifier_del_levels(), and multiresModifier_update().
void CustomData_external_reload | ( | struct CustomData * | data, |
struct ID * | id, | ||
CustomDataMask | mask, | ||
int | totelem | ||
) |
Referenced by multires_force_external_reload().
void CustomData_external_remove | ( | struct CustomData * | data, |
struct ID * | id, | ||
int | type, | ||
int | totelem | ||
) |
Definition at line 2945 of file customdata.c.
References CD_FLAG_EXTERNAL, CD_FLAG_IN_MEMORY, CD_TYPE_AS_MASK, cdf_remove(), customdata_external_filename(), CustomData_external_free(), CustomData_external_read(), CustomData_get_active_layer_index(), CustomData::external, CustomDataLayer::flag, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by modifier_apply_obdata(), multires_del_higher(), multires_external_pack_exec(), multires_sync_levels(), and object_modifier_remove().
int CustomData_external_test | ( | struct CustomData * | data, |
int | type | ||
) |
Definition at line 2981 of file customdata.c.
References CD_FLAG_EXTERNAL, CustomData_get_active_layer_index(), CustomDataLayer::flag, and CustomData::layers.
Referenced by multires_external_pack_exec(), multires_external_save_exec(), and multires_external_save_invoke().
void CustomData_external_write | ( | struct CustomData * | data, |
struct ID * | id, | ||
CustomDataMask | mask, | ||
int | totelem, | ||
int | free | ||
) |
Definition at line 2830 of file customdata.c.
References CD_FLAG_EXTERNAL, CD_FLAG_IN_MEMORY, CD_TYPE_AS_MASK, cdf_create(), cdf_free(), cdf_layer_add(), cdf_layer_find(), CDF_TYPE_MESH, cdf_write_close(), cdf_write_layer(), cdf_write_open(), customdata_external_filename(), CustomData_external_read(), CustomDataLayer::data, CustomData::external, FILE_MAX, LayerTypeInfo::filesize, CustomDataLayer::flag, LayerTypeInfo::free, i, CustomData::layers, layerType_getInfo(), CustomDataLayer::name, LayerTypeInfo::size, CustomData::totlayer, CustomDataLayer::type, update(), and LayerTypeInfo::write.
Referenced by multires_external_save_exec(), and write_customdata().
void CustomData_file_write_info | ( | int | type, |
const char ** | structname, | ||
int * | structnum | ||
) |
Definition at line 2626 of file customdata.c.
References layerType_getInfo(), LayerTypeInfo::structname, and LayerTypeInfo::structnum.
Referenced by write_customdata().
void CustomData_free | ( | struct CustomData * | data, |
int | totelem | ||
) |
Definition at line 1220 of file customdata.c.
References CustomData_external_free(), customData_free_layer__internal(), i, CustomData::layers, MEM_freeN(), and CustomData::totlayer.
Referenced by BKE_mesh_calc_edges(), BME_free_mesh(), CDDM_calc_edges(), direct_link_mesh(), DM_release(), DM_to_mesh(), free_editMesh(), free_mesh(), free_undoMesh(), join_mesh_exec(), load_editMesh(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), multires_free(), and undoMesh_to_editMesh().
void CustomData_free_elem | ( | struct CustomData * | data, |
int | index, | ||
int | count | ||
) |
Definition at line 1825 of file customdata.c.
References CD_FLAG_NOFREE, CustomDataLayer::data, CustomDataLayer::flag, LayerTypeInfo::free, i, CustomData::layers, layerType_getInfo(), LayerTypeInfo::size, CustomData::totlayer, and CustomDataLayer::type.
Referenced by CDDM_lower_num_edges(), CDDM_lower_num_faces(), CDDM_lower_num_verts(), DM_free_edge_data(), DM_free_face_data(), DM_free_vert_data(), mesh_strip_loose_edges(), and mesh_strip_loose_faces().
int CustomData_free_layer | ( | struct CustomData * | data, |
int | type, | ||
int | totelem, | ||
int | index | ||
) |
Definition at line 1578 of file customdata.c.
References CustomDataLayer::active, CustomDataLayer::active_clone, CustomDataLayer::active_mask, CustomDataLayer::active_rnd, customData_free_layer__internal(), CustomData_get_layer_index(), CUSTOMDATA_GROW, customData_resize(), customData_update_offsets(), CustomData_update_typemap(), i, if(), CustomData::layers, CustomData::maxlayer, CustomData::totlayer, and CustomDataLayer::type.
Referenced by CustomData_free_layer_active(), and mesh_validate_customdata().
int CustomData_free_layer_active | ( | struct CustomData * | data, |
int | type, | ||
int | totelem | ||
) |
Definition at line 1613 of file customdata.c.
References CustomData_free_layer(), and CustomData_get_active_layer_index().
Referenced by CustomData_free_layers(), delete_customdata_layer(), EM_free_data_layer(), modifier_apply_obdata(), multires_del_higher(), multires_sync_levels(), object_modifier_remove(), RE_make_sticky(), sticky_remove_exec(), vgroup_delete_all(), and vgroup_delete_edit_mode().
void CustomData_free_layers | ( | struct CustomData * | data, |
int | type, | ||
int | totelem | ||
) |
Definition at line 1622 of file customdata.c.
References CustomData_free_layer_active(), and CustomData_has_layer().
Referenced by multires_load_old(), navmesh_clear_exec(), and navmesh_reset_exec().
void CustomData_free_temporary | ( | struct CustomData * | data, |
int | totelem | ||
) |
Definition at line 1723 of file customdata.c.
References CD_FLAG_TEMPORARY, customData_free_layer__internal(), CUSTOMDATA_GROW, customData_resize(), customData_update_offsets(), CustomDataLayer::flag, i, CustomData::layers, CustomData::maxlayer, and CustomData::totlayer.
Referenced by DM_release().
void CustomData_from_bmesh_block | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
void * | src_block, | ||
int | dest_index | ||
) |
Referenced by BME_bmesh_to_derivedmesh().
void CustomData_from_bmeshpoly | ( | struct CustomData * | fdata, |
struct CustomData * | pdata, | ||
struct CustomData * | ldata, | ||
int | total | ||
) |
Definition at line 2319 of file customdata.c.
References CD_CALLOC, CD_MCOL, CD_MLOOPCOL, CD_MTEXPOLY, CD_MTFACE, CustomData_add_layer(), i, CustomData::layers, CustomDataLayer::name, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_bmesh_to_derivedmesh(), and BME_bmesh_to_editmesh().
void CustomData_from_em_block | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
void * | block, | ||
int | index | ||
) |
Referenced by CDDM_from_editmesh(), editMesh_to_undoMesh(), and load_editMesh().
void* CustomData_get | ( | const struct CustomData * | data, |
int | index, | ||
int | type | ||
) |
Referenced by CustomData_set(), direct_link_mesh(), DM_get_edge_data(), DM_get_face_data(), DM_get_vert_data(), and join_mesh_exec().
int CustomData_get_active_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by copy_editface_active_customdata(), and EM_mesh_copy_face_layer().
int CustomData_get_active_layer_index | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by bc_CustomData_get_active_layer_name(), convert_tfacematerial(), GeometryExporter::createVertexColorSource(), CustomData_bmesh_get(), CustomData_duplicate_referenced_layer(), CustomData_em_get(), CustomData_external_add(), CustomData_external_remove(), CustomData_external_test(), CustomData_free_layer_active(), CustomData_get(), CustomData_get_layer(), CustomData_is_referenced_layer(), CustomData_set_layer(), CustomData_validate_layer_name(), delete_customdata_layer(), DM_vertex_attributes_from_gpu(), do_version_tface(), ED_mesh_color_remove(), ED_mesh_uv_texture_remove(), RE_inithalo_particle(), RE_sample_material_color(), and render_new_particle_system().
int CustomData_get_clone_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by project_paint_begin().
int CustomData_get_clone_layer_index | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by delete_customdata_layer().
void* CustomData_get_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by apply_heights_callback(), apply_tangmat_callback(), applyModifier(), BKE_mesh_calc_edges(), BKE_mesh_ensure_navmesh(), buildRawVertIndicesData(), CDDM_calc_edges(), CDDM_calc_normals(), cdDM_drawFacesSolid(), CDDM_from_mesh(), CDDM_from_template(), CDDM_new(), cdDM_update_normals_from_pbvh(), count_images(), dm_calc_normal(), DM_get_edge_data_layer(), DM_get_face_data_layer(), DM_get_vert_data_layer(), dm_getEdgeArray(), dm_getFaceArray(), dm_getVertArray(), DM_to_mesh(), get_levels_from_disps(), get_particle_uv(), mesh_update_customdata_pointers(), multires_apply_smat(), multires_del_higher(), multires_load_old_250(), multires_load_old_vcols(), multires_set_tot_mdisps(), multires_subdivide(), multires_topology_changed(), multiresbake_startjob(), multiresModifier_del_levels(), multiresModifier_disp_run(), multiresModifier_set_levels_from_disps(), multiresModifier_update(), psys_get_dupli_texture(), psys_particle_on_dm(), and sculpt_multires_active().
int CustomData_get_layer_index | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by MeshImporter::assign_textures_to_uvlayer(), bc_CustomData_get_layer_name(), customData_add_layer__internal(), CustomData_bmesh_get_n(), CustomData_free_layer(), CustomData_get_layer_index_n(), CustomData_has_layer(), delete_customdata_layer(), DM_add_tangent_layer(), DM_vertex_attributes_from_gpu(), do_multires_bake(), emDM_getFaceDataArray(), init_render_mesh(), RE_inithalo_particle(), RE_sample_material_color(), and render_new_particle_system().
int CustomData_get_layer_index_n | ( | const struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1262 of file customdata.c.
References CustomData_get_layer_index(), i, CustomData::layers, and CustomDataLayer::type.
Referenced by CustomData_em_get_n(), CustomData_get_layer_n(), CustomData_set_layer_n(), and CustomData_set_layer_name().
void* CustomData_get_layer_n | ( | const struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
void* CustomData_get_layer_named | ( | const struct CustomData * | data, |
int | type, | ||
const char * | name | ||
) |
Definition at line 1965 of file customdata.c.
References CustomData_get_named_layer_index(), CustomDataLayer::data, CustomData::layers, and NULL.
Referenced by MeshImporter::assign_material_to_geom(), dynamicPaint_createUVSurface(), dynamicPaint_findNeighbourPixel(), dynamicPaint_Modifier_apply(), dynamicPaint_setInitialColor(), explodeMesh(), get_particle_uv(), and get_texture_coords().
void* CustomData_get_n | ( | const struct CustomData * | data, |
int | type, | ||
int | index, | ||
int | n | ||
) |
int CustomData_get_named_layer_index | ( | const struct CustomData * | data, |
int | type, | ||
const char * | name | ||
) |
int CustomData_get_render_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
int CustomData_get_render_layer_index | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by delete_customdata_layer().
int CustomData_get_stencil_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by project_paint_begin().
int CustomData_get_stencil_layer_index | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by delete_customdata_layer().
int CustomData_has_layer | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by BKE_mesh_ensure_navmesh(), GeometryExporter::createVertexColorSource(), customData_add_layer__internal(), CustomData_free_layers(), delete_customdata_layer(), DM_to_mesh(), draw_mesh_textured_old(), draw_uvs_dm_shadow(), ED_uvedit_assign_image(), ED_vgroup_give_parray(), ED_vgroup_mirror(), editmesh_calc_modifiers(), editmesh_get_derived(), editmesh_mark_seam(), EM_get_active_mtface(), EM_texFaceCheck(), EM_vertColorCheck(), get_texture_coords(), merge_firstlast(), merge_target(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), mesh_calc_modifiers(), mouse_mesh_shortest_path(), navmesh_face_add_exec(), navmesh_face_copy_exec(), navmesh_obmode_data_poll(), GeometryExporter::operator()(), project_paint_begin(), RE_set_customdata_names(), CcdShapeConstructionInfo::UpdateMesh(), uvprojectModifier_do(), and vgroup_assign_verts().
void CustomData_interp | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
int * | src_indices, | ||
float * | weights, | ||
float * | sub_weights, | ||
int | count, | ||
int | dest_index | ||
) |
Referenced by DM_interp_edge_data(), DM_interp_face_data(), DM_interp_vert_data(), and InterpCSGFace().
int CustomData_is_referenced_layer | ( | struct CustomData * | data, |
int | type | ||
) |
Definition at line 1709 of file customdata.c.
References CD_FLAG_NOFREE, CustomData_get_active_layer_index(), CustomDataLayer::flag, and CustomData::layers.
const char* CustomData_layertype_name | ( | int | type | ) |
Definition at line 2641 of file customdata.c.
References layerType_getName().
void CustomData_merge | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
CustomDataMask | mask, | ||
int | alloctype, | ||
int | totelem | ||
) |
Definition at line 1138 of file customdata.c.
References CustomDataLayer::active, CustomDataLayer::active_clone, CustomDataLayer::active_mask, CustomDataLayer::active_rnd, CD_ASSIGN, CD_FLAG_EXTERNAL, CD_FLAG_IN_MEMORY, CD_FLAG_NOCOPY, CD_FLAG_NOFREE, CD_REFERENCE, CD_TYPE_AS_MASK, customData_add_layer__internal(), CustomData_number_of_layers(), CustomData_update_typemap(), CustomDataLayer::data, CustomDataLayer::flag, i, CustomData::layers, CustomDataLayer::name, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_bmesh_to_derivedmesh(), CDDM_from_editmesh(), CDDM_from_mesh(), ConvertCSGDescriptorsToDerivedMesh(), CustomData_copy(), and join_mesh_exec().
int CustomData_number_of_layers | ( | const struct CustomData * | data, |
int | type | ||
) |
Referenced by InstanceWriter::add_material_bindings(), BME_bmesh_to_derivedmesh(), BME_bmesh_to_editmesh(), BME_derivedmesh_to_bmesh(), BME_editmesh_to_bmesh(), GeometryExporter::createPolylist(), createSlideVerts(), GeometryExporter::createTexcoordsSource(), CustomData_merge(), cutEdges(), ED_mesh_color_add(), ED_mesh_uv_texture_add(), EM_mesh_copy_face_layer(), getActiveUVLayerName(), getCCGDerivedMesh(), RE_sample_material_color(), RE_set_customdata_names(), and render_new_particle_system().
void CustomData_set | ( | const struct CustomData * | data, |
int | index, | ||
int | type, | ||
void * | source | ||
) |
Referenced by DM_set_edge_data(), DM_set_face_data(), and DM_set_vert_data().
void* CustomData_set_layer | ( | const struct CustomData * | data, |
int | type, | ||
void * | ptr | ||
) |
Referenced by load_editMesh().
void CustomData_set_layer_active | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1373 of file customdata.c.
References CustomDataLayer::active, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by delete_customdata_layer(), ED_mesh_color_add(), ED_mesh_uv_texture_add(), and EM_mesh_copy_face_layer().
void CustomData_set_layer_active_index | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1410 of file customdata.c.
References CustomDataLayer::active, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
void CustomData_set_layer_clone | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1391 of file customdata.c.
References CustomDataLayer::active_clone, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by delete_customdata_layer().
void CustomData_set_layer_clone_index | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1428 of file customdata.c.
References CustomDataLayer::active_clone, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
void CustomData_set_layer_flag | ( | struct CustomData * | data, |
int | type, | ||
int | flag | ||
) |
Definition at line 1446 of file customdata.c.
References CustomDataLayer::flag, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by dm_getEdgeArray(), dm_getFaceArray(), and dm_getVertArray().
void* CustomData_set_layer_n | ( | const struct CustomData * | data, |
int | type, | ||
int | n, | ||
void * | ptr | ||
) |
Definition at line 2000 of file customdata.c.
References CustomData_get_layer_index_n(), CustomDataLayer::data, CustomData::layers, and NULL.
int CustomData_set_layer_name | ( | const struct CustomData * | data, |
int | type, | ||
int | n, | ||
const char * | name | ||
) |
void CustomData_set_layer_render | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1382 of file customdata.c.
References CustomDataLayer::active_rnd, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by delete_customdata_layer().
void CustomData_set_layer_render_index | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1419 of file customdata.c.
References CustomDataLayer::active_rnd, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
void CustomData_set_layer_stencil | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1400 of file customdata.c.
References CustomDataLayer::active_mask, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by delete_customdata_layer().
void CustomData_set_layer_stencil_index | ( | struct CustomData * | data, |
int | type, | ||
int | n | ||
) |
Definition at line 1437 of file customdata.c.
References CustomDataLayer::active_mask, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
void CustomData_set_layer_unique_name | ( | struct CustomData * | data, |
int | index | ||
) |
Definition at line 2683 of file customdata.c.
References BLI_uniquename_cb(), customdata_unique_check(), data, LayerTypeInfo::defaultname, CustomData::layers, layerType_getInfo(), CustomDataLayer::name, and CustomDataLayer::type.
Referenced by customData_add_layer__internal().
void CustomData_set_only_copy | ( | const struct CustomData * | data, |
CustomDataMask | mask | ||
) |
Definition at line 1748 of file customdata.c.
References CD_FLAG_NOCOPY, CD_TYPE_AS_MASK, CustomDataLayer::flag, i, CustomData::layers, CustomData::totlayer, and CustomDataLayer::type.
Referenced by DM_set_only_copy().
int CustomData_sizeof | ( | int | type | ) |
Definition at line 2634 of file customdata.c.
References layerType_getInfo(), and LayerTypeInfo::size.
Referenced by emDM_getFaceDataArray(), and sort_faces_exec().
void CustomData_swap | ( | struct CustomData * | data, |
int | index, | ||
const int * | corner_indices | ||
) |
Definition at line 1903 of file customdata.c.
References CustomDataLayer::data, i, CustomData::layers, layerType_getInfo(), LayerTypeInfo::size, LayerTypeInfo::swap, CustomData::totlayer, and CustomDataLayer::type.
Referenced by DM_swap_face_data(), and test_index_face().
void CustomData_to_bmesh_block | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
int | src_index, | ||
void ** | dest_block | ||
) |
Referenced by BME_derivedmesh_to_bmesh().
void CustomData_to_bmeshpoly | ( | struct CustomData * | fdata, |
struct CustomData * | pdata, | ||
struct CustomData * | ldata | ||
) |
Definition at line 2307 of file customdata.c.
References CD_CALLOC, CD_MCOL, CD_MLOOPCOL, CD_MLOOPUV, CD_MTEXPOLY, CD_MTFACE, CustomData_add_layer(), i, CustomData::layers, CustomDataLayer::name, CustomData::totlayer, and CustomDataLayer::type.
Referenced by BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
void CustomData_to_em_block | ( | const struct CustomData * | source, |
struct CustomData * | dest, | ||
int | index, | ||
void ** | block | ||
) |
Referenced by make_editMesh(), and undoMesh_to_editMesh().
void CustomData_update_typemap | ( | struct CustomData * | data | ) |
Definition at line 1119 of file customdata.c.
References BLI_assert, CD_NUMTYPES, i, CustomData::layers, CustomData::totlayer, CustomDataLayer::type, and CustomData::typemap.
Referenced by CustomData_add_layer(), CustomData_add_layer_named(), CustomData_free_layer(), CustomData_merge(), customData_update_offsets(), and direct_link_customdata().
void CustomData_validate_layer_name | ( | const struct CustomData * | data, |
int | type, | ||
char * | name, | ||
char * | outname | ||
) |
int CustomData_verify_versions | ( | struct CustomData * | data, |
int | index | ||
) |
Definition at line 2718 of file customdata.c.
References CD_NUMTYPES, LayerTypeInfo::defaultname, i, CustomData::layers, layerType_getInfo(), CustomData::totlayer, and CustomDataLayer::type.
Referenced by direct_link_customdata().
Definition at line 1080 of file customdata.c.
Referenced by add_verts_to_dgroups(), brush_add(), connect_hair(), crazyspace_get_mapped_editverts(), dm_deform_recalc(), draw_mesh_text(), draw_object_backbufsel(), draw_object_mesh_instance(), draw_uvs(), dupli_render_particle_set(), ED_view3d_screen_datamask(), face_duplilist(), get_multires_dm(), imapaint_pick_uv(), init_render_mesh(), init_render_object_data(), initElbeemMesh(), join_mesh_shapes_exec(), mesh_deform_bind(), mesh_foreachScreenEdge(), mesh_foreachScreenFace(), mesh_foreachScreenVert(), mesh_get_mapped_verts_nors(), multires_apply_smat(), multires_subdivide(), multiresModifier_base_apply(), multiresModifier_reshape(), multiresModifier_update(), NewBooleanMesh(), object_handle_update(), GeometryExporter::operator()(), peelObjects(), pointdensity_cache_object(), pointdensity_cache_psys(), sculpt_update_mesh_elements(), snapObject(), vertex_duplilist(), vertex_parent_set_exec(), vgroup_fix(), and weight_sample_invoke().
const CustomDataMask CD_MASK_BMESH |
Definition at line 1093 of file customdata.c.
Referenced by BME_bmesh_to_derivedmesh(), BME_bmesh_to_editmesh(), BME_derivedmesh_to_bmesh(), and BME_editmesh_to_bmesh().
Definition at line 1089 of file customdata.c.
Referenced by CDDM_from_editmesh(), ConvertCSGDescriptorsToDerivedMesh(), and DM_from_template().
Definition at line 1086 of file customdata.c.
Referenced by editMesh_to_undoMesh(), make_editMesh(), mesh_separate_selected(), and undoMesh_to_editMesh().
Definition at line 1095 of file customdata.c.
const CustomDataMask CD_MASK_MESH |
Definition at line 1082 of file customdata.c.
Referenced by KX_NavMeshObject::BuildVertIndArrays(), CDDM_from_mesh(), convert_exec(), copy_mesh(), createVertsTrisData(), DM_to_mesh(), BL_ModifierDeformer::GetPhysicsMesh(), join_mesh_exec(), load_editMesh(), mesh_add_edges(), mesh_add_faces(), mesh_add_verts(), mesh_to_curve(), mesh_validate_customdata(), multires_external_save_exec(), BL_ModifierDeformer::Update(), and write_customdata().