|
Blender V5.3
|
Public Attributes | |
| int | size = 0 |
| int | alignment = 0 |
| const char * | structname = nullptr |
| int | structnum = 0 |
| const char * | defaultname = nullptr |
| cd_copy | copy = nullptr |
| cd_free | free = nullptr |
| cd_interp | interp = nullptr |
| void(*) | swap (void *data, const int *corner_indices) = nullptr |
| cd_set_default_value | set_default_value = nullptr |
| void(*) | construct (void *data, int count) = nullptr |
| cd_validate | validate = nullptr |
| bool(*) | equal (const void *data1, const void *data2) = nullptr |
| void(*) | multiply (void *data, float fac) = nullptr |
| void(*) | initminmax (void *min, void *max) = nullptr |
| void(*) | add (void *data1, const void *data2) = nullptr |
| void(*) | dominmax (const void *data1, void *min, void *max) = nullptr |
| void(*) | copyvalue (const void *source, void *dest, int mixmode, const float mixfactor) = nullptr |
| bool(*) | read (CDataFile *cdf, void *data, int count) = nullptr |
| bool(*) | write (CDataFile *cdf, const void *data, int count) = nullptr |
| size_t(*) | filesize (CDataFile *cdf, const void *data, int count) = nullptr |
| int(*) | layers_max () = nullptr |
Definition at line 115 of file customdata.cc.
| void(*) blender::LayerTypeInfo::add(void *data1, const void *data2) = nullptr |
Definition at line 180 of file customdata.cc.
Referenced by blender::CustomData_data_add(), and blender::CustomData_layer_has_math().
| int blender::LayerTypeInfo::alignment = 0 |
Definition at line 117 of file customdata.cc.
Referenced by blender::copy_layer_data(), blender::customData_add_layer__internal(), blender::CustomData_realloc(), and blender::customData_update_offsets().
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 171 of file customdata.cc.
Referenced by blender::customData_add_layer__internal(), and blender::CustomData_realloc().
a function to copy count elements of this layer's data (deep copy if appropriate) if null, memcpy is used
Definition at line 137 of file customdata.cc.
Referenced by blender::copy_layer_data(), blender::CustomData_bmesh_copy_block(), blender::CustomData_bmesh_copy_map_calc(), blender::CustomData_bmesh_set_n(), blender::CustomData_copy_data_layer(), blender::CustomData_copy_elements(), blender::CustomData_data_copy_value(), blender::customdata_data_transfer_interp_generic(), and blender::CustomData_realloc().
| void(*) blender::LayerTypeInfo::copyvalue(const void *source, void *dest, int mixmode, const float mixfactor) = nullptr |
Definition at line 182 of file customdata.cc.
Referenced by blender::CustomData_data_mix_value().
| const char* blender::LayerTypeInfo::defaultname = nullptr |
default layer name.
Definition at line 130 of file customdata.cc.
Referenced by blender::CustomData_add_layer(), blender::customData_add_layer__internal(), blender::CustomData_add_layer_with_data(), blender::CustomData_layertype_is_singleton(), blender::CustomData_layertype_layers_max(), blender::CustomData_set_layer_unique_name(), and blender::CustomData_verify_versions().
Definition at line 181 of file customdata.cc.
Referenced by blender::CustomData_data_dominmax(), and blender::CustomData_layer_has_math().
| bool(*) blender::LayerTypeInfo::equal(const void *data1, const void *data2) = nullptr |
Functions necessary for geometry collapse.
Definition at line 177 of file customdata.cc.
Referenced by blender::CustomData_data_equals(), and blender::CustomData_layer_has_math().
A function to determine file size.
Definition at line 191 of file customdata.cc.
Referenced by blender::CustomData_external_write().
a function to destruct this layer's data.
Definition at line 144 of file customdata.cc.
Referenced by blender::CustomData_bmesh_copy_block(), blender::CustomData_bmesh_copy_map_calc(), blender::CustomData_bmesh_free_block(), blender::CustomData_bmesh_free_block_data(), blender::CustomData_bmesh_has_free(), blender::CustomData_external_reload(), blender::CustomData_external_write(), blender::CustomData_free_elem(), blender::CustomData_layertype_is_dynamic(), and blender::free_layer_data().
Definition at line 179 of file customdata.cc.
Referenced by blender::CustomData_data_initminmax(), and blender::CustomData_layer_has_math().
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 157 of file customdata.cc.
Referenced by blender::CustomData_bmesh_interp(), blender::CustomData_bmesh_interp_n(), blender::customdata_data_transfer_interp_generic(), blender::customdata_data_transfer_interp_normal_normals(), blender::CustomData_interp(), and blender::CustomData_layer_has_interp().
| int(*) blender::LayerTypeInfo::layers_max() = nullptr |
A function to determine max allowed number of layers, should be null or return -1 if no limit.
Definition at line 197 of file customdata.cc.
Referenced by blender::CustomData_layertype_layers_max().
Definition at line 178 of file customdata.cc.
Referenced by blender::CustomData_data_multiply(), and blender::CustomData_layer_has_math().
A function to read data from a cdf file.
Definition at line 185 of file customdata.cc.
Referenced by blender::CustomData_external_read().
| cd_set_default_value blender::LayerTypeInfo::set_default_value = nullptr |
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 166 of file customdata.cc.
Referenced by blender::customData_add_layer__internal(), blender::CustomData_bmesh_copy_map_calc(), blender::CustomData_data_set_default_value(), blender::CustomData_layer_ensure_data_exists(), and blender::CustomData_realloc().
| int blender::LayerTypeInfo::size = 0 |
Definition at line 116 of file customdata.cc.
Referenced by blender::copy_layer_data(), blender::customData_add_layer__internal(), blender::CustomData_bmesh_copy_block(), blender::CustomData_bmesh_copy_map_calc(), blender::CustomData_bmesh_set_n(), blender::CustomData_copy_data_layer(), blender::CustomData_copy_elements(), blender::CustomData_data_copy_value(), blender::CustomData_data_equals(), blender::CustomData_data_mix_value(), blender::CustomData_data_set_default_value(), blender::CustomData_data_transfer(), blender::customdata_data_transfer_interp_generic(), blender::CustomData_free_elem(), blender::CustomData_get_elem_size(), blender::CustomData_interp(), blender::CustomData_layer_ensure_data_exists(), blender::CustomData_realloc(), blender::CustomData_sizeof(), blender::CustomData_swap_corners(), and blender::customData_update_offsets().
| const char* blender::LayerTypeInfo::structname = nullptr |
name of the struct used, for file writing
Definition at line 120 of file customdata.cc.
Referenced by blender::get_type_file_write_info().
| int blender::LayerTypeInfo::structnum = 0 |
number of structs per element, for file writing
Definition at line 122 of file customdata.cc.
Referenced by blender::CustomData_verify_versions(), and blender::get_type_file_write_info().
a function to swap the data in corners of the element
Definition at line 160 of file customdata.cc.
Referenced by blender::CustomData_swap_corners().
| cd_validate blender::LayerTypeInfo::validate = nullptr |
A function used by mesh validating code, must ensures passed item has valid data.
Definition at line 174 of file customdata.cc.
A function to write data to a cdf file.
Definition at line 188 of file customdata.cc.
Referenced by blender::CustomData_external_write().