Blender V5.0
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 332 of file BKE_attribute.hh.

Member Function Documentation

◆ operator bool()

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

Definition at line 337 of file BKE_attribute.hh.

◆ operator*() [1/3]

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

Definition at line 347 of file BKE_attribute.hh.

◆ operator*() [2/3]

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

Definition at line 352 of file BKE_attribute.hh.

◆ operator*() [3/3]

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

Definition at line 342 of file BKE_attribute.hh.

◆ typed()

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

Member Data Documentation

◆ domain

AttrDomain blender::bke::GAttributeReader::domain

Definition at line 334 of file BKE_attribute.hh.

Referenced by blender::ed::sculpt_paint::color::active_color_attribute(), blender::bke::adapt_domain_and_type_if_necessary(), attr_create_generic(), attr_create_generic(), bke_attribute_copy_if_exists(), BKE_attribute_duplicate(), 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::geometry::create_id_index_map(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::gather_realize_tasks_for_instances(), blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::ed::mesh::join_normals(), blender::ed::sculpt_paint::expand::original_state_store(), blender::geometry::point_merge_by_distance(), 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::ed::sculpt_paint::sample_color_invoke(), blender::ed::sculpt_paint::color::sculpt_color_presmooth_init(), blender::ed::curves::set_attribute_invoke(), blender::bke::compare_geometry::sort_domain_using_attributes(), blender::ed::sculpt_paint::undo::store_color(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), typed(), blender::draw::pbvh::update_generic_attribute_mesh(), and blender::bke::compare_geometry::verify_attributes_compatible().

◆ sharing_info

◆ varray

GVArray blender::bke::GAttributeReader::varray

Definition at line 333 of file BKE_attribute.hh.

Referenced by blender::ed::sculpt_paint::color::active_color_attribute(), blender::bke::adapt_domain_and_type_if_necessary(), blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), attr_create_generic(), attr_create_generic(), blender::bke::attribute_data_matches_varray(), 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::ed::greasepencil::copy_layer_and_frames_to_target_object(), 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::geometry::create_id_index_map(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::ed::greasepencil::curves_geometry_is_equal(), blender::draw::extract_attribute(), blender::draw::extract_attribute_data(), blender::draw::extract_attribute_subdiv(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::geometry::gather_realize_tasks_for_instances(), 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::ed::mesh::join_normals(), blender::geometry::merge_layers(), blender::ed::geometry::MeshState::MeshState(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), blender::geometry::point_merge_by_distance(), blender::geometry::prepare_attribute_fallbacks(), 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::ed::sculpt_paint::replace_attribute(), blender::geometry::retrieve_attribute_spans(), blender::bke::save_shared_attribute(), blender::save_shared_attribute(), blender::bke::bake::serialize_attributes(), blender::ed::curves::set_attribute_invoke(), blender::ed::pointcloud::set_attribute_invoke(), blender::bke::compare_geometry::sort_domain_using_attributes(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), blender::bke::try_add_shared_field_attribute(), blender::bke::try_direct_evaluate_point_data(), blender::bke::try_sharing_point_data(), typed(), blender::draw::pbvh::update_generic_attribute_mesh(), and blender::bke::compare_geometry::verify_attributes_compatible().


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