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
6
namespace
Cori
{
7
namespace
Graphics
{
8
namespace
Internal
{
9
struct
FontData
{
10
FontData
() :
m_FontGeometry
(&
m_Glyphs
) {}
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
}
Texture.hpp
Cori::Graphics::Internal
Definition
Window.hpp:8
Cori::Graphics
Almost everything connected to graphics is in this namespace.
Definition
Window.hpp:7
Cori
Global engine namespace.
Definition
AssetLoadStatus.hpp:3
Cori::Graphics::Internal::FontData::FontData
FontData()
Definition
FontData.hpp:10
Cori::Graphics::Internal::FontData::m_Atlas
std::shared_ptr< Texture2D > m_Atlas
Definition
FontData.hpp:11
Cori::Graphics::Internal::FontData::m_FinalScale
double m_FinalScale
Definition
FontData.hpp:14
Cori::Graphics::Internal::FontData::m_FontGeometry
msdf_atlas::FontGeometry m_FontGeometry
Definition
FontData.hpp:13
Cori::Graphics::Internal::FontData::m_Glyphs
std::vector< msdf_atlas::GlyphGeometry > m_Glyphs
Definition
FontData.hpp:12
CoriEngine
Engine
src
Graphics
FontData.hpp
Generated by
1.14.0