mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
ImageTexture.load returns an error code.
This commit is contained in:
@@ -47,12 +47,12 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="load">
|
||||
<return type="void">
|
||||
<return type="int" enum="Error">
|
||||
</return>
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Load an [code]ImageTexture[/code].
|
||||
Load an [code]ImageTexture[/code] from a file path.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_data">
|
||||
|
||||
Reference in New Issue
Block a user