Expose 'request_frame_drawn_callback' to script.

This commit is contained in:
Saracen
2017-10-14 16:32:27 +01:00
parent deefc2a63d
commit d030e6ee75
2 changed files with 15 additions and 0 deletions

View File

@@ -24,6 +24,20 @@
<description>
</description>
</method>
<method name="request_frame_drawn_callback">
<return type="void">
</return>
<argument index="0" name="where" type="Object">
</argument>
<argument index="1" name="method" type="String">
</argument>
<argument index="2" name="userdata" type="Variant">
</argument>
<description>
Schedules a callback to the corresponding named 'method' on 'where' after a frame has been drawn.
The callback method must use only 1 argument which will be called with 'userdata'.
</description>
</method>
<method name="texture_create">
<return type="RID">
</return>