Blender V4.3
sculpt_color.hh File Reference
#include "DNA_scene_types.h"
#include "BLI_generic_span.hh"
#include "BLI_math_vector.hh"
#include "BLI_offset_indices.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::pbvh
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::color
 

Functions

void blender::ed::sculpt_paint::color::swap_gathered_colors (Span< int > indices, GMutableSpan color_attribute, MutableSpan< float4 > r_colors)
 
void blender::ed::sculpt_paint::color::gather_colors (GSpan color_attribute, Span< int > indices, MutableSpan< float4 > r_colors)
 
void blender::ed::sculpt_paint::color::gather_colors_vert (OffsetIndices< int > faces, Span< int > corner_verts, GroupedSpan< int > vert_to_face_map, GSpan color_attribute, bke::AttrDomain color_domain, Span< int > verts, MutableSpan< float4 > r_colors)
 
void blender::ed::sculpt_paint::color::color_vert_set (OffsetIndices< int > faces, Span< int > corner_verts, GroupedSpan< int > vert_to_face_map, bke::AttrDomain color_domain, int vert, const float4 &color, GMutableSpan color_attribute)
 
float4 blender::ed::sculpt_paint::color::color_vert_get (OffsetIndices< int > faces, Span< int > corner_verts, GroupedSpan< int > vert_to_face_map, GSpan color_attribute, bke::AttrDomain color_domain, int vert)
 
bke::GAttributeReader blender::ed::sculpt_paint::color::active_color_attribute (const Mesh &mesh)
 
bke::GSpanAttributeWriter blender::ed::sculpt_paint::color::active_color_attribute_for_write (Mesh &mesh)
 
void blender::ed::sculpt_paint::color::do_paint_brush (const Scene &scene, const Depsgraph &depsgraph, PaintModeSettings &paint_mode_settings, const Sculpt &sd, Object &ob, const IndexMask &node_mask, const IndexMask &texnode_mask)
 
void blender::ed::sculpt_paint::color::do_smear_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &ob, const IndexMask &node_mask)