Update atlas metadata encoding, now with compression
This commit is contained in:
@@ -41,6 +41,9 @@ namespace OpenVulkano::Scene
|
||||
void LoadNew(std::span<char> data);
|
||||
void LoadImage(std::span<char> data);
|
||||
|
||||
Array<char> SerializeMetadata() const;
|
||||
void DeserializeMetadata(const std::span<char>& data);
|
||||
|
||||
public:
|
||||
FontAtlas() = default;
|
||||
FontAtlas(const Math::Vector2ui textureResolution, const double lineHeight, const FontAtlasType atlasType) { Init(textureResolution, lineHeight, atlasType); }
|
||||
|
||||
Reference in New Issue
Block a user