|
Blender V5.3
|
#include <DNA_attribute_types.h>
Public Attributes | |
| void * | data = nullptr |
| const ImplicitSharingInfoHandle * | sharing_info = nullptr |
| int64_t | size = 0 |
| int8_t | is_single = 0 |
| char | _pad [7] = {} |
DNA data for bke::Attribute::ArrayData.
Definition at line 23 of file DNA_attribute_types.h.
| char blender::AttributeArray::_pad[7] = {} |
Definition at line 35 of file DNA_attribute_types.h.
| void* blender::AttributeArray::data = nullptr |
Definition at line 24 of file DNA_attribute_types.h.
Referenced by blender::bke::attribute_storage_blend_write_prepare(), blender::bke::AttributeStorage::blend_write(), and blender::bke::mesh_skin_to_legacy().
| int8_t blender::AttributeArray::is_single = 0 |
Blender 5.0 (the first version to read AttributeStorage) does not fully support single value storage at runtime, even though it supports reading it from the file. The purpose of this field is to let versions 5.1 and later detect that the storage is a single value, while still being compatible with 5.0, which doesn't have this field and will just use array storage.
Definition at line 34 of file DNA_attribute_types.h.
| const ImplicitSharingInfoHandle* blender::AttributeArray::sharing_info = nullptr |
Definition at line 25 of file DNA_attribute_types.h.
Referenced by blender::bke::AttributeStorage::blend_write().
| int64_t blender::AttributeArray::size = 0 |
Definition at line 27 of file DNA_attribute_types.h.
Referenced by blender::bke::AttributeStorage::blend_write().