Blender V5.3
blender::bke::AttributeReader< T > Struct Template Reference

#include <BKE_attribute.hh>

Public Member Functions

const VArray< T > & operator* () const &
VArray< T > & operator* () &
VArray< T > operator* () &&
 operator bool () const

Public Attributes

VArray< T > varray
AttrDomain domain
const ImplicitSharingInfo * sharing_info

Detailed Description

template<typename T>
struct blender::bke::AttributeReader< T >

Result when looking up an attribute from some geometry with the intention of only reading from it.

Definition at line 146 of file BKE_attribute.hh.

Member Function Documentation

◆ operator bool()

template<typename T>
blender::bke::AttributeReader< T >::operator bool ( ) const
inline

Definition at line 177 of file BKE_attribute.hh.

◆ operator*() [1/3]

template<typename T>
VArray< T > & blender::bke::AttributeReader< T >::operator* ( ) &
inline

Definition at line 167 of file BKE_attribute.hh.

◆ operator*() [2/3]

template<typename T>
VArray< T > blender::bke::AttributeReader< T >::operator* ( ) &&
inline

Definition at line 172 of file BKE_attribute.hh.

◆ operator*() [3/3]

template<typename T>
const VArray< T > & blender::bke::AttributeReader< T >::operator* ( ) const &
inline

Definition at line 162 of file BKE_attribute.hh.

Member Data Documentation

◆ domain

template<typename T>
AttrDomain blender::bke::AttributeReader< T >::domain

Domain where the attribute is stored. This also determines the size of the virtual array.

Definition at line 154 of file BKE_attribute.hh.

◆ sharing_info

◆ varray


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