Add support for KTX & KTX2 image format

Add support glTF KHR_texture_basisu extension
This commit is contained in:
acazuc
2023-04-28 18:26:01 +02:00
parent ff5c884153
commit a00cf02241
55 changed files with 20856 additions and 0 deletions

View File

@@ -333,6 +333,13 @@
Loads an image from the binary contents of a JPEG file.
</description>
</method>
<method name="load_ktx_from_buffer">
<return type="int" enum="Error" />
<param index="0" name="buffer" type="PackedByteArray" />
<description>
Loads an image from the binary contents of a KTX file.
</description>
</method>
<method name="load_png_from_buffer">
<return type="int" enum="Error" />
<param index="0" name="buffer" type="PackedByteArray" />