Blender  V3.3
Public Attributes | List of all members
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 imbufs, 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 195 of file paint_image_proj.c.

Member Data Documentation

◆ ibuf

ImBuf* ProjPaintImage::ibuf

◆ ima

Image* ProjPaintImage::ima

◆ iuser

ImageUser ProjPaintImage::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 204 of file paint_image_proj.c.

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

◆ partRedrawRect

ImagePaintPartialRedraw* ProjPaintImage::partRedrawRect

◆ touch

bool ProjPaintImage::touch

◆ undoRect

volatile void** ProjPaintImage::undoRect

Only used to build undo tiles during painting.

Definition at line 201 of file paint_image_proj.c.

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 206 of file paint_image_proj.c.

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: