Blender V4.3
mask.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::mask_cc::LocalData
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::mask_cc
 

Functions

static BLI_NOINLINE void blender::ed::sculpt_paint::mask_cc::apply_factors (const float strength, const Span< float > current_masks, const Span< float > factors, const MutableSpan< float > masks)
 
static BLI_NOINLINE void blender::ed::sculpt_paint::mask_cc::clamp_mask (const MutableSpan< float > masks)
 
static void blender::ed::sculpt_paint::mask_cc::calc_faces (const Depsgraph &depsgraph, const Brush &brush, const float strength, const Span< float3 > positions, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, Object &object, const Span< bool > hide_vert, LocalData &tls, const MutableSpan< float > mask)
 
static void blender::ed::sculpt_paint::mask_cc::calc_grids (const Depsgraph &depsgraph, Object &object, const Brush &brush, const float strength, bke::pbvh::GridsNode &node, LocalData &tls)
 
static void blender::ed::sculpt_paint::mask_cc::calc_bmesh (const Depsgraph &depsgraph, Object &object, const Brush &brush, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)
 
void blender::ed::sculpt_paint::do_mask_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)