|
Blender V4.3
|
Changeset keeping track of changes for an image. More...
Public Member Functions | |
| TileChangeset & | operator[] (const ImageTile *image_tile) |
| Retrieve the TileChangeset for the given ImageTile. | |
| bool | has_tile (const ImageTile *image_tile) |
| Does this changeset contain data for the given tile. | |
| void | clear () |
| Clear this changeset. | |
Public Attributes | |
| bool | has_dirty_chunks |
| Keep track if any of the tiles have dirty chunks. | |
Changeset keeping track of changes for an image.
Definition at line 295 of file image_partial_update.cc.
|
inline |
Clear this changeset.
Definition at line 335 of file image_partial_update.cc.
References has_dirty_chunks, and tiles.
Referenced by blender::bke::image::partial_update::PartialUpdateRegisterImpl::commit_current_changeset(), and blender::bke::image::partial_update::PartialUpdateRegisterImpl::mark_full_update().
|
inline |
Does this changeset contain data for the given tile.
Definition at line 324 of file image_partial_update.cc.
References ImageTile::tile_number, and tiles.
|
inline |
Retrieve the TileChangeset for the given ImageTile.
When the TileChangeset isn't found, it will be added.
Definition at line 308 of file image_partial_update.cc.
References blender::bke::image::partial_update::TileChangeset::tile_number, ImageTile::tile_number, and tiles.
| bool blender::bke::image::partial_update::Changeset::has_dirty_chunks |
Keep track if any of the tiles have dirty chunks.
Definition at line 301 of file image_partial_update.cc.
Referenced by clear(), blender::bke::image::partial_update::PartialUpdateRegisterImpl::ensure_empty_changeset(), and blender::bke::image::partial_update::PartialUpdateRegisterImpl::mark_region().