diff options
author | Marcin Nowak <marcin.j.nowak@gmail.com> | 2022-11-24 01:31:04 +0200 |
---|---|---|
committer | Marcin Nowak <marcin.j.nowak@gmail.com> | 2023-07-31 21:31:26 +0200 |
commit | 34ab1c8a36e61b386c210fb908b9ebfa86513149 (patch) | |
tree | 5456a34b342ff19167fb405dbdb5a9d353b6adc1 /doc | |
parent | dcd187da9580b41688f4e5110acd767d4deab8de (diff) | |
download | redot-engine-34ab1c8a36e61b386c210fb908b9ebfa86513149.tar.gz |
Implement loading DDS textures at run-time
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Image.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 81954dd7de..1486990995 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -312,6 +312,13 @@ [b]Note:[/b] Godot's BMP module doesn't support 16-bit per pixel images. Only 1-bit, 4-bit, 8-bit, 24-bit, and 32-bit per pixel images are supported. </description> </method> + <method name="load_dds_from_buffer"> + <return type="int" enum="Error" /> + <param index="0" name="buffer" type="PackedByteArray" /> + <description> + Loads an image from the binary contents of a DDS file. + </description> + </method> <method name="load_from_file" qualifiers="static"> <return type="Image" /> <param index="0" name="path" type="String" /> |