Blender  V3.3
Classes | Functions
blender::ed::sculpt_paint::paint::image Namespace Reference

Classes

struct  ImageData
 
struct  TexturePaintingUserData
 
class  ImageBufferFloat4
 
class  ImageBufferByte4
 
class  PaintingKernel
 

Functions

static std::vector< boolinit_triangle_brush_test (SculptSession *ss, Triangles &triangles, const MVert *mvert)
 
static void do_paint_pixels (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls)
 
static void undo_region_tiles (ImBuf *ibuf, int x, int y, int w, int h, int *tx, int *ty, int *tw, int *th)
 
static void push_undo (const NodeData &node_data, Image &image, ImageUser &image_user, const image::ImageTileWrapper &image_tile, ImBuf &image_buffer, ImBuf **tmpibuf)
 
static void do_push_undo_tile (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict UNUSED(tls))
 
static void do_mark_dirty_regions (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict UNUSED(tls))
 

Function Documentation

◆ do_mark_dirty_regions()

static void blender::ed::sculpt_paint::paint::image::do_mark_dirty_regions ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict   UNUSEDtls 
)
static

◆ do_paint_pixels()

static void blender::ed::sculpt_paint::paint::image::do_paint_pixels ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict  tls 
)
static

◆ do_push_undo_tile()

static void blender::ed::sculpt_paint::paint::image::do_push_undo_tile ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict   UNUSEDtls 
)
static

◆ init_triangle_brush_test()

static std::vector<bool> blender::ed::sculpt_paint::paint::image::init_triangle_brush_test ( SculptSession ss,
Triangles triangles,
const MVert mvert 
)
static

◆ push_undo()

static void blender::ed::sculpt_paint::paint::image::push_undo ( const NodeData node_data,
Image image,
ImageUser image_user,
const image::ImageTileWrapper image_tile,
ImBuf image_buffer,
ImBuf **  tmpibuf 
)
static

◆ undo_region_tiles()

static void blender::ed::sculpt_paint::paint::image::undo_region_tiles ( ImBuf ibuf,
int  x,
int  y,
int  w,
int  h,
int *  tx,
int *  ty,
int *  tw,
int *  th 
)
static

Definition at line 363 of file sculpt_paint_image.cc.

References ED_IMAGE_UNDO_TILE_BITS, IMB_rectclip(), w(), x, and y.

Referenced by push_undo().