![]() |
Maria GDK 5.0.0.737
Documentation of native code in develop branch
|
#include <MTiledLayerRenderer.h>
Public Member Functions | |
TiledLayerRenderer (std::shared_ptr< Maria::TileCache > tileCache, std::shared_ptr< GridIndexBuffer > idxBuffer, std::shared_ptr< STK::ShaderProgramManager > shaderManager, std::shared_ptr< STK::FontManager > fontManager) | |
bool | updateTiles (const std::shared_ptr< RasterProjector > &viewport, float pixelScale, bool loadWhileAnimating, bool syncTileLoading, long timeout, int numParentLevels) |
void | updateLabelCollision (std::shared_ptr< Maria::MapRenderTile > &renderTile) |
std::shared_ptr< MapRenderTile > | getRenderTile (const Maria::TileId &tileId) const |
void | clearCurrentFrame () |
void | clearRenderCache (bool keepCurrentFrame) |
void | clearRenderCache (TileId tileId) |
void | clearData () |
void | redrawTiles (const std::shared_ptr< RasterProjector > &viewport, const STK::Camera &cam, STK::ShaderProgram &shader, const STK::Viewport &glViewport, float opacity) |
const std::shared_ptr< Maria::TileCache > & | tileCache () const |
std::shared_ptr< Maria::MapTileData > | loadAsync (const TileId &tileId) |
int | numFrameTiles () const |
Returns number of tiles selected for rendering this frame. | |
bool | checkPendingRequests () |
const Maria::MapContentQuery & | getMapContentQuery () const |
TiledLayerRenderer - Rendering methods for tiled geo layers