summaryrefslogtreecommitdiffstats
path: root/modules/basis_universal/image_compress_basisu.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/basis_universal/image_compress_basisu.h')
-rw-r--r--modules/basis_universal/image_compress_basisu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/basis_universal/image_compress_basisu.h b/modules/basis_universal/image_compress_basisu.h
index 5e36d448f6..81c8511f60 100644
--- a/modules/basis_universal/image_compress_basisu.h
+++ b/modules/basis_universal/image_compress_basisu.h
@@ -39,11 +39,20 @@ enum BasisDecompressFormat {
BASIS_DECOMPRESS_RGBA,
BASIS_DECOMPRESS_RG_AS_RA,
BASIS_DECOMPRESS_R,
+ BASIS_DECOMPRESS_HDR_RGB,
+ BASIS_DECOMPRESS_MAX
};
void basis_universal_init();
#ifdef TOOLS_ENABLED
+struct BasisRGBAF {
+ uint32_t r;
+ uint32_t g;
+ uint32_t b;
+ uint32_t a;
+};
+
Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::UsedChannels p_channels);
#endif