19 std::vector<std::byte>
data;
24 explicit PPL(std::span<const std::byte> pplData);
26 explicit PPL(
const std::filesystem::path& pplPath);
28 [[nodiscard]]
explicit operator bool()
const;
44 [[nodiscard]] std::vector<uint32_t>
getImageLODs()
const;
64 [[nodiscard]] std::vector<std::byte>
bake();
66 bool bake(
const std::filesystem::path& pplPath);
73 std::unordered_map<uint32_t, Image>
images;
bool setImage(std::span< const std::byte > imageData, ImageFormat format_, uint32_t width, uint32_t height, uint32_t lod=0, float quality=ImageConversion::DEFAULT_COMPRESSED_QUALITY)