cubos::engine::FontAtlas class

Class that holds all the necessary data about a font atlas. This font atlas represents the texure created from all the different glyphs in a font, that will be then used for drawing the text.

Public functions

auto texture() const -> cubos::core::gl::Texture2D
Returns the GPU texture created with this font atlas.