2
0
Эх сурвалжийг харах

classref: Sync with current 3.x branch (dc97a2e)

Godot Organization 2 жил өмнө
parent
commit
03c209085f

+ 16 - 0
classes/class_image.rst

@@ -647,6 +647,22 @@ Use ETC compression.
 
 Use ETC2 compression.
 
+.. _class_Image_constant_COMPRESS_BPTC:
+
+.. rst-class:: classref-enumeration-constant
+
+:ref:`CompressMode<enum_Image_CompressMode>` **COMPRESS_BPTC** = ``5``
+
+Use BPTC compression.
+
+.. _class_Image_constant_COMPRESS_MAX:
+
+.. rst-class:: classref-enumeration-constant
+
+:ref:`CompressMode<enum_Image_CompressMode>` **COMPRESS_MAX** = ``6``
+
+Represents the size of the :ref:`CompressMode<enum_Image_CompressMode>` enum.
+
 .. rst-class:: classref-item-separator
 
 ----

+ 16 - 0
classes/class_projectsettings.rst

@@ -843,6 +843,8 @@ Properties
    +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
    | :ref:`bool<class_bool>`                       | :ref:`rendering/batching/options/use_batching_in_editor<class_ProjectSettings_property_rendering/batching/options/use_batching_in_editor>`                           | ``true``                                                                                         |
    +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
+   | :ref:`bool<class_bool>`                       | :ref:`rendering/batching/options/use_multirect<class_ProjectSettings_property_rendering/batching/options/use_multirect>`                                             | ``true``                                                                                         |
+   +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
    | :ref:`int<class_int>`                         | :ref:`rendering/batching/parameters/batch_buffer_size<class_ProjectSettings_property_rendering/batching/parameters/batch_buffer_size>`                               | ``16384``                                                                                        |
    +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
    | :ref:`float<class_float>`                     | :ref:`rendering/batching/parameters/colored_vertex_format_threshold<class_ProjectSettings_property_rendering/batching/parameters/colored_vertex_format_threshold>`   | ``0.25``                                                                                         |
@@ -6142,6 +6144,20 @@ Switches on 2D batching within the editor.
 
 ----
 
+.. _class_ProjectSettings_property_rendering/batching/options/use_multirect:
+
+.. rst-class:: classref-property
+
+:ref:`bool<class_bool>` **rendering/batching/options/use_multirect** = ``true``
+
+Allows use of the ``MultiRect`` command in the Rasterizer.
+
+This can provide some acceleration for large groups of rects, especially text and tilemaps.
+
+.. rst-class:: classref-item-separator
+
+----
+
 .. _class_ProjectSettings_property_rendering/batching/parameters/batch_buffer_size:
 
 .. rst-class:: classref-property