Lysa  0.0
Lysa 3D Engine
Font::GlyphInfo Struct Reference

Detailed Description

Information for a single glyph packed in the atlas.

Parameters
indexGlyph index in the font (HB/FreeType index).
advanceAdvance width in pixels for the current font size.
planeBoundsBounds in font plane units.
uv0Top-left texture coordinate in the atlas.
uv1Bottom-right texture coordinate in the atlas.

Public Attributes

uint32 index {0}
 
float advance {0.0f}
 
GlyphBounds planeBounds {}
 
float2 uv0 {0.0f}
 
float2 uv1 {0.0f}
 

Member Data Documentation

float advance {0.0f}
uint32 index {0}
GlyphBounds planeBounds {}
float2 uv0 {0.0f}
float2 uv1 {0.0f}