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

#include <BKE_attribute_access.hh>

Public Member Functions

 TypedReadAttribute (ReadAttributePtr attribute)
 
 TypedReadAttribute (const ReadAttribute &attribute)
 
int64_t size () const
 
T operator[] (const int64_t index) const
 
Span< Tget_span () const
 

Detailed Description

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

Definition at line 210 of file BKE_attribute_access.hh.

Constructor & Destructor Documentation

◆ TypedReadAttribute() [1/2]

template<typename T >
blender::bke::TypedReadAttribute< T >::TypedReadAttribute ( ReadAttributePtr  attribute)
inline

Definition at line 216 of file BKE_attribute_access.hh.

References BLI_assert.

◆ TypedReadAttribute() [2/2]

template<typename T >
blender::bke::TypedReadAttribute< T >::TypedReadAttribute ( const ReadAttribute attribute)
inline

Member Function Documentation

◆ get_span()

template<typename T >
Span<T> blender::bke::TypedReadAttribute< T >::get_span ( ) const
inline

Definition at line 242 of file BKE_attribute_access.hh.

References blender::bke::ReadAttribute::get_span().

◆ operator[]()

template<typename T >
T blender::bke::TypedReadAttribute< T >::operator[] ( const int64_t  index) const
inline

◆ size()

template<typename T >
int64_t blender::bke::TypedReadAttribute< T >::size ( ) const
inline

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