初始提交: UE5.3项目基础框架

This commit is contained in:
2025-10-14 11:14:54 +08:00
commit 721d9fd98e
5334 changed files with 316782 additions and 0 deletions

View File

@ -0,0 +1,48 @@
#pragma once
#include <memory>
#include <string>
namespace Cesium3DTilesSelection {
class Tile;
class Tileset;
/**
* @brief Helps debug the tile selection algorithm by recording the state of
* tiles each frame to a SQLite database.
*/
class DebugTileStateDatabase {
public:
/**
* @brief Creates a new instance.
*
* @param databaseFilename The full path and filename of the output SQLite
* database.
*/
DebugTileStateDatabase(const std::string& databaseFilename);
~DebugTileStateDatabase() noexcept;
/**
* @brief Records the state of all tiles that are currently loaded by the
* given tileset.
*
* @param frameNumber The current frame number.
* @param tileset The tileset.
*/
void recordAllTileStates(int32_t frameNumber, const Tileset& tileset);
/**
* @brief Records the state of a given tile.
*
* @param frameNumber The current frame number.
* @param tile The tile.
*/
void recordTileState(int32_t frameNumber, const Tile& tile);
private:
struct Impl;
std::unique_ptr<Impl> _pImpl;
};
} // namespace Cesium3DTilesSelection