Blender
V3.3
|
#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 |
A generic version of #SpanAttributeWriter.
Definition at line 283 of file BKE_attribute.hh.
|
default |
|
inline |
Definition at line 290 of file BKE_attribute.hh.
|
inline |
Definition at line 302 of file BKE_attribute.hh.
References blender::GMutableVArraySpan::save(), and tag_modified_fn.
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_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_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(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), and blender::nodes::node_geo_dual_mesh_cc::transfer_attributes().
|
inline |
Definition at line 297 of file BKE_attribute.hh.
References span, and blender::GMutableVArraySpan::varray().
eAttrDomain blender::bke::GSpanAttributeWriter::domain |
Definition at line 285 of file BKE_attribute.hh.
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().
std::function<void()> blender::bke::GSpanAttributeWriter::tag_modified_fn |
Definition at line 286 of file BKE_attribute.hh.
Referenced by finish().