LeviLamina
Loading...
Searching...
No Matches
FontLoadingUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
10class Font;
11class FontAlias;
12class FontRepository;
13struct BitmapFont;
14struct MSDFFont;
15struct TrueTypeFont;
16struct TrueTypeMsdfFont;
17namespace Json { class Value; }
18namespace mce { class TextureGroup; }
19// clang-format on
20
21namespace FontLoadingUtils {
22// functions
23// NOLINTBEGIN
24MCNAPI ::std::shared_ptr<::BitmapFont>
25loadBitmapFont(::Json::Value const& fontMetaData, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
26
27MCNAPI ::std::shared_ptr<::FontAlias> loadFontAlias(
28 ::Json::Value const& aliasMetaData,
29 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
30 ::std::shared_ptr<::Font> defaultFont,
31 ::Bedrock::NotNullNonOwnerPtr<::FontRepository> fontRepository
32);
33
34MCNAPI ::std::shared_ptr<::MSDFFont>
35loadMsdfFont(::Json::Value const& fontMetaData, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
36
37MCNAPI ::std::shared_ptr<::TrueTypeFont>
38loadTrueTypeFont(::Json::Value const& fontMetaData, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
39
40MCNAPI ::std::shared_ptr<::TrueTypeMsdfFont>
41loadTrueTypeMsdfFont(::Json::Value const& fontMetaData, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
42// NOLINTEND
43
44} // namespace FontLoadingUtils
Definition FontAlias.h:5
Definition FontRepository.h:5
Definition Font.h:5
Definition Value.h:16
Definition TextureGroup.h:7
Definition BitmapFont.h:5
Definition MSDFFont.h:5
Definition TrueTypeFont.h:5
Definition TrueTypeMsdfFont.h:5