|
Blender V4.3
|
#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 |
Result when looking up an attribute from some geometry with the intention of only reading from it.
Definition at line 153 of file BKE_attribute.hh.
|
inline |
Definition at line 184 of file BKE_attribute.hh.
References blender::bke::AttributeReader< T >::varray.
|
inline |
Definition at line 174 of file BKE_attribute.hh.
References blender::bke::AttributeReader< T >::varray.
|
inline |
Definition at line 179 of file BKE_attribute.hh.
|
inline |
Definition at line 169 of file BKE_attribute.hh.
References blender::bke::AttributeReader< T >::varray.
| AttrDomain blender::bke::AttributeReader< T >::domain |
Domain where the attribute is stored. This also determines the size of the virtual array.
Definition at line 161 of file BKE_attribute.hh.
| 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 167 of file BKE_attribute.hh.
Referenced by blender::geometry::create_id_index_map(), and blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points().
| VArray<T> blender::bke::AttributeReader< T >::varray |
Virtual array that provides access to the attribute data. This may be empty.
Definition at line 157 of file BKE_attribute.hh.
Referenced by blender::bke::Instances::almost_unique_ids(), blender::geometry::gather_realize_tasks_for_instances(), blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points(), blender::bke::AttributeReader< T >::operator bool(), blender::bke::AttributeReader< T >::operator*(), and blender::bke::AttributeReader< T >::operator*().