|
Blender V5.0
|
#include "DNA_brush_types.h"#include "DNA_image_types.h"#include "DNA_object_types.h"#include "DNA_userdef_types.h"#include "ED_paint.hh"#include "BLI_bit_vector.hh"#include "BLI_listbase.h"#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_paint_bvh.hh"#include "BKE_paint_bvh_pixels.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 Depsgraph & | depsgraph, |
| PaintModeSettings & | paint_mode_settings, | ||
| const Sculpt & | sd, | ||
| Object & | ob, | ||
| const blender::IndexMask & | node_mask ) |
Definition at line 497 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(), i, 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::pixels::mark_image_dirty(), Sculpt::paint, and blender::bke::object::pbvh_get().
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 466 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 484 of file sculpt_paint_image.cc.
References BKE_paint_canvas_image_get(), OB_MESH, Object::type, U, and USER_EXPERIMENTAL_TEST.
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().