Update atlas metadata encoding, now with compression

This commit is contained in:
Georg Hagen
2025-01-11 13:22:16 +01:00
parent 98db9f79fe
commit 9167bb82d0
3 changed files with 74 additions and 12 deletions

View File

@@ -13,4 +13,12 @@ namespace OpenVulkano
template<typename T> using Ptr = std::shared_ptr<T>;
template<typename T> using Weak = std::weak_ptr<T>;
template<typename T> using Unique = std::unique_ptr<T>;
template<typename T = void>
struct FreeDelete
{
void operator()(T* x) const { free(x); }
};
template<typename T> using UniqueMalloc = std::unique_ptr<T, FreeDelete<T>>;
}