1. Home
  2. Browse
  3. nvrhi

nvrhi

v2026-02-26#0Latest

NVIDIA Rendering Hardware Interface abstraction layer for D3D11, D3D12, and Vulkan

Install

Run the following Vcpkg command to install the port.

vcpkg install nvrhi

Usage

The package exports CMake targets from `find_package(nvrhi CONFIG REQUIRED)`.

Static builds install one interface/common target plus backend libraries:

target_link_libraries(main PRIVATE nvrhi nvrhi_d3d11 nvrhi_d3d12 nvrhi_vk)

Link only the backend targets you actually use on the current platform. On Linux,

only `nvrhi` and `nvrhi_vk` are relevant.

Shared builds install a single `nvrhi` target with the enabled backends compiled in:

target_link_libraries(main PRIVATE nvrhi)

Dependencies

See source

Version

v2026-02-26#0

Publication

Supports

(windows & x64 & !uwp & !xbox) | (linux & (x64 | arm64))

GitHub

NVIDIA-RTX/NVRHI

Homepage

github.com/NVIDIA-RTX/NVRHI

Subtree

5d00b6f2b5

License

MIT

Definition

Manifest