Pyrogenesis trunk
Public Member Functions | Public Attributes | List of all members
GridUpdateInformation Struct Reference

Structure holding grid dirtiness informations, for clever updates. More...

#include <Grid.h>

Collaboration diagram for GridUpdateInformation:
Collaboration graph
[legend]

Public Member Functions

void MergeAndClear (GridUpdateInformation &b)
 Update the information with additionnal needed updates, then erase the source of additions. More...
 
void Clean ()
 Mark everything as clean. More...
 

Public Attributes

bool dirty
 
bool globallyDirty
 
Grid< u8dirtinessGrid
 

Detailed Description

Structure holding grid dirtiness informations, for clever updates.

Member Function Documentation

◆ Clean()

void GridUpdateInformation::Clean ( )
inline

Mark everything as clean.

◆ MergeAndClear()

void GridUpdateInformation::MergeAndClear ( GridUpdateInformation b)
inline

Update the information with additionnal needed updates, then erase the source of additions.

This can usually be optimized through a careful memory management.

Member Data Documentation

◆ dirtinessGrid

Grid<u8> GridUpdateInformation::dirtinessGrid

◆ dirty

bool GridUpdateInformation::dirty

◆ globallyDirty

bool GridUpdateInformation::globallyDirty

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