|
Blender V4.3
|
#include "DNA_brush_types.h"#include "DNA_image_types.h"#include "DNA_object_types.h"#include "ED_paint.hh"#include "BLI_bit_vector.hh"#include "BLI_math_color_blend.h"#include "BLI_math_geom.h"#include "IMB_colormanagement.hh"#include "IMB_imbuf.hh"#include "BKE_brush.hh"#include "BKE_image_wrappers.hh"#include "BKE_pbvh_api.hh"#include "BKE_pbvh_pixels.hh"#include "bmesh.hh"#include "mesh_brush_common.hh"#include "sculpt_automask.hh"#include "sculpt_intern.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::sculpt_paint |
| namespace | blender::ed::sculpt_paint::paint |
| namespace | blender::ed::sculpt_paint::paint::image |
| void SCULPT_do_paint_brush_image | ( | const Scene & | scene, |
| const Depsgraph & | depsgraph, | ||
| PaintModeSettings & | paint_mode_settings, | ||
| const Sculpt & | sd, | ||
| Object & | ob, | ||
| const blender::IndexMask & | node_mask ) |
Definition at line 502 of file sculpt_paint_image.cc.
References BKE_paint_brush_for_read(), depsgraph, blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::ed::sculpt_paint::paint::image::do_push_undo_tile(), blender::ed::sculpt_paint::paint::image::fix_non_manifold_seam_bleeding(), blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::paint::image::ImageData::image, blender::ed::sculpt_paint::paint::image::ImageData::image_user, blender::ed::sculpt_paint::paint::image::ImageData::init_active_image(), blender::bke::pbvh::Tree::nodes(), and Sculpt::paint.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush().
| bool SCULPT_paint_image_canvas_get | ( | PaintModeSettings & | paint_mode_settings, |
| Object & | ob, | ||
| Image ** | r_image, | ||
| ImageUser ** | r_image_user ) |
Get the image canvas for painting on the given object.
Definition at line 471 of file sculpt_paint_image.cc.
References blender::ed::sculpt_paint::paint::image::ImageData::image, blender::ed::sculpt_paint::paint::image::ImageData::image_user, and blender::ed::sculpt_paint::paint::image::ImageData::init_active_image().
Referenced by sculpt_needs_pbvh_pixels(), and sculpt_pbvh_update_pixels().
| bool SCULPT_use_image_paint_brush | ( | PaintModeSettings & | settings, |
| Object & | ob ) |
Definition at line 489 of file sculpt_paint_image.cc.
References BKE_paint_canvas_image_get(), image(), OB_MESH, and Object::type.
Referenced by brush_stroke_init(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::stroke_test_start(), stroke_undo_begin(), stroke_undo_end(), and blender::ed::sculpt_paint::stroke_update_step().