Blender V4.3
BKE_attribute.hh File Reference
#include <functional>
#include <optional>
#include "BLI_function_ref.hh"
#include "BLI_generic_span.hh"
#include "BLI_generic_virtual_array.hh"
#include "BLI_offset_indices.hh"
#include "BLI_set.hh"
#include "BLI_struct_equality_utils.hh"
#include "BKE_anonymous_attribute_id.hh"
#include "BKE_attribute.h"
#include "BKE_attribute_filters.hh"

Go to the source code of this file.

Classes

struct  blender::bke::AttributeMetaData
 
struct  blender::bke::AttributeKind
 
struct  blender::bke::AttributeInit
 
struct  blender::bke::AttributeInitConstruct
 
struct  blender::bke::AttributeInitDefaultValue
 
struct  blender::bke::AttributeInitVArray
 
struct  blender::bke::AttributeInitMoveArray
 
struct  blender::bke::AttributeInitShared
 
struct  blender::bke::AttributeReader< T >
 
struct  blender::bke::AttributeValidator
 
struct  blender::bke::AttributeWriter< T >
 
struct  blender::bke::SpanAttributeWriter< T >
 
struct  blender::bke::GAttributeReader
 
struct  blender::bke::GAttributeWriter
 
struct  blender::bke::GSpanAttributeWriter
 
class  blender::bke::AttributeIter
 
struct  blender::bke::AttributeAccessorFunctions
 
class  blender::bke::AttributeAccessor
 
class  blender::bke::MutableAttributeAccessor
 
struct  blender::bke::AttributeTransferData
 

Namespaces

namespace  blender
 
namespace  blender::fn
 
namespace  blender::fn::multi_function
 
namespace  blender::bke
 

Macros

#define ATTR_DOMAIN_NUM   7
 

Typedefs

using blender::bke::AttributeForeachCallback
 

Enumerations

enum class  blender::bke::AttrDomain : int8_t {
  blender::bke::Auto = -1 , blender::bke::Point = 0 , blender::bke::Edge = 1 , blender::bke::Face = 2 ,
  blender::bke::Corner = 3 , blender::bke::Curve = 4 , blender::bke::Instance = 5 , blender::bke::Layer = 6
}
 

Functions

const CPPTypeblender::bke::custom_data_type_to_cpp_type (eCustomDataType type)
 
eCustomDataType blender::bke::cpp_type_to_custom_data_type (const CPPType &type)
 
bool blender::bke::allow_procedural_attribute_access (StringRef attribute_name)
 
eCustomDataType blender::bke::attribute_data_type_highest_complexity (Span< eCustomDataType > data_types)
 
AttrDomain blender::bke::attribute_domain_highest_priority (Span< AttrDomain > domains)
 
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)
 
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)
 
Attribute API
Vector< AttributeTransferDatablender::bke::retrieve_attributes_for_transfer (const AttributeAccessor src_attributes, MutableAttributeAccessor dst_attributes, AttrDomainMask domain_mask, const AttributeFilter &attribute_filter={})
 

Variables

const char * blender::bke::no_procedural_access_message
 

Macro Definition Documentation

◆ ATTR_DOMAIN_NUM