1. Home
  2. ›
  3. Browse
  4. ›
  5. shader-slang

shader-slang

v2026.19#0Go to latest

Slang is a shading language that makes it easier to build and maintain large shader codebases in a modular and extensible fashion, while also maintaining the highest possible performance on modern GPUs and graphics APIs. Slang is based on years of collaboration between researchers at NVIDIA, Carnegie Mellon University, and Stanford.

Install

Run the following Vcpkg command to install the port.

vcpkg install shader-slang

Usage

shader-slang provides CMake targets:

find_package(slang CONFIG REQUIRED)

target_link_libraries(main PRIVATE slang::slang)

Slang loads standard modules and host API bindings beside its runtime library.

For app-local deployment, copy slang-standard-module-*, slang.slang, and gfx.slang

from bin or debug/bin (lib or debug/lib on non-Windows) beside the deployed library.

Dependencies

See source

Version

v2026.19#0

Publication

Supports

(arm64 | x64) & (linux | osx | windows) & !uwp & !(static & staticcrt)

GitHub

shader-slang/slang5.8K

Homepage

github.com/shader-slang/slang

Subtree

1bf83d210c

License

Complex license

Definition

Manifest