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

#include <M3DLabelRenderItem.h>

Public Member Functions

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

LabelRenderItem - Short description. Detailed description.

Member Function Documentation

◆ setFont()

void Maria3D::LabelRenderItem::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: