浏览代码

Add feature tags that can be added on export depending on export options

`shader_baker` and `dedicated_server` are applied to exported projects
only.
Hugo Locurcio 2 天之前
父节点
当前提交
3dcb29a37e
共有 1 个文件被更改,包括 101 次插入93 次删除
  1. 101 93
      tutorials/export/feature_tags.rst

+ 101 - 93
tutorials/export/feature_tags.rst

@@ -37,99 +37,107 @@ Default features
 
 
 Here is a list of most feature tags in Godot. Keep in mind they are **case-sensitive**:
 Here is a list of most feature tags in Godot. Keep in mind they are **case-sensitive**:
 
 
-+--------------------+----------------------------------------------------------+
-| **Feature tag**    | **Description**                                          |
-+====================+==========================================================+
-| **android**        | Running on Android (but not within a Web browser)        |
-+--------------------+----------------------------------------------------------+
-| **bsd**            | Running on \*BSD (but not within a Web browser)          |
-+--------------------+----------------------------------------------------------+
-| **linux**          | Running on Linux (but not within a Web browser)          |
-+--------------------+----------------------------------------------------------+
-| **macos**          | Running on macOS (but not within a Web browser)          |
-+--------------------+----------------------------------------------------------+
-| **ios**            | Running on iOS (but not within a Web browser)            |
-+--------------------+----------------------------------------------------------+
-| **windows**        | Running on Windows                                       |
-+--------------------+----------------------------------------------------------+
-| **linuxbsd**       | Running on Linux or \*BSD                                |
-+--------------------+----------------------------------------------------------+
-| **debug**          | Running on a debug build (including the editor)          |
-+--------------------+----------------------------------------------------------+
-| **release**        | Running on a release build                               |
-+--------------------+----------------------------------------------------------+
-| **editor**         | Running on an editor build                               |
-+--------------------+----------------------------------------------------------+
-| **editor_hint**    | Running on an editor build, and inside the editor        |
-+--------------------+----------------------------------------------------------+
-| **editor_runtime** | Running on an editor build, and running the project      |
-+--------------------+----------------------------------------------------------+
-| **template**       | Running on a non-editor (export template) build          |
-+--------------------+----------------------------------------------------------+
-| **double**         | Running on a double-precision build                      |
-+--------------------+----------------------------------------------------------+
-| **single**         | Running on a single-precision build                      |
-+--------------------+----------------------------------------------------------+
-| **64**             | Running on a 64-bit build (any architecture)             |
-+--------------------+----------------------------------------------------------+
-| **32**             | Running on a 32-bit build (any architecture)             |
-+--------------------+----------------------------------------------------------+
-| **x86_64**         | Running on a 64-bit x86 build                            |
-+--------------------+----------------------------------------------------------+
-| **x86_32**         | Running on a 32-bit x86 build                            |
-+--------------------+----------------------------------------------------------+
-| **x86**            | Running on an x86 build (any bitness)                    |
-+--------------------+----------------------------------------------------------+
-| **arm64**          | Running on a 64-bit ARM build                            |
-+--------------------+----------------------------------------------------------+
-| **arm32**          | Running on a 32-bit ARM build                            |
-+--------------------+----------------------------------------------------------+
-| **arm**            | Running on an ARM build (any bitness)                    |
-+--------------------+----------------------------------------------------------+
-| **rv64**           | Running on a 64-bit RISC-V build                         |
-+--------------------+----------------------------------------------------------+
-| **riscv**          | Running on a RISC-V build (any bitness)                  |
-+--------------------+----------------------------------------------------------+
-| **ppc64**          | Running on a 64-bit PowerPC build                        |
-+--------------------+----------------------------------------------------------+
-| **ppc32**          | Running on a 32-bit PowerPC build                        |
-+--------------------+----------------------------------------------------------+
-| **ppc**            | Running on a PowerPC build (any bitness)                 |
-+--------------------+----------------------------------------------------------+
-| **wasm64**         | Running on a 64-bit WebAssembly build (not yet possible) |
-+--------------------+----------------------------------------------------------+
-| **wasm32**         | Running on a 32-bit WebAssembly build                    |
-+--------------------+----------------------------------------------------------+
-| **wasm**           | Running on a WebAssembly build (any bitness)             |
-+--------------------+----------------------------------------------------------+
-| **mobile**         | Host OS is a mobile platform                             |
-+--------------------+----------------------------------------------------------+
-| **pc**             | Host OS is a PC platform (desktop/laptop)                |
-+--------------------+----------------------------------------------------------+
-| **web**            | Host OS is a Web browser                                 |
-+--------------------+----------------------------------------------------------+
-| **nothreads**      | Running without threading support                        |
-+--------------------+----------------------------------------------------------+
-| **threads**        | Running with threading support                           |
-+--------------------+----------------------------------------------------------+
-| **web_android**    | Host OS is a Web browser running on Android              |
-+--------------------+----------------------------------------------------------+
-| **web_ios**        | Host OS is a Web browser running on iOS                  |
-+--------------------+----------------------------------------------------------+
-| **web_linuxbsd**   | Host OS is a Web browser running on Linux or \*BSD       |
-+--------------------+----------------------------------------------------------+
-| **web_macos**      | Host OS is a Web browser running on macOS                |
-+--------------------+----------------------------------------------------------+
-| **web_windows**    | Host OS is a Web browser running on Windows              |
-+--------------------+----------------------------------------------------------+
-| **etc**            | Textures using ETC1 compression are supported            |
-+--------------------+----------------------------------------------------------+
-| **etc2**           | Textures using ETC2 compression are supported            |
-+--------------------+----------------------------------------------------------+
-| **s3tc**           | Textures using S3TC (DXT/BC) compression are supported   |
-+--------------------+----------------------------------------------------------+
-| **movie**          | :ref:`Movie Maker mode <doc_creating_movies>` is active  |
-+--------------------+----------------------------------------------------------+
++----------------------+-----------------------------------------------------------------------------------------+
+| **Feature tag**      | **Description**                                                                         |
++======================+=========================================================================================+
+| **android**          | Running on Android (but not within a Web browser)                                       |
++----------------------+-----------------------------------------------------------------------------------------+
+| **bsd**              | Running on \*BSD (but not within a Web browser)                                         |
++----------------------+-----------------------------------------------------------------------------------------+
+| **linux**            | Running on Linux (but not within a Web browser)                                         |
++----------------------+-----------------------------------------------------------------------------------------+
+| **macos**            | Running on macOS (but not within a Web browser)                                         |
++----------------------+-----------------------------------------------------------------------------------------+
+| **ios**              | Running on iOS (but not within a Web browser)                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **visionos**         | Running on visionOS (but not within a Web browser)                                      |
++----------------------+-----------------------------------------------------------------------------------------+
+| **windows**          | Running on Windows                                                                      |
++----------------------+-----------------------------------------------------------------------------------------+
+| **linuxbsd**         | Running on Linux or \*BSD                                                               |
++----------------------+-----------------------------------------------------------------------------------------+
+| **debug**            | Running on a debug build (including the editor)                                         |
++----------------------+-----------------------------------------------------------------------------------------+
+| **release**          | Running on a release build                                                              |
++----------------------+-----------------------------------------------------------------------------------------+
+| **editor**           | Running on an editor build                                                              |
++----------------------+-----------------------------------------------------------------------------------------+
+| **editor_hint**      | Running on an editor build, and inside the editor                                       |
++----------------------+-----------------------------------------------------------------------------------------+
+| **editor_runtime**   | Running on an editor build, and running the project                                     |
++----------------------+-----------------------------------------------------------------------------------------+
+| **template**         | Running on a non-editor (export template) build                                         |
++----------------------+-----------------------------------------------------------------------------------------+
+| **double**           | Running on a double-precision build                                                     |
++----------------------+-----------------------------------------------------------------------------------------+
+| **single**           | Running on a single-precision build                                                     |
++----------------------+-----------------------------------------------------------------------------------------+
+| **64**               | Running on a 64-bit build (any architecture)                                            |
++----------------------+-----------------------------------------------------------------------------------------+
+| **32**               | Running on a 32-bit build (any architecture)                                            |
++----------------------+-----------------------------------------------------------------------------------------+
+| **x86_64**           | Running on a 64-bit x86 build                                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **x86_32**           | Running on a 32-bit x86 build                                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **x86**              | Running on an x86 build (any bitness)                                                   |
++----------------------+-----------------------------------------------------------------------------------------+
+| **arm64**            | Running on a 64-bit ARM build                                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **arm32**            | Running on a 32-bit ARM build                                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **arm**              | Running on an ARM build (any bitness)                                                   |
++----------------------+-----------------------------------------------------------------------------------------+
+| **rv64**             | Running on a 64-bit RISC-V build                                                        |
++----------------------+-----------------------------------------------------------------------------------------+
+| **riscv**            | Running on a RISC-V build (any bitness)                                                 |
++----------------------+-----------------------------------------------------------------------------------------+
+| **ppc64**            | Running on a 64-bit PowerPC build                                                       |
++----------------------+-----------------------------------------------------------------------------------------+
+| **ppc32**            | Running on a 32-bit PowerPC build                                                       |
++----------------------+-----------------------------------------------------------------------------------------+
+| **ppc**              | Running on a PowerPC build (any bitness)                                                |
++----------------------+-----------------------------------------------------------------------------------------+
+| **wasm64**           | Running on a 64-bit WebAssembly build (not yet possible)                                |
++----------------------+-----------------------------------------------------------------------------------------+
+| **wasm32**           | Running on a 32-bit WebAssembly build                                                   |
++----------------------+-----------------------------------------------------------------------------------------+
+| **wasm**             | Running on a WebAssembly build (any bitness)                                            |
++----------------------+-----------------------------------------------------------------------------------------+
+| **mobile**           | Host OS is a mobile platform                                                            |
++----------------------+-----------------------------------------------------------------------------------------+
+| **pc**               | Host OS is a PC platform (desktop/laptop)                                               |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web**              | Host OS is a Web browser                                                                |
++----------------------+-----------------------------------------------------------------------------------------+
+| **nothreads**        | Running without threading support                                                       |
++----------------------+-----------------------------------------------------------------------------------------+
+| **threads**          | Running with threading support                                                          |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web_android**      | Host OS is a Web browser running on Android                                             |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web_ios**          | Host OS is a Web browser running on iOS                                                 |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web_linuxbsd**     | Host OS is a Web browser running on Linux or \*BSD                                      |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web_macos**        | Host OS is a Web browser running on macOS                                               |
++----------------------+-----------------------------------------------------------------------------------------+
+| **web_windows**      | Host OS is a Web browser running on Windows                                             |
++----------------------+-----------------------------------------------------------------------------------------+
+| **etc**              | Textures using ETC1 compression are supported                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **etc2**             | Textures using ETC2 compression are supported                                           |
++----------------------+-----------------------------------------------------------------------------------------+
+| **s3tc**             | Textures using S3TC (DXT/BC) compression are supported                                  |
++----------------------+-----------------------------------------------------------------------------------------+
+| **movie**            | :ref:`Movie Maker mode <doc_creating_movies>` is active                                 |
++----------------------+-----------------------------------------------------------------------------------------+
+| **shader_baker**     | Project was exported with shader baking enabled                                         |
+|                      | (only applies to the exported project, not when running in the editor)                  |
++----------------------+-----------------------------------------------------------------------------------------+
+| **dedicated_server** | Project was exported as a :ref:`dedicated server <doc_exporting_for_dedicated_servers>` |
+|                      | (only applies to the exported project, not when running in the editor)                  |
++----------------------+-----------------------------------------------------------------------------------------+
 
 
 .. warning::
 .. warning::