Blender  V2.93
Public Member Functions | List of all members
blender::bke::ArrayReadAttribute< T > Class Template Referencefinal

#include <attribute_access_intern.hh>

Inherits blender::bke::ReadAttribute.

Public Member Functions

 ArrayReadAttribute (AttributeDomain domain, Span< T > data)
 
void get_internal (const int64_t index, void *r_value) const override
 
void initialize_span () const override
 
- Public Member Functions inherited from blender::bke::ReadAttribute
 ReadAttribute (AttributeDomain domain, const CPPType &cpp_type, const int64_t size)
 
AttributeDomain domain () const
 
const CPPTypecpp_type () const
 
CustomDataType custom_data_type () const
 
int64_t size () const
 
void get (const int64_t index, void *r_value) const
 
template<typename T >
Span< Tget_span () const
 
virtual ~ReadAttribute ()
 
fn::GSpan get_span () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::bke::ReadAttribute
- Protected Attributes inherited from blender::bke::ReadAttribute
const AttributeDomain domain_
 
const CPPTypecpp_type_
 
const CustomDataType custom_data_type_
 
const int64_t size_
 
std::mutex span_mutex_
 
void * array_buffer_ = nullptr
 
bool array_is_temporary_ = false
 

Detailed Description

template<typename T>
class blender::bke::ArrayReadAttribute< T >

Definition at line 62 of file attribute_access_intern.hh.

Constructor & Destructor Documentation

◆ ArrayReadAttribute()

template<typename T >
blender::bke::ArrayReadAttribute< T >::ArrayReadAttribute ( AttributeDomain  domain,
Span< T data 
)
inline

Definition at line 67 of file attribute_access_intern.hh.

References data_.

Member Function Documentation

◆ get_internal()

template<typename T >
void blender::bke::ArrayReadAttribute< T >::get_internal ( const int64_t  index,
void *  r_value 
) const
inlineoverridevirtual

Implements blender::bke::ReadAttribute.

Definition at line 72 of file attribute_access_intern.hh.

References data_, and T.

◆ initialize_span()

template<typename T >
void blender::bke::ArrayReadAttribute< T >::initialize_span ( ) const
inlineoverridevirtual

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