Parcourir la source

Added shared graphics

Björn Ritzl il y a 4 ans
Parent
commit
9be56c9e28
3 fichiers modifiés avec 16 ajouts et 1 suppressions
  1. 2 1
      docs/en/faq/faq.md
  2. 6 0
      docs/en/manuals/render.md
  3. 8 0
      docs/en/shared/graphics-api.md

+ 2 - 1
docs/en/faq/faq.md

@@ -76,8 +76,9 @@ A: With one click you can publish to Nintendo Switch, iOS, Android and HTML5 as
 
 #### Q: What rendering API does Defold rely on?
 
-A: Defold uses WebGL in HTML5 builds, Metal on iOS and macOS and Vulkan or OpenGL ES 2.0 on all other platforms. As a developer you only have to worry about a single render API using a fully scriptable rendering pipeline.
+A: As a developer you only have to worry about a single render API using a [fully scriptable rendering pipeline](/manuals/render/). The Defold render script API translates render operations into the following graphics APIs:
 
+:[Graphics API](../shared/editor-faq.md)
 
 #### Q: Is there a way to know what version I'm running?
 

+ 6 - 0
docs/en/manuals/render.md

@@ -250,6 +250,12 @@ on_message()
   msg.post("@render:", "clear_color", { color = vmath.vector4(0.3, 0.4, 0.5, 0) })
   ```
 
+## Supported graphics APIs
+The Defold render script API translates render operations into the following graphics APIs:
+
+:[Graphics API](../shared/editor-faq.md)
+
+
 ## System messages
 
 `"set_view_projection"`

+ 8 - 0
docs/en/shared/graphics-api.md

@@ -0,0 +1,8 @@
+| System                     | Graphics API               |
+| -------------------------- | -------------------------- |
+| macOS                      | Metal (via MoltenVK)       |
+| Windows                    | OpenGL 3.1                 |
+| Linux                      | OpenGL 3.1                 |
+| Android                    | OpenGLES 2.0 or Vulkan 1.1 |
+| iOS                        | Metal (via MoltenVK)       |
+| HTML5                      | WebGL 1.0                  |