Browse Source

remove mentions to export types

Roberto Vidal 2 years ago
parent
commit
bc8d61a5ea
1 changed files with 6 additions and 24 deletions
  1. 6 24
      tutorials/export/exporting_for_web.rst

+ 6 - 24
tutorials/export/exporting_for_web.rst

@@ -11,7 +11,8 @@ Exporting for the Web
 
 
 HTML5 export allows publishing games made in Godot Engine to the browser.
 HTML5 export allows publishing games made in Godot Engine to the browser.
 This requires support for `WebAssembly
 This requires support for `WebAssembly
-<https://webassembly.org/>`__ and `WebGL <https://www.khronos.org/webgl/>`__
+<https://webassembly.org/>`__, `WebGL <https://www.khronos.org/webgl/>`__ and
+`SharedArrayBuffer <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer>`_
 in the user's browser.
 in the user's browser.
 
 
 .. important:: Use the browser-integrated developer console, usually opened
 .. important:: Use the browser-integrated developer console, usually opened
@@ -24,6 +25,10 @@ in the user's browser.
                :ref:`iOS' native export functionality <doc_exporting_for_ios>`
                :ref:`iOS' native export functionality <doc_exporting_for_ios>`
                instead, as it will also result in better performance.
                instead, as it will also result in better performance.
 
 
+.. warning:: SharedArrayBuffer requires a :ref:`secure context <doc_javascript_secure_contexts>`.
+             Browsers also require that the web page is served with specific
+             `cross-origin isolation headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy>`__.
+
 .. note::
 .. note::
 
 
     If you use Linux, due to
     If you use Linux, due to
@@ -58,15 +63,6 @@ If a runnable web export template is available, a button appears between the
 *Stop scene* and *Play edited Scene* buttons in the editor to quickly open the
 *Stop scene* and *Play edited Scene* buttons in the editor to quickly open the
 game in the default browser for testing.
 game in the default browser for testing.
 
 
-You can choose the **Export Type** to select which features will be available:
-
-- *Regular*: is the most compatible across browsers, will not support threads,
-  nor GDExtension.
-- *Threads*: will require the browser to support `SharedArrayBuffer
-  <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer>`__.
-  See `Can I use SharedArrayBuffer <https://caniuse.com/sharedarraybuffer>`__
-  for details.
-
 If you plan to use :ref:`VRAM compression <doc_importing_images>` make sure that
 If you plan to use :ref:`VRAM compression <doc_importing_images>` make sure that
 **Vram Texture Compression** is enabled for the targeted platforms (enabling
 **Vram Texture Compression** is enabled for the targeted platforms (enabling
 both **For Desktop** and **For Mobile** will result in a bigger, but more
 both **For Desktop** and **For Mobile** will result in a bigger, but more
@@ -86,9 +82,6 @@ JavaScript APIs, include CSS, or run JavaScript code.
                To customize the generated file, use the **Custom HTML shell**
                To customize the generated file, use the **Custom HTML shell**
                option.
                option.
 
 
-.. warning:: **Export types** other than *Regular* are not yet supported by the
-             C# version.
-
 Limitations
 Limitations
 -----------
 -----------
 
 
@@ -134,17 +127,6 @@ This limitation does not apply to unfocused browser *windows*. Therefore, on the
 user's side, this can be worked around by running the project in a separate
 user's side, this can be worked around by running the project in a separate
 *window* instead of a separate tab.
 *window* instead of a separate tab.
 
 
-Threads
-~~~~~~~
-
-As mentioned :ref:`above <doc_javascript_export_options>` multi-threading is
-only available if the appropriate **Export Type** is set and support for it
-across browsers is still limited.
-
-.. warning:: Requires a :ref:`secure context <doc_javascript_secure_contexts>`.
-             Browsers also require that the web page is served with specific
-             `cross-origin isolation headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy>`__.
-
 Full screen and mouse capture
 Full screen and mouse capture
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~