Maria GDK 5.1.0.259
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::LabelRenderItem::RenderBatch Struct Reference

Public Member Functions

 RenderBatch (const std::shared_ptr< STK::Font > &f)
 
void setGeometry (const PlacedGlyphs &glyphs)
 
bool updateAnchorData (const std::vector< STK::Vector2f > &projectedAnchors)
 
bool updateScaleData (float labelMinScale)
 
void initBuffers ()
 
void updateAnchorBuffer ()
 
void updateScaleBuffer ()
 
void configureVertexArray ()
 
void drawBuffers ()
 
void clearBuffers ()
 

Public Attributes

std::shared_ptr< STK::Font > font
 
STK::VAOCache vaoCache
 
STK::BufferObject vtxBuffer
 
STK::BufferObject anchorBuffer
 
STK::BufferObject scaleBuffer
 
STK::BufferObject idxBuffer
 
int idxBufferSize = 0
 
std::vector< VertexData > vertices
 
std::vector< unsigned short > indices
 
std::vector< int > anchorPointIds
 
std::vector< ScaleData > glyphScales
 
std::vector< AnchorData > anchors
 
std::vector< ScaleData > scales
 

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