Blender V4.3
blender::bke::image::partial_update::Changeset Struct Reference

Changeset keeping track of changes for an image. More...

Public Member Functions

TileChangesetoperator[] (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.
 

Detailed Description

Changeset keeping track of changes for an image.

Definition at line 295 of file image_partial_update.cc.

Member Function Documentation

◆ clear()

void blender::bke::image::partial_update::Changeset::clear ( )
inline

◆ has_tile()

bool blender::bke::image::partial_update::Changeset::has_tile ( const ImageTile * image_tile)
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.

◆ operator[]()

TileChangeset & blender::bke::image::partial_update::Changeset::operator[] ( const ImageTile * image_tile)
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.

Member Data Documentation

◆ has_dirty_chunks

bool blender::bke::image::partial_update::Changeset::has_dirty_chunks

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