Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc info about Graphics APIs #495

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/en/manuals/project-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,11 @@ The texture profiles file to use for this project, `/builtins/graphics/default.t
#### Verify Graphics Calls
Verify the return value after each graphics call and report any errors in the log.

---

### Shader
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated!

#### OpenGL Version Hint
OpenGL context version hint. If a specific version is selected, this will used as the minimum version required (does not apply to OpenGL ES). Defaults to OpenGL 3.3.

#### Output SPIR-V
Compile and output SPIR-V shaders for use with Metal or Vulkan.
#### OpenGL Core Profile Hint
Set the 'core' OpenGL profile hint when creating the context. The core profile removes all deprecated features from OpenGL, such as immediate mode rendering. Does not apply to OpenGL ES. `true` by default.

---

Expand Down
10 changes: 5 additions & 5 deletions docs/en/shared/graphics-api.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
| System | Graphics API | Note |
|----------|----------------------------|--------------------------|
| macOS | Metal (via MoltenVK) | |
| Windows | OpenGL 3.1 or Vulkan 1.1 | |
| Linux | OpenGL 3.1 or Vulkan 1.1 | |
| macOS | OpenGL 3.3 or Metal | Vulkan via MoltenVK |
| Windows | OpenGL 3.3 or Vulkan 1.1 | |
| Linux | OpenGL 3.3 or Vulkan 1.1 | |
| Android | OpenGLES 3.0 or Vulkan 1.1 | Fallback to OpenGLES 2.0 |
| iOS | Metal (via MoltenVK) | |
| HTML5 | WebGL 2.0 | Fallback to WebGL 1.0 |
| iOS | OpenGLES 3.0 or Metal | Vulkan via MoltenVK |
| HTML5 | WebGL 2.0 or WebGPU | Fallback to WebGL 1.0 |