Blender V4.5
blender::bke::AttributeReader< T > Struct Template Reference

#include <BKE_attribute.hh>

Public Member Functions

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

Public Attributes

VArray< Tvarray
 
AttrDomain domain
 
const ImplicitSharingInfosharing_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 185 of file BKE_attribute.hh.

Member Function Documentation

◆ operator bool()

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

Definition at line 216 of file BKE_attribute.hh.

References blender::bke::AttributeReader< T >::varray.

◆ operator*() [1/3]

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

Definition at line 206 of file BKE_attribute.hh.

References blender::bke::AttributeReader< T >::varray.

◆ operator*() [2/3]

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

Definition at line 211 of file BKE_attribute.hh.

◆ operator*() [3/3]

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

Definition at line 201 of file BKE_attribute.hh.

References blender::bke::AttributeReader< T >::varray.

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 193 of file BKE_attribute.hh.

Referenced by blender::draw::ensure_control_point_attribute().

◆ sharing_info

template<typename T >
const ImplicitSharingInfo* blender::bke::AttributeReader< T >::sharing_info

◆ varray


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