You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
BasisU: Update to 1.50.0 and add HDR support
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user