Blender V5.3
attribute_storage.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

static Attribute::ArrayData blender::bke::array_data_from_garray (GArray<> array)
static GPointer blender::bke::default_value_for_type (const CPPType &type)
static bool blender::bke::read_array_data (BlendDataReader &reader, const int8_t dna_attr_type, const int64_t size, void **data)
static void blender::bke::read_shared_array (BlendDataReader &reader, const int8_t dna_attr_type, const int64_t size, void **data, const ImplicitSharingInfo **sharing_info)
static std::optional< Attribute::DataVariant > blender::bke::read_attr_data (BlendDataReader &reader, const int8_t dna_storage_type, const int8_t dna_attr_type, blender::Attribute &dna_attr)
static std::optional< AttrDomain > blender::bke::read_attr_domain (const int8_t dna_domain)
static void blender::bke::write_array_data (BlendWriter &writer, const AttrType data_type, const void *data, const int64_t size)
void blender::bke::attribute_storage_blend_write_prepare (AttributeStorage &data, bool use_5_0_compatibility, FunctionRef< int(AttrDomain)> get_domain_size, AttributeStorage::BlendWriteData &write_data)
static void blender::bke::write_shared_array (BlendWriter &writer, const AttrType data_type, const void *data, const int64_t size, const ImplicitSharingInfo *sharing_info)

Variables

static CLG_LogRef blender::LOG = {"geom.attribute"}