virtualx-engine/doc/classes/VisualServer.xml

102 lines
2.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualServer" inherits="Object" category="Core" version="3.0.alpha.custom_build">
<brief_description>
Server for anything visible.
</brief_description>
<description>
Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display.
The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="force_draw">
<return type="void">
</return>
<description>
</description>
</method>
<method name="force_sync">
<return type="void">
</return>
<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>
<description>
</description>
</method>
<method name="texture_create_from_image">
<return type="RID">
</return>
<argument index="0" name="image" type="Image">
</argument>
<argument index="1" name="flags" type="int" default="7">
</argument>
<description>
</description>
</method>
<method name="texture_get_flags" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="texture" type="RID">
</argument>
<description>
</description>
</method>
<method name="texture_get_height" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="texture" type="RID">
</argument>
<description>
</description>
</method>
<method name="texture_get_width" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="texture" type="RID">
</argument>
<description>
</description>
</method>
<method name="texture_set_flags">
<return type="void">
</return>
<argument index="0" name="texture" type="RID">
</argument>
<argument index="1" name="flags" type="int">
</argument>
<description>
</description>
</method>
<method name="texture_set_shrink_all_x2_on_set_data">
<return type="void">
</return>
<argument index="0" name="shrink" type="bool">
</argument>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>