Open 3D Engine AtomLyIntegration Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <FontTexture.h>
Public Member Functions | |
void | Reset () |
void | SetNotReusable () |
Public Attributes | |
AtomFont::GlyphSize | m_glyphSize = AtomFont::defaultGlyphSize |
Size of the rendered glyph stored in the font texture. | |
uint16_t | m_slotUsage |
For LRU strategy, 0xffff is never released. | |
uint32_t | m_currentCharacter |
~0 if not used for characters | |
int32_t | m_textureSlot |
int32_t | m_horizontalAdvance |
Advance width. See FT_Glyph_Metrics::horiAdvance. | |
float | m_texCoords [2] |
Character position in the texture (not yet half texel corrected) | |
uint8_t | m_characterWidth |
Glyph width (in pixel) | |
uint8_t | m_characterHeight |
Glyph height (in pixel) | |
int32_t | m_characterOffsetX |
Glyph's left-side bearing (in pixels). See FT_GlyphSlotRec::bitmap_left. | |
int32_t | m_characterOffsetY |
Glyph's top bearing (in pixels). See FT_GlyphSlotRec::bitmap_top. | |
Stores glyph meta-data read from the font (FreeType).