Cogs.Core
|
Public Member Functions | |
void | initialize (IGraphicsDevice *device, NormalUpdater *normalUpdater) |
VertexFormatHandle | initializeGeometry (IGraphicsDevice *device) |
void | initializeSamplerStates (IGraphicsDevice *device) |
void | initializeShaders (IGraphicsDevice *device, VertexFormatHandle positionFormat) |
void | initializeStateObjects (IGraphicsDevice *device) |
void | preloadTiles (ClipmapLevel &clipmapLevel, const Extent &extent) |
void | setupRenderingState (RenderContext &renderContext) |
size_t | applyNewData (RenderContext &context, const WorldOptions &worldOptions, RasterSourceSubscription &subscription, std::vector< ClipmapLevel > &levels, const size_t maxLevel) |
void | requestTileResidency (ClipmapLevel &level) |
size_t | updateRasterLevel (RenderContext &context, ClipmapUpdate *update, const size_t numUpdates) |
Public Attributes | |
InputLayoutHandle | updateLayoutHandle |
Private Member Functions | |
void | requestTileLoad (RasterSource *rasterSource, ClipmapLevel &level, RasterTile *tile) |
void | applyNewTiles (RenderContext &context, ClipmapLevel *level, const RasterTile **tile, const size_t numTiles, std::vector< const RasterTile * > &updatedTiles, std::vector< ClipmapLevel * > &updatedLevels, std::vector< ClipmapUpdate > &normalUpdates) |
void | applyIfNotLoaded (RenderContext &context, const WorldOptions &worldOptions, ClipmapLevel *level, const RasterTileIdentifier &tile, const size_t maxLevel) |
void | renderTilesToLevelTexture (RenderContext &context, ClipmapLevel *level, const RasterTileRegion **regions, const TextureHandle *tileTextures, const size_t numRegions) |
Definition at line 24 of file ClipmapUpdater.h.
|
private |
Definition at line 298 of file ClipmapUpdater.cpp.
size_t Cogs::ClipmapUpdater::applyNewData | ( | RenderContext & | context, |
const WorldOptions & | worldOptions, | ||
RasterSourceSubscription & | subscription, | ||
std::vector< ClipmapLevel > & | levels, | ||
const size_t | maxLevel | ||
) |
Definition at line 360 of file ClipmapUpdater.cpp.
|
private |
Definition at line 56 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::initialize | ( | IGraphicsDevice * | device, |
NormalUpdater * | normalUpdater | ||
) |
Definition at line 44 of file ClipmapUpdater.cpp.
Cogs::VertexFormatHandle Cogs::ClipmapUpdater::initializeGeometry | ( | IGraphicsDevice * | device | ) |
Definition at line 518 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::initializeSamplerStates | ( | IGraphicsDevice * | device | ) |
Definition at line 503 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::initializeShaders | ( | IGraphicsDevice * | device, |
VertexFormatHandle | positionFormat | ||
) |
Definition at line 476 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::initializeStateObjects | ( | IGraphicsDevice * | device | ) |
Definition at line 460 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::preloadTiles | ( | ClipmapLevel & | clipmapLevel, |
const Extent & | extent | ||
) |
Definition at line 333 of file ClipmapUpdater.cpp.
|
private |
Definition at line 212 of file ClipmapUpdater.cpp.
|
private |
Definition at line 351 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::requestTileResidency | ( | ClipmapLevel & | level | ) |
Definition at line 428 of file ClipmapUpdater.cpp.
void Cogs::ClipmapUpdater::setupRenderingState | ( | RenderContext & | renderContext | ) |
Definition at line 526 of file ClipmapUpdater.cpp.
size_t Cogs::ClipmapUpdater::updateRasterLevel | ( | RenderContext & | context, |
ClipmapUpdate * | update, | ||
const size_t | numUpdates | ||
) |
Definition at line 98 of file ClipmapUpdater.cpp.
|
private |
Definition at line 73 of file ClipmapUpdater.h.
|
private |
Definition at line 68 of file ClipmapUpdater.h.
|
private |
Definition at line 65 of file ClipmapUpdater.h.
|
private |
Definition at line 75 of file ClipmapUpdater.h.
|
private |
Definition at line 80 of file ClipmapUpdater.h.
|
private |
Definition at line 72 of file ClipmapUpdater.h.
|
private |
Definition at line 69 of file ClipmapUpdater.h.
|
private |
Definition at line 66 of file ClipmapUpdater.h.
|
private |
Definition at line 78 of file ClipmapUpdater.h.
|
private |
Definition at line 77 of file ClipmapUpdater.h.
|
private |
Definition at line 63 of file ClipmapUpdater.h.
InputLayoutHandle Cogs::ClipmapUpdater::updateLayoutHandle |
Definition at line 42 of file ClipmapUpdater.h.
|
private |
Definition at line 81 of file ClipmapUpdater.h.
|
private |
Definition at line 71 of file ClipmapUpdater.h.