Blender V4.5
ProjPaintImage Struct Reference

Public Attributes

Imageima
ImageUser iuser
ImBufibuf
ImagePaintPartialRedrawpartRedrawRect
volatile void ** undoRect
ushort ** maskRect
bool ** valid
bool touch

Detailed Description

This is mainly a convenience struct used so we can keep an array of images we use - their ImBuf's, etc, in 1 array, When using threads this array is copied for each thread because 'partRedrawRect' and 'touch' values would not be thread safe.

Definition at line 212 of file paint_image_proj.cc.

Member Data Documentation

◆ ibuf

◆ ima

◆ iuser

◆ maskRect

ushort** ProjPaintImage::maskRect

The mask accumulation must happen on canvas, not on space screen bucket. Here we store the mask rectangle.

Definition at line 221 of file paint_image_proj.cc.

Referenced by project_paint_build_proj_ima(), project_paint_undo_subtiles(), and project_paint_uvpixel_init().

◆ partRedrawRect

◆ touch

bool ProjPaintImage::touch

◆ undoRect

volatile void** ProjPaintImage::undoRect

Only used to build undo tiles during painting.

Definition at line 218 of file paint_image_proj.cc.

Referenced by project_paint_build_proj_ima(), project_paint_undo_subtiles(), and project_paint_uvpixel_init().

◆ valid

bool** ProjPaintImage::valid

Store flag to enforce validation of undo rectangle.

Definition at line 223 of file paint_image_proj.cc.

Referenced by project_paint_build_proj_ima(), project_paint_undo_subtiles(), and project_paint_uvpixel_init().


The documentation for this struct was generated from the following file: