Merge pull request #56866 from timothyqiu/texture-layered-source
This commit is contained in:
commit
edee04a41d
@ -3020,6 +3020,7 @@ void Image::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_GENERIC);
|
||||
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_SRGB);
|
||||
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_NORMAL);
|
||||
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_LAYERED);
|
||||
}
|
||||
|
||||
void Image::set_compress_bc_func(void (*p_compress_func)(Image *, float, CompressSource)) {
|
||||
|
@ -611,5 +611,8 @@
|
||||
<constant name="COMPRESS_SOURCE_NORMAL" value="2" enum="CompressSource">
|
||||
Source texture (before compression) is a normal texture (e.g. it can be compressed into two channels).
|
||||
</constant>
|
||||
<constant name="COMPRESS_SOURCE_LAYERED" value="3" enum="CompressSource">
|
||||
Source texture (before compression) is a [TextureLayered].
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
Loading…
Reference in New Issue
Block a user