XLE  v0.02.0
Classes | Public Member Functions | Public Attributes | List of all members
SceneEngine::TerrainCachedData Class Reference

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)
 
TerrainCachedDataoperator= (TerrainCachedData &&moveFrom)
 

Public Attributes

std::vector< Cell_cells
 

Detailed Description

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.


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