@@ -222,7 +222,7 @@ To generate build files for Universal Windows platform, you need to define the f
222222* ` CMAKE_SYSTEM_NAME=WindowsStore `
223223* ` CMAKE_SYSTEM_VERSION=< Windows Version > `
224224
225- For example, to generate Visual Studio 2019 64-bit solution and project files in * build/UWP64* folder, run the following command
225+ For example, to generate Visual Studio 2022 64-bit solution and project files in * build/UWP64* folder, run the following command
226226from the engine's root folder:
227227
228228```
@@ -315,8 +315,8 @@ To verify that your environment is properly set up, try building the
315315
316316Open * DiligentSamples/Android* folder with Android Studio to build and run tutorials and samples on Android.
317317
318- By default, applications will run in OpenGLES mode. To run them in Vulkan mode, add the following launch flags:
319- ` --es mode vk ` (in Android Studio, go to Run->Edit Configurations menu)
318+ By default, applications will run in Vulkan mode. To run them in Vulkan mode, add the following launch flags:
319+ ` --es mode gl ` (in Android Studio, go to Run->Edit Configurations menu)
320320
321321<a name =" build_and_run_macos " ></a >
322322## MacOS
@@ -508,7 +508,6 @@ Suppose that the directory structure looks like this:
508508
509509Then the following steps need to be done:
510510* Call ` add_subdirectory(DiligentCore) `
511- * Add * DiligentCore* to the list of include directories
512511* Add dependencies on the targets implementing required rendering backends
513512
514513Below is an example of a CMake file:
@@ -673,8 +672,9 @@ Available CMake options are summarized in the table below:
673672| ` DILIGENT_CLANG_COMPILE_OPTIONS ` | -Werror | Additional Clang compile options for all configurations |
674673| ` DILIGENT_CLANG_DEBUG_COMPILE_OPTIONS ` | | Additional Clang compile options for debug configuration |
675674| ` DILIGENT_CLANG_RELEASE_COMPILE_OPTIONS ` | -mavx2 | Additional Clang compile options for release configurations |
675+ | ` DILIGENT_USD_PATH ` | | Path to USD installation folder |
676676
677- By default, all back-ends available on current platform are built. To disable specific back-ends,
677+ By default, all back-ends available on the current platform are built. To disable specific back-ends,
678678use the following options: ` DILIGENT_NO_DIRECT3D11 ` , ` DILIGENT_NO_DIRECT3D12 ` , ` DILIGENT_NO_OPENGL ` ,
679679` DILIGENT_NO_VULKAN ` , ` DILIGENT_NO_METAL ` .
680680The options can be set through cmake UI or from the command line as in the example below:
0 commit comments