Blender  V3.3
Namespaces | Functions
attribute_access.cc File Reference
#include <utility>
#include "BKE_attribute_math.hh"
#include "BKE_customdata.h"
#include "BKE_deform.h"
#include "BKE_geometry_fields.hh"
#include "BKE_geometry_set.hh"
#include "BKE_mesh.h"
#include "BKE_pointcloud.h"
#include "BKE_type_conversions.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_pointcloud_types.h"
#include "BLI_color.hh"
#include "BLI_math_vec_types.hh"
#include "BLI_span.hh"
#include "BLT_translation.h"
#include "CLG_log.h"
#include "attribute_access_intern.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::bke
 

Functions

std::ostream & blender::bke::operator<< (std::ostream &stream, const AttributeIDRef &attribute_id)
 
bool blender::bke::allow_procedural_attribute_access (StringRef attribute_name)
 
static int blender::bke::attribute_data_type_complexity (const eCustomDataType data_type)
 
eCustomDataType blender::bke::attribute_data_type_highest_complexity (Span< eCustomDataType > data_types)
 
static int blender::bke::attribute_domain_priority (const eAttrDomain domain)
 
eAttrDomain blender::bke::attribute_domain_highest_priority (Span< eAttrDomain > domains)
 
static AttributeIDRef blender::bke::attribute_id_from_custom_data_layer (const CustomDataLayer &layer)
 
static bool blender::bke::add_builtin_type_custom_data_layer_from_init (CustomData &custom_data, const eCustomDataType data_type, const int domain_num, const AttributeInit &initializer)
 
static voidblender::bke::add_generic_custom_data_layer (CustomData &custom_data, const eCustomDataType data_type, const eCDAllocType alloctype, void *layer_data, const int domain_num, const AttributeIDRef &attribute_id)
 
static bool blender::bke::add_custom_data_layer_from_attribute_init (const AttributeIDRef &attribute_id, CustomData &custom_data, const eCustomDataType data_type, const int domain_num, const AttributeInit &initializer)
 
static bool blender::bke::custom_data_layer_matches_attribute_id (const CustomDataLayer &layer, const AttributeIDRef &attribute_id)
 
Geometry Component
static blender::GVArray blender::bke::try_adapt_data_type (blender::GVArray varray, const blender::CPPType &to_type)
 
static StringRef blender::bke::get_random_id_attribute_name (const eAttrDomain domain)
 
Vector< AttributeTransferData > blender::bke::retrieve_attributes_for_transfer (const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes, eAttrDomainMask domain_mask, const Set< std::string > &skip={})