|
Blender V5.3
|
#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 62 of file BKE_attribute_storage.hh.
|
static |
Definition at line 115 of file attribute_storage.cc.
References blender::bke::default_value_for_type(), and from_value().
Referenced by blender::bke::tests::TEST_F().
|
static |
Definition at line 105 of file attribute_storage.cc.
References blender::bke::Attribute::data(), blender::GPointer::get(), blender::GSpan::GSpan(), blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, sharing_info, blender::GPointer::type(), and value.
Referenced by blender::bke::attribute_init_to_data(), blender::bke::Attribute::data_for_write(), blender::bke::CurvesGeometry::fill_curve_types(), from_default_value(), blender::AttrSingleValueChecker::optimize_storage(), and blender::bke::read_attr_data().
| ImplicitSharingPtr blender::bke::Attribute::SingleData::sharing_info |
Definition at line 66 of file BKE_attribute_storage.hh.
Referenced by from_value().
| void* blender::bke::Attribute::SingleData::value |
Definition at line 65 of file BKE_attribute_storage.hh.
Referenced by from_value().