Blender V5.3
blender::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()

Get merged rectangular changed regions.

Definition at line 302 of file partial_update.cc.

◆ set_all_chunks_modified()

Mark all chunks as modified.

Definition at line 294 of file partial_update.cc.

Member Data Documentation

◆ buffer_height

◆ buffer_width

◆ chunk_x_len

◆ chunk_y_len

◆ kind

◆ modified_chunks


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