diff --git a/core/image.cpp b/core/image.cpp index e79389f2ce4..f56698b759d 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -3031,6 +3031,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 3be64294c07..b7344a343bd 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -602,6 +602,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.