Blender V5.3
blender::bke::Attribute Class Reference

#include <BKE_attribute_storage.hh>

Classes

struct  ArrayData
struct  SingleData

Public Types

using DataVariant = std::variant<ArrayData, SingleData>

Public Member Functions

StringRefNull name () const
AttrDomain domain () const
AttrType data_type () const
AttrStorageType storage_type () const
const DataVariant & data () const
DataVariant & data_for_write ()
void assign_data (DataVariant &&data)

Public Attributes

friend AttributeStorage

Detailed Description

Data and metadata for a single geometry attribute.

Definition at line 42 of file BKE_attribute_storage.hh.

Member Typedef Documentation

◆ DataVariant

Definition at line 70 of file BKE_attribute_storage.hh.

Member Function Documentation

◆ assign_data()

◆ data()

◆ data_for_write()

◆ data_type()

◆ domain()

◆ name()

StringRefNull Attribute::name ( ) const
inline

◆ storage_type()

Member Data Documentation

◆ AttributeStorage

friend blender::bke::Attribute::AttributeStorage

Definition at line 71 of file BKE_attribute_storage.hh.


The documentation for this class was generated from the following files: