GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::Font2D::RenderedGlyphInfo Struct Reference

Information about a single glyph's entry in the texture atlas. More...

#include <GREM/graphics_2d/Font2D.hpp>

Public Attributes

vec2 positionInAtlas
 Position of this glyph's rectangle in the texture atlas, in texels.
vec2 sizeInAtlas
 Size of this glyph's rectangle in the texture atlas, in texels.

Detailed Description

Information about a single glyph's entry in the texture atlas.

Member Data Documentation

◆ positionInAtlas

vec2 grem::graphics::Font2D::RenderedGlyphInfo::positionInAtlas

Position of this glyph's rectangle in the texture atlas, in texels.

◆ sizeInAtlas

vec2 grem::graphics::Font2D::RenderedGlyphInfo::sizeInAtlas

Size of this glyph's rectangle in the texture atlas, in texels.


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