Blender V4.3
blender::bke::GAttributeReader Struct Reference

#include <BKE_attribute.hh>

Public Member Functions

 operator bool () const
 
const GVArrayoperator* () const &
 
GVArrayoperator* () &
 
GVArray operator* () &&
 
template<typename T >
AttributeReader< Ttyped () const
 

Public Attributes

GVArray varray
 
AttrDomain domain
 
const ImplicitSharingInfosharing_info
 

Detailed Description

A generic version of #AttributeReader.

Definition at line 300 of file BKE_attribute.hh.

Member Function Documentation

◆ operator bool()

blender::bke::GAttributeReader::operator bool ( ) const
inline

Definition at line 305 of file BKE_attribute.hh.

References varray.

◆ operator*() [1/3]

GVArray & blender::bke::GAttributeReader::operator* ( ) &
inline

Definition at line 315 of file BKE_attribute.hh.

References varray.

◆ operator*() [2/3]

GVArray blender::bke::GAttributeReader::operator* ( ) &&
inline

Definition at line 320 of file BKE_attribute.hh.

◆ operator*() [3/3]

const GVArray & blender::bke::GAttributeReader::operator* ( ) const &
inline

Definition at line 310 of file BKE_attribute.hh.

References varray.

◆ typed()

template<typename T >
AttributeReader< T > blender::bke::GAttributeReader::typed ( ) const
inline

Member Data Documentation

◆ domain

◆ sharing_info

◆ varray

GVArray blender::bke::GAttributeReader::varray

Definition at line 301 of file BKE_attribute.hh.

Referenced by blender::bke::adapt_domain_and_type_if_necessary(), blender::draw::overlay::add_instance_attributes_to_text_cache(), blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), attr_create_generic(), attr_create_generic(), blender::ed::greasepencil::attributes_varrays_not_equal(), blender::ed::greasepencil::attributes_varrays_span_data_equal(), bke_attribute_copy_if_exists(), BKE_attribute_duplicate(), blender::bke::build_mesh_positions(), blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points(), copy_attributes(), blender::bke::copy_main_point_domain_attribute_to_mesh(), blender::nodes::node_geo_duplicate_elements_cc::copy_stable_id_curves(), blender::nodes::node_geo_duplicate_elements_cc::copy_stable_id_edges(), blender::nodes::node_geo_duplicate_elements_cc::copy_stable_id_faces(), blender::nodes::node_geo_duplicate_elements_cc::copy_stable_id_point(), blender::ed::greasepencil::curves_geometry_is_equal(), blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points(), blender::nodes::node_geo_points_to_vertices_cc::geometry_set_points_to_vertices(), blender::geometry::merge_layers(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), operator bool(), operator*(), operator*(), blender::geometry::point_merge_by_distance(), blender::io::usd::populate_curve_widths(), blender::geometry::preprocess_curves(), blender::geometry::preprocess_meshes(), blender::geometry::preprocess_pointclouds(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::bke::MutableAttributeAccessor::rename(), blender::geometry::retrieve_attribute_spans(), blender::bke::compare_meshes::sort_domain_using_attributes(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), blender::bke::try_direct_evaluate_point_data(), blender::bke::try_sharing_point_data(), typed(), and blender::bke::compare_meshes::verify_attributes_compatible().


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