CoriEngine
Loading...
Searching...
No Matches
FontData.hpp
Go to the documentation of this file.
1#pragma once
2#include <msdf-atlas-gen/msdf-atlas-gen.h>
3
4#include "Texture.hpp"
5
6namespace Cori {
7 namespace Graphics {
8 namespace Internal {
9 struct FontData {
11 std::shared_ptr<Texture2D> m_Atlas;
12 std::vector<msdf_atlas::GlyphGeometry> m_Glyphs;
13 msdf_atlas::FontGeometry m_FontGeometry;
14 double m_FinalScale{};
15 };
16 }
17 }
18}
Almost everything connected to graphics is in this namespace.
Definition Window.hpp:7
Global engine namespace.
std::shared_ptr< Texture2D > m_Atlas
Definition FontData.hpp:11
msdf_atlas::FontGeometry m_FontGeometry
Definition FontData.hpp:13
std::vector< msdf_atlas::GlyphGeometry > m_Glyphs
Definition FontData.hpp:12