mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
76 lines
4.4 KiB
ReStructuredText
76 lines
4.4 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_VisualServer:
|
|
|
|
VisualServer
|
|
============
|
|
|
|
**Inherits:** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Server for anything visible.
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`RID<class_rid>` | :ref:`texture_create<class_VisualServer_texture_create>` **(** **)** |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`RID<class_rid>` | :ref:`texture_create_from_image<class_VisualServer_texture_create_from_image>` **(** :ref:`Object<class_object>` arg0, :ref:`int<class_int>` arg1=7 **)** |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`texture_get_flags<class_VisualServer_texture_get_flags>` **(** :ref:`RID<class_rid>` arg0 **)** const |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`texture_get_height<class_VisualServer_texture_get_height>` **(** :ref:`RID<class_rid>` arg0 **)** const |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`texture_get_width<class_VisualServer_texture_get_width>` **(** :ref:`RID<class_rid>` arg0 **)** const |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`texture_set_flags<class_VisualServer_texture_set_flags>` **(** :ref:`RID<class_rid>` arg0, :ref:`int<class_int>` arg1 **)** |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`texture_set_shrink_all_x2_on_set_data<class_VisualServer_texture_set_shrink_all_x2_on_set_data>` **(** :ref:`bool<class_bool>` shrink **)** |
|
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
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.
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_VisualServer_texture_create:
|
|
|
|
- :ref:`RID<class_rid>` **texture_create** **(** **)**
|
|
|
|
.. _class_VisualServer_texture_create_from_image:
|
|
|
|
- :ref:`RID<class_rid>` **texture_create_from_image** **(** :ref:`Object<class_object>` arg0, :ref:`int<class_int>` arg1=7 **)**
|
|
|
|
.. _class_VisualServer_texture_get_flags:
|
|
|
|
- :ref:`int<class_int>` **texture_get_flags** **(** :ref:`RID<class_rid>` arg0 **)** const
|
|
|
|
.. _class_VisualServer_texture_get_height:
|
|
|
|
- :ref:`int<class_int>` **texture_get_height** **(** :ref:`RID<class_rid>` arg0 **)** const
|
|
|
|
.. _class_VisualServer_texture_get_width:
|
|
|
|
- :ref:`int<class_int>` **texture_get_width** **(** :ref:`RID<class_rid>` arg0 **)** const
|
|
|
|
.. _class_VisualServer_texture_set_flags:
|
|
|
|
- void **texture_set_flags** **(** :ref:`RID<class_rid>` arg0, :ref:`int<class_int>` arg1 **)**
|
|
|
|
.. _class_VisualServer_texture_set_shrink_all_x2_on_set_data:
|
|
|
|
- void **texture_set_shrink_all_x2_on_set_data** **(** :ref:`bool<class_bool>` shrink **)**
|
|
|
|
|