Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::bke::GSpanAttributeWriter Struct Reference

#include <BKE_attribute.hh>

Public Member Functions

 GSpanAttributeWriter ()=default
 
 GSpanAttributeWriter (GAttributeWriter &&other, const bool copy_values_to_span)
 
 operator bool () const
 
void finish ()
 

Public Attributes

GMutableVArraySpan span
 
eAttrDomain domain
 
std::function< void()> tag_modified_fn
 

Detailed Description

A generic version of #SpanAttributeWriter.

Definition at line 283 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ GSpanAttributeWriter() [1/2]

blender::bke::GSpanAttributeWriter::GSpanAttributeWriter ( )
default

◆ GSpanAttributeWriter() [2/2]

blender::bke::GSpanAttributeWriter::GSpanAttributeWriter ( GAttributeWriter &&  other,
const bool  copy_values_to_span 
)
inline

Definition at line 290 of file BKE_attribute.hh.

Member Function Documentation

◆ finish()

void blender::bke::GSpanAttributeWriter::finish ( )
inline

◆ operator bool()

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

Definition at line 297 of file BKE_attribute.hh.

References span, and blender::GMutableVArraySpan::varray().

Member Data Documentation

◆ domain

eAttrDomain blender::bke::GSpanAttributeWriter::domain

Definition at line 285 of file BKE_attribute.hh.

◆ span

GMutableVArraySpan blender::bke::GSpanAttributeWriter::span

Definition at line 284 of file BKE_attribute.hh.

Referenced by blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points(), blender::nodes::node_geo_delete_geometry_cc::copy_attributes(), blender::nodes::node_geo_delete_geometry_cc::copy_attributes_based_on_map(), blender::nodes::node_geo_delete_geometry_cc::copy_attributes_based_on_mask(), blender::nodes::node_geo_duplicate_elements_cc::copy_attributes_without_id(), blender::nodes::node_geo_duplicate_elements_cc::copy_curve_attributes_without_id(), blender::nodes::node_geo_duplicate_elements_cc::copy_edge_attributes_without_id(), blender::nodes::node_geo_duplicate_elements_cc::copy_face_attributes_without_id(), 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::bke::curve_to_mesh_sweep(), 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(), operator bool(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::geometry::retrieve_attribute_spans(), blender::geometry::retrieve_generic_point_attributes(), blender::bke::mesh_surface_sample::MeshAttributeInterpolator::sample_attribute(), and blender::nodes::node_geo_dual_mesh_cc::transfer_attributes().

◆ tag_modified_fn

std::function<void()> blender::bke::GSpanAttributeWriter::tag_modified_fn

Definition at line 286 of file BKE_attribute.hh.

Referenced by finish().


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