Brenta Engine 1.1
Loading...
Searching...
No Matches
brenta::types::character Struct Reference

Character struct. More...

#include <text.hpp>

Data Fields

unsigned int texture_id
 
glm::ivec2 size
 
glm::ivec2 bearing
 
unsigned int advance
 

Detailed Description

Character struct.

This struct is used to store the information of a character that is used to render text on the screen. The struct contains the texture ID, the size of the glyph, the bearing, and the advance of the glyph.

Definition at line 53 of file text.hpp.

Field Documentation

◆ advance

unsigned int brenta::types::character::advance

Definition at line 58 of file text.hpp.

◆ bearing

glm::ivec2 brenta::types::character::bearing

Definition at line 57 of file text.hpp.

◆ size

glm::ivec2 brenta::types::character::size

Definition at line 56 of file text.hpp.

◆ texture_id

unsigned int brenta::types::character::texture_id

Definition at line 55 of file text.hpp.


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