blob: 4bc6a49e918fec09fc72f8f483de815494f49366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<?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>
|