NRI is a low-level abstract render interface which currently supports three backends: D3D11, D3D12 and Vulkan. NRI has been designed to support all (at least major) low level features of D3D12 and Vulkan APIs, but at the same time to simplify usage and reduce the amount of code needed (especially compared with Vulkan).
Key features:
- common denominator for D3D11, D3D12 and Vulkan APIs
- low overhead
- ray tracing support
- API-provided and/or own validation layer
- default D3D11 behavior is changed to match D3D12/VK where applicable using NVAPI or AMD AGS libraries
NRI is used in:
- Install Cmake 3.15+
- Install on
- Windows: WindowsSDK, VulkanSDK
- Linux (x86-64): VulkanSDK and optional libx11-dev and libwayland-dev
- Linux (aarch64): optional libx11-dev and libwayland-dev
- Build (variant 1) - using Git and CMake explicitly
- Clone project and init submodules
- Generate and build the project using CMake
- Build (variant 2) - by running scripts:
- Run
1-Deploy
- Run
2-Build
- Run
Note: Xlib and Wayland can be both enabled.
NRI_DISABLE_INTERPROCEDURAL_OPTIMIZATION=ON
- disable interprocedural optimizationNRI_DISABLE_XLIB_SUPPORT=ON
- disable Xlib supportNRI_DISABLE_WAYLAND_SUPPORT=ON
- disable Wayland supportNRI_STATIC_LIBRARY=ON
- build NRI as a static library