|
Blender V4.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 |
| AttrDomain | domain |
| std::function< void()> | tag_modified_fn |
A generic version of #SpanAttributeWriter.
Definition at line 360 of file BKE_attribute.hh.
|
default |
|
inline |
Definition at line 367 of file BKE_attribute.hh.
|
inline |
Definition at line 379 of file BKE_attribute.hh.
References blender::GMutableVArraySpan::save(), tag_modified_fn, and blender::GMutableVArraySpan::varray().
Referenced by blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), blender::ed::greasepencil::apply_mask_as_selection(), blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points(), blender::bke::copy_attributes_group_to_group(), 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_curve_from_vert_indices(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::bke::curve_to_mesh_sweep(), blender::deform_drawing(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::curves::ensure_selection_attribute(), blender::geometry::execute_instances_tasks(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::extract_mesh_vertices(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes_group_to_group(), blender::bke::gather_attributes_to_groups(), 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::greasepencil::grease_pencil_paste_strokes_exec(), blender::ed::greasepencil::grease_pencil_stroke_smooth_exec(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::node_geo_interpolate_curves_cc::interpolate_curve_attributes(), blender::geometry::join_attributes(), blender::geometry::merge_layers(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), blender::geometry::point_merge_by_distance(), blender::bke::GeometrySet::propagate_attributes_from_layer_to_instances(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::geometry::reorder_and_flip_attributes_group_to_group(), blender::geometry::reorder_attributes_group_to_group(), blender::ed::curves::resize_curves(), blender::ed::sculpt_paint::undo::restore_color(), blender::ed::sculpt_paint::expand::restore_color_data(), blender::ed::sculpt_paint::undo::restore_color_from_undo_step(), blender::ed::sculpt_paint::color::sculpt_color_filter_apply(), blender::ed::sculpt_paint::greasepencil::smooth_stroke(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), and blender::bke::try_capture_fields_on_geometry().
|
inline |
Definition at line 374 of file BKE_attribute.hh.
References span, and blender::GMutableVArraySpan::varray().
| AttrDomain blender::bke::GSpanAttributeWriter::domain |
Definition at line 362 of file BKE_attribute.hh.
Referenced by blender::ed::sculpt_paint::color::color_filter_task(), blender::ed::sculpt_paint::expand::colors_update_task(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::curves::ensure_selection_attribute(), blender::ed::sculpt_paint::undo::restore_color(), blender::ed::sculpt_paint::expand::restore_color_data(), and blender::ed::sculpt_paint::undo::restore_color_from_undo_step().
| GMutableVArraySpan blender::bke::GSpanAttributeWriter::span |
Definition at line 361 of file BKE_attribute.hh.
Referenced by blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), blender::ed::greasepencil::apply_mask_as_segment_selection(), blender::ed::greasepencil::apply_mask_as_selection(), blender::ed::sculpt_paint::color::color_filter_task(), blender::ed::sculpt_paint::expand::colors_update_task(), blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points(), blender::bke::copy_attributes_group_to_group(), 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::sculpt_paint::greasepencil::create_blank_curve(), blender::geometry::create_curve_from_vert_indices(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::bke::curve_to_mesh_sweep(), blender::deform_drawing(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::geometry::execute_instances_tasks(), blender::ed::sculpt_paint::greasepencil::extend_curve(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::extract_mesh_vertices(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes_group_to_group(), blender::bke::gather_attributes_to_groups(), blender::geometry::gather_point_attributes_to_interpolate(), 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::greasepencil::grease_pencil_paste_strokes_exec(), blender::ed::greasepencil::grease_pencil_stroke_smooth_exec(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::node_geo_interpolate_curves_cc::interpolate_curve_attributes(), blender::geometry::join_attributes(), blender::geometry::merge_layers(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), operator bool(), paintface_flush_flags(), paintvert_flush_flags(), blender::bke::GeometrySet::propagate_attributes_from_layer_to_instances(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::ed::curves::resize_curves(), blender::ed::sculpt_paint::undo::restore_color(), blender::ed::sculpt_paint::expand::restore_color_data(), blender::ed::sculpt_paint::undo::restore_color_from_undo_step(), blender::geometry::retrieve_attribute_spans(), blender::ed::sculpt_paint::greasepencil::smooth_stroke(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), blender::ed::sculpt_paint::greasepencil::trim_end_points(), and blender::bke::try_capture_fields_on_geometry().
| std::function<void()> blender::bke::GSpanAttributeWriter::tag_modified_fn |
Definition at line 363 of file BKE_attribute.hh.
Referenced by finish().