Blender V5.0
smooth_mask.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::brushes::smooth_mask_cc::LocalData

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::brushes
namespace  blender::ed::sculpt_paint::brushes::smooth_mask_cc

Functions

static Vector< floatblender::ed::sculpt_paint::brushes::smooth_mask_cc::iteration_strengths (const float strength)
static void blender::ed::sculpt_paint::brushes::smooth_mask_cc::apply_masks_faces (const Depsgraph &depsgraph, const Brush &brush, const Span< float3 > positions_eval, const Span< float3 > vert_normals, const Span< bool > hide_vert, const bke::pbvh::MeshNode &node, const float strength, Object &object, LocalData &tls, const Span< float > mask_averages, MutableSpan< float > mask)
static void blender::ed::sculpt_paint::brushes::smooth_mask_cc::do_smooth_brush_mesh (const Depsgraph &depsgraph, const Brush &brush, Object &object, const IndexMask &node_mask, const float brush_strength)
static void blender::ed::sculpt_paint::brushes::smooth_mask_cc::calc_grids (const Depsgraph &depsgraph, Object &object, const Brush &brush, const float strength, const bke::pbvh::GridsNode &node, LocalData &tls)
static void blender::ed::sculpt_paint::brushes::smooth_mask_cc::calc_bmesh (const Depsgraph &depsgraph, Object &object, const int mask_offset, const Brush &brush, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)
void blender::ed::sculpt_paint::brushes::do_smooth_mask_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask, float brush_strength)