EPOK RUNTIME
epok::GlyphMetric
Struct
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Struct
One cooked glyph of an authored font.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "font_types.hpp"
epok::GlyphMetric& value = /* obtain a valid instance from your game */;Fields and constants
advanceExposes `advance` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.FieldcodepointExposes `codepoint` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.FieldheightExposes `height` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.FielduExposes `u` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.FieldvExposes `v` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.FieldwidthExposes `width` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.Fieldx_offsetExposes `x_offset` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.Fieldy_offsetExposes `y_offset` on `epok::GlyphMetric` for GPU text rendering with the built-in or uploaded font atlas.Field