Blender V4.3
draw_vector_displacement.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::draw_vector_displacement_cc::LocalData
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::draw_vector_displacement_cc
 

Functions

static void blender::ed::sculpt_paint::draw_vector_displacement_cc::calc_brush_texture_colors (SculptSession &ss, const Brush &brush, const Span< float3 > vert_positions, const Span< int > verts, const Span< float > factors, const MutableSpan< float4 > r_colors)
 
static void blender::ed::sculpt_paint::draw_vector_displacement_cc::calc_brush_texture_colors (SculptSession &ss, const Brush &brush, const Span< float3 > positions, const Span< float > factors, const MutableSpan< float4 > r_colors)
 
static void blender::ed::sculpt_paint::draw_vector_displacement_cc::calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const Span< float3 > vert_normals, const MeshAttributeData &attribute_data, const bke::pbvh::MeshNode &node, Object &object, LocalData &tls, const PositionDeformData &position_data)
 
static void blender::ed::sculpt_paint::draw_vector_displacement_cc::calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, bke::pbvh::GridsNode &node, LocalData &tls)
 
static void blender::ed::sculpt_paint::draw_vector_displacement_cc::calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, bke::pbvh::BMeshNode &node, LocalData &tls)
 
void blender::ed::sculpt_paint::do_draw_vector_displacement_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)