yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
b39c99661
master
Slang COM Example
The goal of this example is to demonstrate Slang generating CPU code that can be communicated with via Common Object Model (COM) style interfaces.
The shader.slang file contains Slang code that uses COM interfaces.
The main.cpp file contains the C++ application code, showing how to use the Slang API to load and compile the shader code and communicate via interfaces.
1Slang COM Example 2================= 3 4The goal of this example is to demonstrate Slang generating CPU code that can be communicated with via Common Object Model (COM) style interfaces. 5 6The `shader.slang` file contains Slang code that uses COM interfaces. 7 8The `main.cpp` file contains the C++ application code, showing how to use the Slang API to load and compile the shader code and communicate via interfaces.