![]() |
Maria GDK 5.1.0.112
Documentation of native code in develop branch
|
#include <M3DLabelStyleGroup.h>
Public Member Functions | |
| LabelStyleGroup (const std::shared_ptr< STK::ShaderProgramManager > &shaderManager) | |
| void | setFont (const std::shared_ptr< STK::Font > &font) |
| void | addGlyphsPoint (const STK::Vector3f &position, unsigned char quadrant, const Maria::GlyphRun &glyphs, double offsetX, double offsetY, float maxRenderDistance) |
| void | setColor (const STK::Color4f &color) |
| void | setColor (const STK::Vector4f &color) |
| const STK::Vector4f & | color () const |
| void | setOutlineColor (const STK::Color4f &color) |
| void | setOutlineColor (const STK::Vector4f &color) |
| const STK::Vector4f & | outlineColor () const |
| void | render (const std::shared_ptr< STK::ShaderProgram > &shader, unsigned short renderMask) |
| void | renderDebug (const std::shared_ptr< STK::ShaderProgram > &shader, unsigned short renderMask) |
LabelStyleGroup - Bucket of labels with the same font (texture atlas) and color parameters. For state sorting inside a tile.
|
inline |
Set font for this label item node. All labels in the node will use this font. All glyphs must be registered in the corresponding font glyph cache, so this method must be called before adding any glyphs.