|
Blender V5.0
|
#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 392 of file BKE_attribute.hh.
|
default |
|
inline |
Definition at line 399 of file BKE_attribute.hh.
References domain, span, and tag_modified_fn.
|
inline |
Definition at line 411 of file BKE_attribute.hh.
References blender::GMutableVArraySpan::save(), tag_modified_fn, and blender::GMutableVArraySpan::varray().
Referenced by blender::ed::sculpt_paint::color::active_color_attribute_for_write(), blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), blender::ed::curves::pen_tool::add_single_point_and_curve(), blender::ed::greasepencil::apply_eval_grease_pencil_data(), blender::ed::greasepencil::apply_mask_as_selection(), blender::ed::pointcloud::apply_selection_operation(), blender::ed::curves::pen_tool::close_curve_and_select(), 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::io::usd::copy_primvar_to_blender_attribute(), 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::ed::sculpt_paint::greasepencil::deselect_stroke(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::curves::duplicate_curves(), blender::ed::curves::duplicate_points(), blender::ed::pointcloud::duplicate_points(), 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::ed::curves::pen_tool::extrude_curves(), blender::ed::greasepencil::extrude_grease_pencil_curves(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_edges(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_face_regions(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_vertices(), face_corner_color_equalize_verts(), blender::bke::fill_attribute_range_default(), blender::ed::sculpt_paint::fill_mesh_color(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::nodes::node_geo_extrude_mesh_cc::gather_attributes(), blender::nodes::node_geo_extrude_mesh_cc::gather_attributes(), blender::bke::gather_attributes_group_to_group(), blender::bke::gather_attributes_to_groups(), blender::nodes::node_geo_extrude_mesh_cc::gather_vert_attributes(), blender::nodes::node_geo_extrude_mesh_cc::gather_vert_attributes(), 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_material_select_exec(), 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::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::geometry::interpolate_curves_with_samples(), blender::geometry::join_attributes(), blender::ed::mesh::join_generic_attributes(), blender::bke::bake::load_attributes(), blender::geometry::merge_layers(), blender::bke::mesh_apply_spatial_organization(), blender::geometry::mesh_faces_to_curves_convert(), blender::bke::mesh_flip_faces(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), paintface_deselect_all_visible(), paintface_flush_flags(), paintface_reveal(), paintvert_deselect_all_visible(), paintvert_flush_flags(), paintvert_reveal(), paintvert_select_ungrouped(), blender::geometry::point_merge_by_distance(), blender::geometry::propagate_edge_attributes(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::geometry::propagate_vert_attributes(), blender::geometry::resample_to_evaluated(), blender::geometry::resample_to_uniform(), 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::bke::CurvesGeometry::reverse_curves(), blender::ed::sculpt_paint::color::sculpt_color_filter_apply(), blender::ed::curves::select_adjacent(), blender::ed::pointcloud::select_all(), blender::ed::curves::select_ends_exec(), blender::ed::curves::select_linked_pick(), blender::ed::curves::select_random_exec(), blender::ed::pointcloud::select_random_exec(), blender::ed::greasepencil::select_similar_by_value(), blender::ed::curves::set_attribute_exec(), blender::ed::pointcloud::set_attribute_exec(), blender::geometry::smooth_curve_positions(), blender::ed::sculpt_paint::smooth_fill_strokes(), blender::ed::sculpt_paint::greasepencil::smooth_stroke(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), blender::bke::try_capture_fields_on_geometry(), blender::ed::object::vgroup_select_verts(), and vpaint_do_paint().
|
inline |
Definition at line 406 of file BKE_attribute.hh.
References span.
| AttrDomain blender::bke::GSpanAttributeWriter::domain |
Definition at line 394 of file BKE_attribute.hh.
Referenced by blender::ed::sculpt_paint::color::active_color_attribute_for_write(), 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(), face_corner_color_equalize_verts(), blender::ed::sculpt_paint::fill_mesh_color(), GSpanAttributeWriter(), 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::curves::set_attribute_exec(), and vpaint_do_paint().
| GMutableVArraySpan blender::bke::GSpanAttributeWriter::span |
Definition at line 393 of file BKE_attribute.hh.
Referenced by blender::ed::sculpt_paint::color::active_color_attribute_for_write(), blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), blender::ed::greasepencil::add_single_curve(), blender::ed::curves::pen_tool::add_single_point_and_curve(), blender::ed::curves::append_primitive_curve(), blender::ed::greasepencil::apply_mask_as_segment_selection(), blender::ed::greasepencil::apply_mask_as_selection(), blender::ed::pointcloud::apply_selection_operation(), blender::ed::greasepencil::boundary_to_curves(), blender::ed::curves::pen_tool::close_curve_and_select(), 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::io::usd::copy_primvar_to_blender_attribute(), 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::ed::sculpt_paint::greasepencil::deselect_stroke(), 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::duplicate_curves(), blender::ed::curves::duplicate_points(), blender::ed::pointcloud::duplicate_points(), blender::geometry::execute_instances_tasks(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::extract_mesh_vertices(), blender::ed::curves::pen_tool::extrude_curves(), blender::ed::greasepencil::extrude_grease_pencil_curves(), blender::nodes::node_geo_extrude_mesh_cc::extrude_individual_mesh_faces(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_edges(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_face_regions(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_vertices(), face_corner_color_equalize_verts(), blender::bke::fill_attribute_range_default(), blender::ed::sculpt_paint::fill_mesh_color(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::bke::gather_attributes(), blender::nodes::node_geo_extrude_mesh_cc::gather_attributes(), blender::nodes::node_geo_extrude_mesh_cc::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_extrude_mesh_cc::gather_vert_attributes(), blender::nodes::node_geo_extrude_mesh_cc::gather_vert_attributes(), 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_material_select_exec(), blender::ed::greasepencil::grease_pencil_paste_strokes_exec(), blender::ed::greasepencil::grease_pencil_stroke_smooth_exec(), GSpanAttributeWriter(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::nodes::node_geo_interpolate_curves_cc::interpolate_curve_attributes(), blender::geometry::join_attributes(), blender::ed::mesh::join_generic_attributes(), blender::bke::bake::load_attributes(), blender::geometry::merge_layers(), blender::bke::mesh_apply_spatial_organization(), blender::geometry::mesh_faces_to_curves_convert(), blender::nodes::node_geo_grease_pencil_to_curves_cc::node_geo_exec(), operator bool(), blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::process_start_sample(), blender::geometry::propagate_edge_attributes(), blender::nodes::node_geo_distribute_points_on_faces_cc::propagate_existing_attributes(), blender::geometry::propagate_vert_attributes(), blender::ed::curves::resize_curves(), blender::ed::greasepencil::resize_single_curve(), 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::bke::CurvesGeometry::reverse_curves(), blender::ed::curves::select_adjacent(), blender::ed::curves::select_all(), blender::ed::pointcloud::select_all(), blender::ed::curves::select_ends_exec(), blender::ed::curves::select_linked(), blender::ed::curves::select_linked_pick(), blender::ed::curves::select_random_exec(), blender::ed::pointcloud::select_random_exec(), blender::ed::greasepencil::select_similar_by_value(), blender::ed::curves::separate_points(), blender::ed::curves::set_attribute_exec(), blender::ed::pointcloud::set_attribute_exec(), blender::geometry::smooth_curve_positions(), blender::ed::sculpt_paint::smooth_fill_strokes(), blender::ed::sculpt_paint::greasepencil::smooth_stroke(), blender::ed::curves::split_points(), blender::nodes::node_geo_dual_mesh_cc::transfer_attributes(), blender::ed::sculpt_paint::greasepencil::trim_end_points(), blender::bke::try_capture_fields_on_geometry(), and vpaint_do_paint().
| std::function<void()> blender::bke::GSpanAttributeWriter::tag_modified_fn |
Definition at line 395 of file BKE_attribute.hh.
Referenced by finish(), and GSpanAttributeWriter().