Pyrogenesis
trunk
|
Structure holding grid dirtiness informations, for clever updates. More...
#include <Grid.h>
Public Member Functions | |
void | swap (GridUpdateInformation &b) |
void | Clean () |
Mark everything as clean. More... | |
Public Attributes | |
bool | dirty |
bool | globallyDirty |
bool | globalRecompute |
Grid< u8 > | dirtinessGrid |
Structure holding grid dirtiness informations, for clever updates.
Note: globallyDirty should be used to know which parts of the grid have been changed after an update, whereas globalRecompute should be used during the update itself, to avoid unnecessary recomputations.
|
inline |
Mark everything as clean.
|
inline |
bool GridUpdateInformation::dirty |
bool GridUpdateInformation::globallyDirty |
bool GridUpdateInformation::globalRecompute |