XLE
v0.02.0
|
Loads cached data prepared in a pre-processing step More...
#include <TerrainConfig.h>
Classes | |
class | Cell |
Public Member Functions | |
void | Write (Utility::OutputStream &stream) const |
TerrainCachedData (const ::Assets::ResChar filename[]) | |
TerrainCachedData (const TerrainConfig &cfg, ITerrainFormat &ioFormat) | |
TerrainCachedData (TerrainCachedData &&moveFrom) | |
TerrainCachedData & | operator= (TerrainCachedData &&moveFrom) |
Public Attributes | |
std::vector< Cell > | _cells |
Loads cached data prepared in a pre-processing step
This contains extra data that is prepared from the raw input assets in a pre-processing step. A good example is the cell bounding boxes. We need all of the cell bounding boxes from the first frame in order to do top-level culling. But we don't want to have to load each cell just to get the bounding box during startup. So, we prepare all of the bounding boxes and store them within this cached data.