|
| template<typename Func > |
| void | blender::ed::sculpt_paint::color::to_static_color_type (const CPPType &type, const Func &func) |
| |
| template<typename T > |
| float4 | blender::ed::sculpt_paint::color::to_float (const T &src) |
| |
| template<> |
| float4 | blender::ed::sculpt_paint::color::to_float (const MLoopCol &src) |
| |
| template<> |
| float4 | blender::ed::sculpt_paint::color::to_float (const MPropCol &src) |
| |
| template<typename T > |
| void | blender::ed::sculpt_paint::color::from_float (const float4 &src, T &dst) |
| |
| template<> |
| void | blender::ed::sculpt_paint::color::from_float (const float4 &src, MLoopCol &dst) |
| |
| template<> |
| void | blender::ed::sculpt_paint::color::from_float (const float4 &src, MPropCol &dst) |
| |
| template<typename T > |
| static float4 | blender::ed::sculpt_paint::color::color_vert_get (const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const GSpan color_attribute, const bke::AttrDomain color_domain, const int vert) |
| |
| template<typename T > |
| static void | blender::ed::sculpt_paint::color::color_vert_set (const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const GMutableSpan color_attribute, const bke::AttrDomain color_domain, const int vert, const float4 &color) |
| |
| 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) |
| |
| 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) |
| |
| 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) |
| |
| 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) |
| |
| static void | blender::ed::sculpt_paint::color::do_color_smooth_task (const Depsgraph &depsgraph, const Object &object, const Span< float3 > vert_positions, const Span< float3 > vert_normals, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const MeshAttributeData &attribute_data, const Brush &brush, const bke::pbvh::MeshNode &node, ColorPaintLocalData &tls, bke::GSpanAttributeWriter &color_attribute) |
| |
| static void | blender::ed::sculpt_paint::color::do_paint_brush_task (const Scene &scene, const Depsgraph &depsgraph, Object &object, const Span< float3 > vert_positions, const Span< float3 > vert_normals, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const MeshAttributeData &attribute_data, const Paint &paint, const Brush &brush, const float4x4 &mat, const float4 wet_mix_sampled_color, bke::pbvh::MeshNode &node, ColorPaintLocalData &tls, const MutableSpan< float4 > mix_colors, bke::GSpanAttributeWriter &color_attribute) |
| |
| static void | blender::ed::sculpt_paint::color::do_sample_wet_paint_task (const Object &object, const Span< float3 > vert_positions, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const Span< bool > hide_vert, const GSpan color_attribute, const bke::AttrDomain color_domain, const Brush &brush, const bke::pbvh::MeshNode &node, ColorPaintLocalData &tls, SampleWetPaintData &swptd) |
| |
| 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) |
| |
| static void | blender::ed::sculpt_paint::color::do_smear_brush_task (const Depsgraph &depsgraph, Object &object, const Span< float3 > vert_positions, const Span< float3 > vert_normals, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_face_map, const MeshAttributeData &attribute_data, const Brush &brush, bke::pbvh::MeshNode &node, ColorPaintLocalData &tls, bke::GSpanAttributeWriter &color_attribute) |
| |
| void | blender::ed::sculpt_paint::color::do_smear_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &ob, const IndexMask &node_mask) |
| |