diff --git a/core/io/image.cpp b/core/io/image.cpp index 2c011b366..98d45de8c 100644 --- a/core/io/image.cpp +++ b/core/io/image.cpp @@ -3041,6 +3041,8 @@ void Image::_bind_methods() { BIND_ENUM_CONSTANT(COMPRESS_PVRTC4); BIND_ENUM_CONSTANT(COMPRESS_ETC); BIND_ENUM_CONSTANT(COMPRESS_ETC2); + BIND_ENUM_CONSTANT(COMPRESS_BPTC); + BIND_ENUM_CONSTANT(COMPRESS_MAX); BIND_ENUM_CONSTANT(COMPRESS_SOURCE_GENERIC); BIND_ENUM_CONSTANT(COMPRESS_SOURCE_SRGB); diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index eb52cf680..67fd48109 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -617,6 +617,12 @@ Use ETC2 compression. + + Use BPTC compression. + + + Represents the size of the [enum CompressMode] enum. + Source texture (before compression) is a regular texture. Default for all textures.