Move some more classes
This commit is contained in:
29
openVulkanoCpp/Scene/Text/IFontAtlasGenerator.hpp
Normal file
29
openVulkanoCpp/Scene/Text/IFontAtlasGenerator.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Data/Containers/Array.hpp>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <memory>
|
||||
|
||||
namespace OpenVulkano::Scene
|
||||
{
|
||||
struct FontAtlas;
|
||||
|
||||
class IFontAtlasGenerator
|
||||
{
|
||||
public:
|
||||
virtual ~IFontAtlasGenerator() = default;
|
||||
virtual void GenerateAtlas(const std::string& fontFile, const std::set<uint32_t>& charset,
|
||||
const std::optional<std::string>& pngOutput = std::nullopt) = 0;
|
||||
virtual void GenerateAtlas(const Array<char>& fontData, const std::set<uint32_t>& charset,
|
||||
const std::optional<std::string>& pngOutput = std::nullopt) = 0;
|
||||
virtual const std::shared_ptr<FontAtlas>& GetAtlas() const = 0;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user