Document OS-specific web feature tags

These feature tags were added in 4.1.
This commit is contained in:
Hugo Locurcio
2023-06-20 00:37:42 +02:00
parent a187bedcc7
commit 08a5cc4977
+16 -6
View File
@@ -40,17 +40,17 @@ Here is a list of most feature tags in Godot. Keep in mind they are **case-sensi
+-----------------+----------------------------------------------------------+
| **Feature tag** | **Description** |
+=================+==========================================================+
| **android** | Running on Android |
| **android** | Running on Android (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **bsd** | Running on \*BSD |
| **bsd** | Running on \*BSD (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **linux** | Running on Linux |
| **linux** | Running on Linux (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **macos** | Running on macOS |
| **macos** | Running on macOS (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **ios** | Running on iOS |
| **ios** | Running on iOS (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **uwp** | Running on UWP |
| **uwp** | Running on UWP (but not within a Web browser) |
+-----------------+----------------------------------------------------------+
| **windows** | Running on Windows |
+-----------------+----------------------------------------------------------+
@@ -106,6 +106,16 @@ Here is a list of most feature tags in Godot. Keep in mind they are **case-sensi
+-----------------+----------------------------------------------------------+
| **web** | Host OS is a Web browser |
+-----------------+----------------------------------------------------------+
| **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 |