Blender
V3.3
|
Public Member Functions | |
PaintingKernel (SculptSession *ss, const Brush *brush, const int thread_id, const MVert *mvert) | |
bool | paint (const Triangles &triangles, const PackedPixelRow &pixel_row, ImBuf *image_buffer) |
void | init_brush_color (ImBuf *image_buffer) |
Definition at line 128 of file sculpt_paint_image.cc.
|
inlineexplicit |
Definition at line 146 of file sculpt_paint_image.cc.
|
inline |
Definition at line 190 of file sculpt_paint_image.cc.
References BKE_brush_color_get(), BKE_brush_secondary_color_get(), SculptSession::cache, COLOR_ROLE_SCENE_LINEAR, copy_v3_v3(), IMB_colormanagement_colorspace_processor_new(), IMB_colormanagement_processor_apply_v4(), IMB_colormanagement_processor_free(), IMB_colormanagement_role_colorspace_name_get(), StrokeCache::invert, SculptSession::scene, and srgb_to_linearrgb_v3_v3().
Referenced by blender::ed::sculpt_paint::paint::image::do_paint_pixels().
|
inline |
Definition at line 156 of file sculpt_paint_image.cc.
References Brush::alpha, Brush::blend, blend_color_mix_float(), brush_strength(), color, SculptBrushTest::dist, blender::bke::pbvh::pixels::Triangles::get_paint_input(), IMB_blend_color_float(), mask(), normal, blender::bke::pbvh::pixels::PackedPixelRow::num_pixels, SCULPT_brush_strength_factor(), sqrtf, blender::bke::pbvh::pixels::PackedPixelRow::start_image_coordinate, blender::threading::enumerable_thread_specific_utils::thread_id, blender::bke::pbvh::pixels::PackedPixelRow::triangle_index, and x.
Referenced by blender::ed::sculpt_paint::paint::image::do_paint_pixels().