|
Blender V5.0
|
#include <BKE_attribute_storage.hh>
Static Public Member Functions | |
| static SingleData | from_value (const GPointer &value) |
| static SingleData | from_default_value (const CPPType &type) |
Public Attributes | |
| void * | value |
| ImplicitSharingPtr | sharing_info |
Data for an attribute stored as a single value for the entire domain.
Definition at line 53 of file BKE_attribute_storage.hh.
|
static |
Definition at line 121 of file attribute_storage.cc.
References blender::CPPType::default_value(), and from_value().
|
static |
Definition at line 110 of file attribute_storage.cc.
References blender::CPPType::alignment, BLI_assert, blender::CPPType::copy_construct(), blender::bke::Attribute::data(), blender::implicit_sharing::info_for_mem_free(), blender::CPPType::is_trivially_destructible, MEM_mallocN_aligned(), blender::CPPType::size, and value.
Referenced by blender::bke::Attribute::data_for_write(), and from_default_value().
| ImplicitSharingPtr blender::bke::Attribute::SingleData::sharing_info |
Definition at line 57 of file BKE_attribute_storage.hh.
| void* blender::bke::Attribute::SingleData::value |
Definition at line 56 of file BKE_attribute_storage.hh.
Referenced by from_value().