mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-12 13:51:10 +01:00
Ported: [3.x] Expose more compression formats in Image
- AThousandShips
2ca86ef449
This commit is contained in:
parent
3a1b2954f1
commit
06b2437b72
@ -3041,6 +3041,8 @@ void Image::_bind_methods() {
|
|||||||
BIND_ENUM_CONSTANT(COMPRESS_PVRTC4);
|
BIND_ENUM_CONSTANT(COMPRESS_PVRTC4);
|
||||||
BIND_ENUM_CONSTANT(COMPRESS_ETC);
|
BIND_ENUM_CONSTANT(COMPRESS_ETC);
|
||||||
BIND_ENUM_CONSTANT(COMPRESS_ETC2);
|
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_GENERIC);
|
||||||
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_SRGB);
|
BIND_ENUM_CONSTANT(COMPRESS_SOURCE_SRGB);
|
||||||
|
@ -617,6 +617,12 @@
|
|||||||
<constant name="COMPRESS_ETC2" value="4" enum="CompressMode">
|
<constant name="COMPRESS_ETC2" value="4" enum="CompressMode">
|
||||||
Use ETC2 compression.
|
Use ETC2 compression.
|
||||||
</constant>
|
</constant>
|
||||||
|
<constant name="COMPRESS_BPTC" value="5" enum="CompressMode">
|
||||||
|
Use BPTC compression.
|
||||||
|
</constant>
|
||||||
|
<constant name="COMPRESS_MAX" value="6" enum="CompressMode">
|
||||||
|
Represents the size of the [enum CompressMode] enum.
|
||||||
|
</constant>
|
||||||
<constant name="COMPRESS_SOURCE_GENERIC" value="0" enum="CompressSource">
|
<constant name="COMPRESS_SOURCE_GENERIC" value="0" enum="CompressSource">
|
||||||
Source texture (before compression) is a regular texture. Default for all textures.
|
Source texture (before compression) is a regular texture. Default for all textures.
|
||||||
</constant>
|
</constant>
|
||||||
|
Loading…
Reference in New Issue
Block a user