|
Blender V4.3
|
Public Member Functions | |
| PaintingKernel () | |
| bool | paint (const Brush &brush, const PackedPixelRow &pixel_row, const Span< float > factors, ImBuf *image_buffer) |
| void | init_brush_color (ImBuf *image_buffer, float in_brush_color[3]) |
Definition at line 165 of file sculpt_paint_image.cc.
|
inlineexplicit |
Definition at line 173 of file sculpt_paint_image.cc.
|
inline |
Definition at line 206 of file sculpt_paint_image.cc.
References COLOR_ROLE_SCENE_LINEAR, IMB_colormanagement_colorspace_processor_new(), IMB_colormanagement_processor_apply_v4(), IMB_colormanagement_processor_free(), IMB_colormanagement_role_colorspace_name_get(), and srgb_to_linearrgb_v3_v3().
Referenced by blender::ed::sculpt_paint::paint::image::do_paint_pixels().
|
inline |
Definition at line 175 of file sculpt_paint_image.cc.
References Brush::alpha, Brush::blend, blend_color_mix_float(), IMB_blend_color_float(), blender::bke::pbvh::pixels::PackedPixelRow::num_pixels, blender::bke::pbvh::pixels::PackedPixelRow::start_image_coordinate, and x.
Referenced by blender::ed::sculpt_paint::paint::image::do_paint_pixels().