Skip to content

Commit 8c6dd45

Browse files
Readme: added DILIGENT_NO_WEBGPU option
1 parent a786f54 commit 8c6dd45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ Available CMake options are summarized in the table below:
711711
| `DILIGENT_NO_OPENGL` | No | Do not build OpenGL backend |
712712
| `DILIGENT_NO_VULKAN` | No | Do not build Vulkan backend |
713713
| `DILIGENT_NO_METAL` | No | Do not build Metal backend |
714+
| `DILIGENT_NO_WEBGPU` | No | Do not build WebGPU backend |
714715
| `DILIGENT_NO_ARCHIVER` | No | Do not build Archiver |
715716
| `DILIGENT_NO_RENDER_STATE_PACKAGER` | No | Do not build Render State Packager tool |
716717
| `DILIGENT_ENABLE_DRACO` | No | Enable Draco compression support in GLTF loader |
@@ -743,7 +744,8 @@ Available CMake options are summarized in the table below:
743744

744745
By default, all back-ends available on the current platform are built. To disable specific back-ends,
745746
use the following options: `DILIGENT_NO_DIRECT3D11`, `DILIGENT_NO_DIRECT3D12`, `DILIGENT_NO_OPENGL`,
746-
`DILIGENT_NO_VULKAN`, `DILIGENT_NO_METAL`.
747+
`DILIGENT_NO_VULKAN`, `DILIGENT_NO_METAL`, `DILIGENT_NO_WEBGPU`. WebGPU backend is enabled by default when building
748+
for the Web. To enable it on other platforms, use `DILIGENT_NO_WEBGPU=OFF`.
747749
The options can be set through cmake UI or from the command line as in the example below:
748750

749751
```

0 commit comments

Comments
 (0)