Blender V5.3
blender::imbuf::partial_update::Changes Struct Reference

#include <IMB_partial_update.hh>

Public Types

enum class  Kind { None , Partial , Full , Resized }

Public Member Functions

void set_all_chunks_modified ()
Vector< rcti > modified_regions () const

Public Attributes

Kind kind = Kind::None
int buffer_width = 0
int buffer_height = 0
int chunk_x_len = 0
int chunk_y_len = 0
BitVector modified_chunks

Detailed Description

The changes to an ImBuf since a given changeset ID.

Definition at line 64 of file IMB_partial_update.hh.

Member Enumeration Documentation

◆ Kind

Enumerator
None 

Nothing changed.

Partial 

Some regions of the image buffer changed.

Full 

Full image buffer needs to be updated.

Resized 

Image buffer resolution changed.

Definition at line 65 of file IMB_partial_update.hh.

Member Function Documentation

◆ modified_regions()

◆ set_all_chunks_modified()

Member Data Documentation

◆ buffer_height

int blender::imbuf::partial_update::Changes::buffer_height = 0

◆ buffer_width

int blender::imbuf::partial_update::Changes::buffer_width = 0

◆ chunk_x_len

int blender::imbuf::partial_update::Changes::chunk_x_len = 0

◆ chunk_y_len

int blender::imbuf::partial_update::Changes::chunk_y_len = 0

◆ kind

◆ modified_chunks

BitVector blender::imbuf::partial_update::Changes::modified_chunks

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