The guide provides an introduction to the Slang language and its major features, as well as the compilation and reflection API.
The reference of the standard modules that comes with the Slang compiler.
The formal specification of the Slang programming language. Work in progress.
List of Slang Features with their stableness/matureness.
Answers to a list of frequently asked questions.
There is the documentation specific to using the slangc
command-line tool.
Things to know when using Slang to compile to SPIR-V.
Things to know when using Slang to compile to the Metal Shading Language.
Things to know when using Slang to compile to the WGSL.
See how to write a simple compute shader in Slang and compile it for execution on Vulkan.
See how to use Slang’s compilation API to integrate the Slang compiler into your application.
See how to use Slang’s reflection API to query for parameter binding info at runtime.
Learn how to use Slang’s generics and interfaces to write structured code that can be specialized at compile time. This tutorial covers the differences between generics and C++ templates and how to map common templated code to generics.
Main things to know if you are coming to Slang as an HLSL developer.
Main things to know if you are coming to Slang as an GLSL developer.
For contributors to the Slang project, the information under the docs/proposals/ directory documents all feature proposals to the Slang language or the compiler API.