Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_customdata.h
| Show First 20 Lines • Show All 252 Lines • ▼ Show 20 Lines | void CustomData_bmesh_interp( | ||||
| struct CustomData *data, const void **src_blocks, | struct CustomData *data, const void **src_blocks, | ||||
| const float *weights, const float *sub_weights, int count, | const float *weights, const float *sub_weights, int count, | ||||
| void *dst_block); | void *dst_block); | ||||
| /* swaps the data in the element corners, to new corners with indices as | /* swaps the data in the element corners, to new corners with indices as | ||||
| * specified in corner_indices. for edges this is an array of length 2, for | * specified in corner_indices. for edges this is an array of length 2, for | ||||
| * faces an array of length 4 */ | * faces an array of length 4 */ | ||||
| void CustomData_swap(struct CustomData *data, int index, const int *corner_indices); | void CustomData_swap_corners(struct CustomData *data, int index, const int *corner_indices); | ||||
| void CustomData_swap(struct CustomData *data, const int index_a, const int index_b); | |||||
| /* gets a pointer to the data element at index from the first layer of type | /* gets a pointer to the data element at index from the first layer of type | ||||
| * returns NULL if there is no layer of type | * returns NULL if there is no layer of type | ||||
| */ | */ | ||||
| void *CustomData_get(const struct CustomData *data, int index, int type); | 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_get_n(const struct CustomData *data, int type, int index, int n); | ||||
| void *CustomData_bmesh_get(const struct CustomData *data, void *block, int type); | 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_n(const struct CustomData *data, void *block, int type, int n); | ||||
| ▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines | |||||