summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNinni Pipping <over999ships@gmail.com>2023-04-13 09:39:03 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-24 16:28:30 +0200
commit3445fa7dbcddff1aabb73e0ee156d97227dbe41b (patch)
treeb651c0856ed2ee59877d9c52c0e19c4ceff380f2 /doc
parentccc761dd93566cec98ee3f1608d4c4da709f308f (diff)
Expose more compression formats in Image and fix compress check
Check for compressing ASTC checked if the function for BPTC was present (cherry picked from commit cf64e2fa479ce548713c589d9c3252e5ac36a6d3)
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Image.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 166ef7a108..09911d58a8 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -714,6 +714,12 @@
<constant name="COMPRESS_BPTC" value="3" enum="CompressMode">
Use BPTC compression.
</constant>
+ <constant name="COMPRESS_ASTC" value="4" enum="CompressMode">
+ Use ASTC compression.
+ </constant>
+ <constant name="COMPRESS_MAX" value="5" enum="CompressMode">
+ Represents the size of the [enum CompressMode] enum.
+ </constant>
<constant name="USED_CHANNELS_L" value="0" enum="UsedChannels">
</constant>
<constant name="USED_CHANNELS_LA" value="1" enum="UsedChannels">