Blender V5.3
mesh_paint.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::sculpt_paint

Typedefs

using blender::ed::sculpt_paint::BrushActionFn

Functions

Mode toggling
void blender::ed::sculpt_paint::mode_enter_generic (Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob, const eObjectMode mode_flag)
void blender::ed::sculpt_paint::mode_exit_generic (Scene &scene, Object &ob, const eObjectMode mode_flag)
Stroke-level Symmetry
void blender::ed::sculpt_paint::do_symmetrical_brush_actions (const Depsgraph &depsgraph, const Scene &scene, const Paint &paint, Object &object, const BrushActionFn action_fn, PaintModeData *paint_mode_data)
void blender::ed::sculpt_paint::do_symmetrical_brush_actions_with_tiling_and_feathering (const Depsgraph &depsgraph, const Scene &scene, const Paint &paint, Object &object, const BrushActionFn action_fn, PaintModeData *paint_mode_data)
StrokeCache Helpers
void blender::ed::sculpt_paint::stroke_cache_common_init (ViewContext &vc, const Paint &paint, const Brush &brush, Object &object, const float2 mval)
BVH Query Helper
IndexMask blender::ed::sculpt_paint::gather_brush_nodes (const Object &ob, const Brush &brush, IndexMaskMemory &memory, FunctionRef< bool(const bke::pbvh::Node &)> node_ignore_fn)

Detailed Description

Common utilities for mesh painting & sculpting

Definition in file mesh_paint.hh.