Blender V5.3
attribute_access.cc File Reference
#include <utility>
#include "BKE_anonymous_attribute_id.hh"
#include "BKE_attribute_legacy_convert.hh"
#include "BKE_attribute_math.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "BKE_geometry_set.hh"
#include "BKE_type_conversions.hh"
#include "DNA_ID.h"
#include "DNA_grease_pencil_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_pointcloud_types.h"
#include "BLI_array_utils.hh"
#include "BLI_color_types.hh"
#include "BLI_generic_array.hh"
#include "BLI_implicit_sharing.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "PRF_profile.hh"
#include "BLT_translation.hh"
#include "FN_field.hh"
#include <iostream>

Go to the source code of this file.

Classes

struct  blender::bke::FinishCallChecker

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

const CPPType & blender::bke::attribute_type_to_cpp_type (AttrType type)
AttrType blender::bke::cpp_type_to_attribute_type (const CPPType &type)
const CPPType * blender::bke::custom_data_type_to_cpp_type (eCustomDataType type)
std::optional< eCustomDataType > blender::bke::cpp_type_to_custom_data_type (const CPPType &type)
bool blender::bke::allow_procedural_attribute_access (StringRef attribute_name)
static int blender::bke::attribute_data_type_complexity (const AttrType data_type)
AttrType blender::bke::attribute_data_type_highest_complexity (Span< AttrType > data_types)
static int blender::bke::attribute_domain_priority (const AttrDomain domain)
AttrDomain blender::bke::attribute_domain_highest_priority (Span< AttrDomain > domains)
static bool blender::bke::try_add_single_value_attribute (const GVArray &src, const StringRef name, const AttrDomain dst_domain, const AttrType data_type, MutableAttributeAccessor &dst_attributes)
void blender::bke::gather_attributes (AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, const IndexMask &selection, MutableAttributeAccessor dst_attributes)
void blender::bke::gather_attributes (AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, Span< int > indices, MutableAttributeAccessor dst_attributes)
void blender::bke::gather_attributes_group_to_group (AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, OffsetIndices< int > src_offsets, OffsetIndices< int > dst_offsets, const IndexMask &selection, MutableAttributeAccessor dst_attributes)
void blender::bke::gather_attributes_to_groups (AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, OffsetIndices< int > dst_offsets, const IndexMask &src_selection, MutableAttributeAccessor dst_attributes)
void blender::bke::copy_attributes (const AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, MutableAttributeAccessor dst_attributes)
static GPointer blender::bke::get_default_for_fill (AttributeAccessor attributes, const CPPType &type, const StringRef name)
void blender::bke::copy_attributes_group_to_group (AttributeAccessor src_attributes, AttrDomain src_domain, AttrDomain dst_domain, const AttributeFilter &attribute_filter, OffsetIndices< int > src_offsets, OffsetIndices< int > dst_offsets, const IndexMask &selection, MutableAttributeAccessor dst_attributes)
void blender::bke::fill_attribute_range_default (MutableAttributeAccessor dst_attributes, AttrDomain domain, const AttributeFilter &attribute_filter, IndexRange range)
void blender::bke::transform_custom_normal_attribute (const float4x4 &transform, MutableAttributeAccessor &attributes)
Attribute API
static GVArray blender::bke::try_adapt_data_type (GVArray varray, const CPPType &to_type)
static GAttributeReader blender::bke::adapt_domain_and_type_if_necessary (GAttributeReader attribute, const std::optional< AttrDomain > domain, const std::optional< AttrType > data_type, const AttributeAccessor &accessor)
Vector< AttributeTransferData > blender::bke::retrieve_attributes_for_transfer (const AttributeAccessor src_attributes, MutableAttributeAccessor dst_attributes, Span< AttrDomain > domains, const AttributeFilter &attribute_filter={})