|
Blender V5.3
|
Public Attributes | |
| Image * | ima |
| ImageUser | iuser |
| ImBuf * | ibuf |
| float * | float_data_mut = nullptr |
| uint8_t * | byte_data_mut = nullptr |
| ImagePaintPartialRedraw * | partRedrawRect |
| volatile const void ** | undoRect |
| ushort ** | maskRect |
| bool ** | valid |
| bool | touch |
| float | paint_color_byte [3] |
| bool | is_data |
| bool | is_srgb |
| const ColorSpace * | byte_colorspace |
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 218 of file paint_image_proj.cc.
| const ColorSpace* blender::ProjPaintImage::byte_colorspace |
Definition at line 240 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_draw(), blender::do_projectpaint_thread(), and blender::paint_proj_stroke_ps().
Definition at line 225 of file paint_image_proj.cc.
Referenced by blender::copy_original_alpha_channel(), blender::do_projectpaint_clone(), blender::do_projectpaint_draw(), blender::do_projectpaint_mask(), blender::do_projectpaint_smear(), blender::do_projectpaint_soften(), blender::do_projectpaint_thread(), and blender::project_paint_op().
Definition at line 224 of file paint_image_proj.cc.
Referenced by blender::copy_original_alpha_channel(), blender::do_projectpaint_clone_f(), blender::do_projectpaint_draw_f(), blender::do_projectpaint_mask_f(), blender::do_projectpaint_smear_f(), blender::do_projectpaint_soften_f(), blender::do_projectpaint_thread(), and blender::project_paint_op().
| ImBuf* blender::ProjPaintImage::ibuf |
Definition at line 221 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::paint_proj_stroke_ps(), blender::project_bucket_init(), blender::project_image_refresh_tagged(), blender::project_paint_build_proj_ima(), blender::project_paint_end(), blender::project_paint_op(), blender::project_paint_undo_subtiles(), blender::project_paint_uvpixel_init(), and blender::texture_paint_camera_project_exec().
| Image* blender::ProjPaintImage::ima |
Definition at line 219 of file paint_image_proj.cc.
Referenced by blender::project_bucket_init(), blender::project_paint_build_proj_ima(), blender::project_paint_end(), blender::project_paint_undo_subtiles(), and blender::texture_paint_camera_project_exec().
| bool blender::ProjPaintImage::is_data |
Definition at line 238 of file paint_image_proj.cc.
Referenced by blender::paint_proj_stroke_ps().
| bool blender::ProjPaintImage::is_srgb |
Definition at line 239 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_draw(), blender::do_projectpaint_thread(), and blender::paint_proj_stroke_ps().
| ImageUser blender::ProjPaintImage::iuser |
Definition at line 220 of file paint_image_proj.cc.
Referenced by blender::project_bucket_init(), blender::project_paint_build_proj_ima(), and blender::project_paint_undo_subtiles().
| ushort** blender::ProjPaintImage::maskRect |
The mask accumulation must happen on canvas, not on space screen bucket. Here we store the mask rectangle.
Definition at line 232 of file paint_image_proj.cc.
Referenced by blender::project_paint_build_proj_ima(), blender::project_paint_undo_subtiles(), and blender::project_paint_uvpixel_init().
| float blender::ProjPaintImage::paint_color_byte[3] |
Paint color in the colorspace of this image, cached for performance.
Definition at line 237 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_draw(), blender::do_projectpaint_thread(), and blender::paint_proj_stroke_ps().
| ImagePaintPartialRedraw* blender::ProjPaintImage::partRedrawRect |
Definition at line 227 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::project_image_refresh_tagged(), blender::project_paint_build_proj_ima(), and blender::project_paint_op().
| bool blender::ProjPaintImage::touch |
Definition at line 235 of file paint_image_proj.cc.
Referenced by blender::do_projectpaint_thread(), blender::project_image_refresh_tagged(), blender::project_paint_build_proj_ima(), and blender::project_paint_op().
| volatile const void** blender::ProjPaintImage::undoRect |
Only used to build undo tiles during painting.
Definition at line 229 of file paint_image_proj.cc.
Referenced by blender::project_paint_build_proj_ima(), blender::project_paint_undo_subtiles(), and blender::project_paint_uvpixel_init().
| bool** blender::ProjPaintImage::valid |
Store flag to enforce validation of undo rectangle.
Definition at line 234 of file paint_image_proj.cc.
Referenced by blender::project_paint_build_proj_ima(), blender::project_paint_undo_subtiles(), and blender::project_paint_uvpixel_init().