You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Merge pull request #20157 from GodotExplorer/image-load-webp
Add webp buffer loader for Image
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user