![]() |
Maria GDK 5.0.0.896
Documentation of native code in develop branch
|
#include <M3DLabelRenderTile.h>
Public Member Functions | |
| LabelRenderTile (Maria::TileId tileId, const std::shared_ptr< STK::ShaderProgramManager > &shaderManager, const std::shared_ptr< STK::FontManager > &fontManager) | |
| void | clearItems () |
| long | getDataGeneration (size_t dataSourceNum) const |
| void | setDataGeneration (size_t dataSourceNum, long generation) |
| int | numItems () const |
| void | addLabel (const BasicGeoTypes::GeoPos &geoPos, double alt, const std::string &text, const Maria::FontDescription &font, Maria::RGBA color, Maria::RGBA outlineColor, Maria::LabelPlacement placement, double placementMargin) |
| void | addLabel (const Maria::TileLabel &label, double alt) |
| void | render (const std::shared_ptr< STK::ShaderProgram > &shader, const STK::Vector3d &currOrigin, const STK::Camera &cam, unsigned short renderMask) |
| void | setTimestamp (int64_t timestamp) |
| int64_t | getTimestamp () const |
| Maria::TileId | getTileId () const |
| void | renderDebug (const std::shared_ptr< STK::ShaderProgram > &shader, const STK::Vector3d &currOrigin, const STK::Camera &cam, unsigned short renderMask) |
LabelRenderTile - Short description. Detailed description.
|
inline |
Get timestamp. This value is used for LRU caching, and should be updated each time a tile is used.
|
inline |
Set timestamp. This value is used for LRU caching, and should be updated each time a tile is used.