Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::text::Glyph Struct Reference

#include <BitmapFont.hpp>

Public Attributes

u32 id
f32 x
f32 y
f32 width
f32 height
f32 xOffset
f32 yOffset
f32 xAdvance
u32 page

Detailed Description

Definition at line 17 of file BitmapFont.hpp.

Member Data Documentation

◆ height

f32 esengine::text::Glyph::height

Definition at line 19 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ id

u32 esengine::text::Glyph::id

Definition at line 18 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ page

u32 esengine::text::Glyph::page

Definition at line 22 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ width

f32 esengine::text::Glyph::width

Definition at line 19 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ x

f32 esengine::text::Glyph::x

Definition at line 19 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ xAdvance

f32 esengine::text::Glyph::xAdvance

Definition at line 21 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ xOffset

f32 esengine::text::Glyph::xOffset

Definition at line 20 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ y

f32 esengine::text::Glyph::y

Definition at line 19 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().

◆ yOffset

f32 esengine::text::Glyph::yOffset

Definition at line 20 of file BitmapFont.hpp.

Referenced by esengine::text::BitmapFont::createLabelAtlas().


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