summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-07-20 12:00:21 -0300
committerGitHub <noreply@github.com>2018-07-20 12:00:21 -0300
commit6c09cdd1361881ab44c971bae57f3a273f8b5110 (patch)
tree2973692d9995482e4eae9b20b01cf9359bcd9d32 /doc/classes
parent814fdd398507bf697f249d58b8b349f253bb0289 (diff)
parentc5efe5d625529af5df908808791599f8dceaf50c (diff)
Merge pull request #20157 from GodotExplorer/image-load-webp
Add webp buffer loader for Image
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Image.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 9fc7672a80..e10485a6b2 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -350,6 +350,15 @@
Loads an image from the binary contents of a PNG file.
</description>
</method>
+ <method name="load_webp_from_buffer">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="buffer" type="PoolByteArray">
+ </argument>
+ <description>
+ Loads an image from the binary contents of a WebP file.
+ </description>
+ </method>
<method name="lock">
<return type="void">
</return>