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

#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::Vector4fcolor () const
 
void setOutlineColor (const STK::Color4f &color)
 
void setOutlineColor (const STK::Vector4f &color)
 
const STK::Vector4foutlineColor () 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)
 

Detailed Description

LabelStyleGroup - Bucket of labels with the same font (texture atlas) and color parameters. For state sorting inside a tile.

Member Function Documentation

◆ setFont()

void Maria3D::LabelStyleGroup::setFont ( const std::shared_ptr< STK::Font > &  font)
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.


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