Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::LabelRenderTile Class Reference

#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 ()
 
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)
 

Detailed Description

LabelRenderTile - Short description. Detailed description.

Member Function Documentation

◆ getTimestamp()

int64_t Maria3D::LabelRenderTile::getTimestamp ( ) const
inline

Get timestamp. This value is used for LRU caching, and should be updated each time a tile is used.

◆ setTimestamp()

void Maria3D::LabelRenderTile::setTimestamp ( int64_t  timestamp)
inline

Set timestamp. This value is used for LRU caching, and should be updated each time a tile is used.


The documentation for this class was generated from the following files: