/*
 * 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 "Scene/AtlasData.hpp"
#include <string>
#include <optional>
#include <map>
#include <variant>
#include <set>
#include <memory>

namespace OpenVulkano::Scene
{
	class IFontAtlasGenerator
	{
	public:
		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, int length, const std::set<uint32_t>& charset,
		                           const std::optional<std::string>& pngOutput = std::nullopt) = 0;
		virtual void SaveAtlasMetadataInfo(const std::string& outputFile, bool packIntoSingleFile = true) const = 0;
		virtual std::shared_ptr<AtlasData> GetAtlasData() const = 0;
	};
}
