NRI
Description
NRI is a low-level abstract render interface which supports three backends: D3D11, D3D12, Vulkan.
Build instructions
Windows
- Install WindowsSDK
- Clone project and init submodules
- Generate and build project using cmake
Linux (x86-64/aarch64)
- Install libwayland-dev or libx11-dev with libxrandr-dev
- Clone project and init submodules
- if libwayland-dev is not installed, add
-DNRI_DISABLE_WAYLAND_SUPPORT=ON
on step5 - if libx11-dev is not installed, add
-DNRI_DISABLE_XLIB_SUPPORT=ON
on step5 - Generate and build project using cmake
Note: xlib and wayland can be both enabled.
CMake options
-DNRI_DISABLE_INTERPROCEDURAL_OPTIMIZATION=ON
- disable interprocedural optimization
-DNRI_DISABLE_XLIB_SUPPORT=ON
- disable xlib support
-DNRI_DISABLE_WAYLAND_SUPPORT=ON
- disable wayland support
-DNRI_STATIC_LIBRARY=ON
- build NRI as a static library