cesium-native 0.43.0
|
Helps debug the tile selection algorithm by recording the state of tiles each frame to a SQLite database. More...
#include <Cesium3DTilesSelection/DebugTileStateDatabase.h>
Public Member Functions | |
DebugTileStateDatabase (const std::string &databaseFilename) | |
Creates a new instance. | |
void | recordAllTileStates (int32_t frameNumber, const Tileset &tileset) |
Records the state of all tiles that are currently loaded by the given tileset. | |
void | recordTileState (int32_t frameNumber, const Tile &tile) |
Records the state of a given tile. | |
Helps debug the tile selection algorithm by recording the state of tiles each frame to a SQLite database.
Definition at line 15 of file DebugTileStateDatabase.h.
Cesium3DTilesSelection::DebugTileStateDatabase::DebugTileStateDatabase | ( | const std::string & | databaseFilename | ) |
Creates a new instance.
databaseFilename | The full path and filename of the output SQLite database. |
void Cesium3DTilesSelection::DebugTileStateDatabase::recordAllTileStates | ( | int32_t | frameNumber, |
const Tileset & | tileset ) |
Records the state of all tiles that are currently loaded by the given tileset.
frameNumber | The current frame number. |
tileset | The tileset. |
void Cesium3DTilesSelection::DebugTileStateDatabase::recordTileState | ( | int32_t | frameNumber, |
const Tile & | tile ) |
Records the state of a given tile.
frameNumber | The current frame number. |
tile | The tile. |