diff options
Diffstat (limited to 'doc/classes/VisualServer.xml')
-rw-r--r-- | doc/classes/VisualServer.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml new file mode 100644 index 0000000000..242fc18ab9 --- /dev/null +++ b/doc/classes/VisualServer.xml @@ -0,0 +1,82 @@ +<?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="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> |