Blender V5.3
blender::nodes::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::nodes::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

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

Information about shared ownership of the attribute array. This will only be provided if the virtual array directly references the contiguous original attribute array.

Definition at line 160 of file BKE_attribute.hh.

◆ varray

template<typename T>
VArray<T> blender::bke::AttributeReader< T >::varray

Virtual array that provides access to the attribute data. This may be empty.

Definition at line 150 of file BKE_attribute.hh.


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