88 unsigned short **r_mask,
97 unsigned short **r_mask,
106#define ED_IMAGE_UNDO_TILE_BITS 6
107#define ED_IMAGE_UNDO_TILE_SIZE (1 << ED_IMAGE_UNDO_TILE_BITS)
108#define ED_IMAGE_UNDO_TILE_NUMBER(size) \
109 (((size) + ED_IMAGE_UNDO_TILE_SIZE - 1) >> ED_IMAGE_UNDO_TILE_BITS)
void * ED_image_paint_tile_find(PaintTileMap *paint_tile_map, Image *image, ImBuf *ibuf, ImageUser *iuser, int x_tile, int y_tile, unsigned short **r_mask, bool validate)
void ED_object_texture_paint_mode_enter_ex(Main &bmain, Scene &scene, Depsgraph &depsgraph, Object &ob)
void ED_object_wpaintmode_enter_ex(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob)
void ED_paintcurve_undosys_type(UndoType *ut)
void * ED_image_paint_tile_push(PaintTileMap *paint_tile_map, Image *image, ImBuf *ibuf, ImBuf **tmpibuf, ImageUser *iuser, int x_tile, int y_tile, unsigned short **r_mask, bool **r_valid, bool use_thread_lock, bool find_prev)
void ED_image_paint_tile_lock_end()
void ED_image_undo_push_begin(const char *name, PaintMode paint_mode)
void ED_operatortypes_paint()
void ED_imapaint_dirty_region(Image *ima, ImBuf *ibuf, ImageUser *iuser, int x, int y, int w, int h, bool find_old)
eV3DShadingColorType ED_paint_shading_color_override(bContext *C, const PaintModeSettings *settings, Object &ob, eV3DShadingColorType orig_color_type)
void ED_object_texture_paint_mode_exit(bContext *C)
void ED_image_undo_push_begin_with_image(const char *name, Image *image, ImBuf *ibuf, ImageUser *iuser)
void ED_object_wpaintmode_exit(bContext *C)
void ED_image_undosys_type(UndoType *ut)
void ED_object_vpaintmode_enter(bContext *C, Depsgraph &depsgraph)
void ED_operatormacros_paint()
void ED_image_undo_push_end()
void ED_object_wpaintmode_exit_ex(Object &ob)
void ED_object_texture_paint_mode_enter(bContext *C)
void ED_object_vpaintmode_exit(bContext *C)
void ED_imapaint_bucket_fill(bContext *C, const float color[3], wmOperator *op, const int mouse[2])
PaintTileMap * ED_image_paint_tile_map_get()
void ED_image_paint_brush_type_update_sticky_shading_color(bContext *C, Object *ob)
void ED_object_vpaintmode_exit_ex(Object &ob)
void ED_object_vpaintmode_enter_ex(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob)
void ED_object_wpaintmode_enter(bContext *C, Depsgraph &depsgraph)
void ED_paintcurve_undo_push_begin(const char *name)
void ED_object_texture_paint_mode_exit_ex(Main &bmain, Scene &scene, Object &ob)
void ED_paint_data_warning(ReportList *reports, bool has_uvs, bool has_mat, bool has_tex, bool has_stencil)
void ED_image_undo_restore(UndoStep *us)
void ED_paintcurve_undo_push_end(bContext *C)
void ED_image_paint_tile_lock_init()
bool ED_paint_proj_mesh_data_check(Scene &scene, Object &ob, bool *r_has_uvs, bool *r_has_mat, bool *r_has_tex, bool *r_has_stencil)
void ED_imapaint_clear_partial_redraw()
bool ED_image_paint_brush_type_use_canvas(bContext *C, bToolRef *tref)
void ED_keymap_paint(wmKeyConfig *keyconf)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
const Depsgraph * depsgraph
struct ReportList * reports