|
Blender V5.0
|
Public Attributes | |
| int | size |
| int | alignment |
| const char * | structname |
| int | structnum |
| const char * | defaultname |
| cd_copy | copy |
| cd_free | free |
| cd_interp | interp |
| void(* | swap )(void *data, const int *corner_indices) |
| cd_set_default_value | set_default_value |
| void(* | construct )(void *data, int count) |
| cd_validate | validate |
| bool(* | equal )(const void *data1, const void *data2) |
| void(* | multiply )(void *data, float fac) |
| void(* | initminmax )(void *min, void *max) |
| void(* | add )(void *data1, const void *data2) |
| void(* | dominmax )(const void *data1, void *min, void *max) |
| void(* | copyvalue )(const void *source, void *dest, int mixmode, const float mixfactor) |
| bool(* | read )(CDataFile *cdf, void *data, int count) |
| bool(* | write )(CDataFile *cdf, const void *data, int count) |
| size_t(* | filesize )(CDataFile *cdf, const void *data, int count) |
| int(* | layers_max )() |
Definition at line 122 of file customdata.cc.
| void(* LayerTypeInfo::add) (void *data1, const void *data2) |
Definition at line 187 of file customdata.cc.
Referenced by CustomData_data_add(), and CustomData_layer_has_math().
| int LayerTypeInfo::alignment |
Definition at line 124 of file customdata.cc.
Referenced by copy_layer_data(), customData_add_layer__internal(), and CustomData_realloc().
Construct and fill a valid value for the type. Necessary for non-trivial types. Memory pointed to by data is expected to be uninitialized.
Definition at line 178 of file customdata.cc.
Referenced by customData_add_layer__internal(), and CustomData_realloc().
| cd_copy LayerTypeInfo::copy |
a function to copy count elements of this layer's data (deep copy if appropriate) if null, memcpy is used
Definition at line 144 of file customdata.cc.
Referenced by copy_layer_data(), CustomData_bmesh_copy_block(), CustomData_bmesh_copy_map_calc(), CustomData_bmesh_set_n(), CustomData_copy_data_layer(), CustomData_copy_elements(), CustomData_data_copy_value(), customdata_data_transfer_interp_generic(), and CustomData_realloc().
| void(* LayerTypeInfo::copyvalue) (const void *source, void *dest, int mixmode, const float mixfactor) |
Definition at line 189 of file customdata.cc.
Referenced by CustomData_data_mix_value().
| const char* LayerTypeInfo::defaultname |
default layer name.
Definition at line 137 of file customdata.cc.
Referenced by CustomData_add_layer(), customData_add_layer__internal(), CustomData_add_layer_with_data(), CustomData_layertype_is_singleton(), CustomData_layertype_layers_max(), CustomData_set_layer_unique_name(), and CustomData_verify_versions().
Definition at line 188 of file customdata.cc.
Referenced by CustomData_data_dominmax(), and CustomData_layer_has_math().
| bool(* LayerTypeInfo::equal) (const void *data1, const void *data2) |
Functions necessary for geometry collapse.
Definition at line 184 of file customdata.cc.
Referenced by CustomData_data_equals(), and CustomData_layer_has_math().
A function to determine file size.
Definition at line 198 of file customdata.cc.
Referenced by CustomData_external_write().
| cd_free LayerTypeInfo::free |
a function to destruct this layer's data.
Definition at line 151 of file customdata.cc.
Referenced by CustomData_bmesh_copy_block(), CustomData_bmesh_copy_map_calc(), CustomData_bmesh_free_block(), CustomData_bmesh_free_block_data(), CustomData_bmesh_has_free(), CustomData_external_reload(), CustomData_external_write(), CustomData_free_elem(), CustomData_layertype_is_dynamic(), and free_layer_data().
Definition at line 186 of file customdata.cc.
Referenced by CustomData_data_initminmax(), and CustomData_layer_has_math().
| cd_interp LayerTypeInfo::interp |
a function to interpolate between count source elements of this layer's data and store the result in dest if weights == null they should default to 1
weights gives the weight for each element in sources count gives the number of elements in sources
Definition at line 164 of file customdata.cc.
Referenced by CustomData_bmesh_interp(), CustomData_bmesh_interp_n(), customdata_data_transfer_interp_generic(), customdata_data_transfer_interp_normal_normals(), CustomData_interp(), and CustomData_layer_has_interp().
| int(* LayerTypeInfo::layers_max) () |
A function to determine max allowed number of layers, should be null or return -1 if no limit.
Definition at line 204 of file customdata.cc.
Referenced by CustomData_layertype_layers_max().
Definition at line 185 of file customdata.cc.
Referenced by CustomData_data_multiply(), and CustomData_layer_has_math().
A function to read data from a cdf file.
Definition at line 192 of file customdata.cc.
Referenced by CustomData_external_read().
| cd_set_default_value LayerTypeInfo::set_default_value |
Set values to the type's default. If undefined, the default is assumed to be zeroes. Memory pointed to by data is expected to be uninitialized.
Definition at line 173 of file customdata.cc.
Referenced by customData_add_layer__internal(), CustomData_bmesh_copy_map_calc(), CustomData_data_set_default_value(), CustomData_layer_ensure_data_exists(), and CustomData_realloc().
| int LayerTypeInfo::size |
Definition at line 123 of file customdata.cc.
Referenced by copy_layer_data(), customData_add_layer__internal(), CustomData_bmesh_copy_block(), CustomData_bmesh_copy_map_calc(), CustomData_bmesh_set_n(), CustomData_copy_data_layer(), CustomData_copy_elements(), CustomData_data_copy_value(), CustomData_data_equals(), CustomData_data_mix_value(), CustomData_data_set_default_value(), CustomData_data_transfer(), customdata_data_transfer_interp_generic(), CustomData_free_elem(), CustomData_interp(), CustomData_layer_ensure_data_exists(), CustomData_realloc(), CustomData_sizeof(), CustomData_swap_corners(), and customData_update_offsets().
| const char* LayerTypeInfo::structname |
name of the struct used, for file writing
Definition at line 127 of file customdata.cc.
Referenced by get_type_file_write_info().
| int LayerTypeInfo::structnum |
number of structs per element, for file writing
Definition at line 129 of file customdata.cc.
Referenced by CustomData_verify_versions(), and get_type_file_write_info().
| void(* LayerTypeInfo::swap) (void *data, const int *corner_indices) |
a function to swap the data in corners of the element
Definition at line 167 of file customdata.cc.
Referenced by CustomData_swap_corners().
| cd_validate LayerTypeInfo::validate |
A function used by mesh validating code, must ensures passed item has valid data.
Definition at line 181 of file customdata.cc.
Referenced by CustomData_layer_validate().
A function to write data to a cdf file.
Definition at line 195 of file customdata.cc.
Referenced by CustomData_external_write().