classref: Sync with current master branch (f87858a8f)

This commit is contained in:
Yuri Sizov
2022-12-05 20:38:58 +03:00
parent 913ff5e602
commit a7745c4cc4
843 changed files with 158186 additions and 80821 deletions
+40 -15
View File
@@ -16,6 +16,8 @@ CompressedTextureLayered
Base class for texture arrays that can optionally be compressed.
.. rst-class:: classref-introduction-group
Description
-----------
@@ -33,43 +35,66 @@ Only **VRAM Compressed** actually reduces the memory usage on the GPU. The **Los
Using **VRAM Compressed** also improves loading times, as VRAM-compressed textures are faster to load compared to textures using lossless or lossy compression. VRAM compression can exhibit noticeable artifacts and is intended to be used for 3D rendering, not 2D.
.. rst-class:: classref-reftable-group
Properties
----------
+-----------------------------+---------------------------------------------------------------------+--------+
| :ref:`String<class_String>` | :ref:`load_path<class_CompressedTextureLayered_property_load_path>` | ``""`` |
+-----------------------------+---------------------------------------------------------------------+--------+
.. table::
:widths: auto
+-----------------------------+---------------------------------------------------------------------+--------+
| :ref:`String<class_String>` | :ref:`load_path<class_CompressedTextureLayered_property_load_path>` | ``""`` |
+-----------------------------+---------------------------------------------------------------------+--------+
.. rst-class:: classref-reftable-group
Methods
-------
+---------------------------------------+------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load<class_CompressedTextureLayered_method_load>` **(** :ref:`String<class_String>` path **)** |
+---------------------------------------+------------------------------------------------------------------------------------------------------+
.. table::
:widths: auto
+---------------------------------------+------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load<class_CompressedTextureLayered_method_load>` **(** :ref:`String<class_String>` path **)** |
+---------------------------------------+------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Property Descriptions
---------------------
.. _class_CompressedTextureLayered_property_load_path:
- :ref:`String<class_String>` **load_path**
.. rst-class:: classref-property
+-----------+-----------------+
| *Default* | ``""`` |
+-----------+-----------------+
| *Setter* | load(value) |
+-----------+-----------------+
| *Getter* | get_load_path() |
+-----------+-----------------+
:ref:`String<class_String>` **load_path** = ``""``
.. rst-class:: classref-property-setget
- :ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**
- :ref:`String<class_String>` **get_load_path** **(** **)**
The path the texture should be loaded from.
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Method Descriptions
-------------------
.. _class_CompressedTextureLayered_method_load:
- :ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**
.. rst-class:: classref-method
:ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**
Loads the texture at ``path``.