Blender V5.0
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 296 of file image_partial_update.cc.

Member Function Documentation

◆ clear()

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

Clear this changeset.

Definition at line 336 of file image_partial_update.cc.

References has_dirty_chunks.

◆ 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 325 of file image_partial_update.cc.

References ImageTile::tile_number.

◆ 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 309 of file image_partial_update.cc.

References blender::bke::image::partial_update::TileChangeset::tile_number, and ImageTile::tile_number.

Member Data Documentation

◆ has_dirty_chunks

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

Keep track if any of the tiles have dirty chunks.

Definition at line 302 of file image_partial_update.cc.

Referenced by clear().


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