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

`shader_baker` and `dedicated_server` are applied to exported projects
only.
This commit is contained in:
Hugo Locurcio
2025-07-30 18:14:56 +02:00
parent 03d7b1e98a
commit 3dcb29a37e

View File

@@ -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** | | **Feature tag** | **Description** |
+====================+==========================================================+ +======================+=========================================================================================+
| **android** | Running on Android (but not within a Web browser) | | **android** | Running on Android (but not within a Web browser) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **bsd** | Running on \*BSD (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) | | **linux** | Running on Linux (but not within a Web browser) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **macos** | Running on macOS (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) | | **ios** | Running on iOS (but not within a Web browser) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **windows** | Running on Windows | | **visionos** | Running on visionOS (but not within a Web browser) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **linuxbsd** | Running on Linux or \*BSD | | **windows** | Running on Windows |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **debug** | Running on a debug build (including the editor) | | **linuxbsd** | Running on Linux or \*BSD |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **release** | Running on a release build | | **debug** | Running on a debug build (including the editor) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **editor** | Running on an editor build | | **release** | Running on a release build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **editor_hint** | Running on an editor build, and inside the editor | | **editor** | Running on an editor build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **editor_runtime** | Running on an editor build, and running the project | | **editor_hint** | Running on an editor build, and inside the editor |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **template** | Running on a non-editor (export template) build | | **editor_runtime** | Running on an editor build, and running the project |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **double** | Running on a double-precision build | | **template** | Running on a non-editor (export template) build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **single** | Running on a single-precision build | | **double** | Running on a double-precision build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **64** | Running on a 64-bit build (any architecture) | | **single** | Running on a single-precision build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **32** | Running on a 32-bit build (any architecture) | | **64** | Running on a 64-bit build (any architecture) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **x86_64** | Running on a 64-bit x86 build | | **32** | Running on a 32-bit build (any architecture) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **x86_32** | Running on a 32-bit x86 build | | **x86_64** | Running on a 64-bit x86 build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **x86** | Running on an x86 build (any bitness) | | **x86_32** | Running on a 32-bit x86 build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **arm64** | Running on a 64-bit ARM build | | **x86** | Running on an x86 build (any bitness) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **arm32** | Running on a 32-bit ARM build | | **arm64** | Running on a 64-bit ARM build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **arm** | Running on an ARM build (any bitness) | | **arm32** | Running on a 32-bit ARM build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **rv64** | Running on a 64-bit RISC-V build | | **arm** | Running on an ARM build (any bitness) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **riscv** | Running on a RISC-V build (any bitness) | | **rv64** | Running on a 64-bit RISC-V build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **ppc64** | Running on a 64-bit PowerPC build | | **riscv** | Running on a RISC-V build (any bitness) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **ppc32** | Running on a 32-bit PowerPC build | | **ppc64** | Running on a 64-bit PowerPC build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **ppc** | Running on a PowerPC build (any bitness) | | **ppc32** | Running on a 32-bit PowerPC build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **wasm64** | Running on a 64-bit WebAssembly build (not yet possible) | | **ppc** | Running on a PowerPC build (any bitness) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **wasm32** | Running on a 32-bit WebAssembly build | | **wasm64** | Running on a 64-bit WebAssembly build (not yet possible) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **wasm** | Running on a WebAssembly build (any bitness) | | **wasm32** | Running on a 32-bit WebAssembly build |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **mobile** | Host OS is a mobile platform | | **wasm** | Running on a WebAssembly build (any bitness) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **pc** | Host OS is a PC platform (desktop/laptop) | | **mobile** | Host OS is a mobile platform |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web** | Host OS is a Web browser | | **pc** | Host OS is a PC platform (desktop/laptop) |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **nothreads** | Running without threading support | | **web** | Host OS is a Web browser |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **threads** | Running with threading support | | **nothreads** | Running without threading support |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web_android** | Host OS is a Web browser running on Android | | **threads** | Running with threading support |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web_ios** | Host OS is a Web browser running on iOS | | **web_android** | Host OS is a Web browser running on Android |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web_linuxbsd** | Host OS is a Web browser running on Linux or \*BSD | | **web_ios** | Host OS is a Web browser running on iOS |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web_macos** | Host OS is a Web browser running on macOS | | **web_linuxbsd** | Host OS is a Web browser running on Linux or \*BSD |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **web_windows** | Host OS is a Web browser running on Windows | | **web_macos** | Host OS is a Web browser running on macOS |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **etc** | Textures using ETC1 compression are supported | | **web_windows** | Host OS is a Web browser running on Windows |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **etc2** | Textures using ETC2 compression are supported | | **etc** | Textures using ETC1 compression are supported |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **s3tc** | Textures using S3TC (DXT/BC) compression are supported | | **etc2** | Textures using ETC2 compression are supported |
+--------------------+----------------------------------------------------------+ +----------------------+-----------------------------------------------------------------------------------------+
| **movie** | :ref:`Movie Maker mode <doc_creating_movies>` is active | | **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::