Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_customdata.h
| Show First 20 Lines • Show All 248 Lines • ▼ Show 20 Lines | |||||
| bool CustomData_free_layer_active(struct CustomData *data, int type, int totelem); | bool CustomData_free_layer_active(struct CustomData *data, int type, int totelem); | ||||
| /** | /** | ||||
| * Same as above, but free all layers with type. | * Same as above, but free all layers with type. | ||||
| */ | */ | ||||
| void CustomData_free_layers(struct CustomData *data, int type, int totelem); | void CustomData_free_layers(struct CustomData *data, int type, int totelem); | ||||
| /** | /** | ||||
| * Free all anonymous attributes. | |||||
| */ | |||||
| void CustomData_free_layers_anonymous(struct CustomData *data, int totelem); | |||||
| /** | |||||
| * Returns true if a layer with the specified type exists. | * Returns true if a layer with the specified type exists. | ||||
| */ | */ | ||||
| bool CustomData_has_layer(const struct CustomData *data, int type); | bool CustomData_has_layer(const struct CustomData *data, int type); | ||||
| /** | /** | ||||
| * Returns the number of layers with this type. | * Returns the number of layers with this type. | ||||
| */ | */ | ||||
| int CustomData_number_of_layers(const struct CustomData *data, int type); | int CustomData_number_of_layers(const struct CustomData *data, int type); | ||||
| ▲ Show 20 Lines • Show All 502 Lines • Show Last 20 Lines | |||||