summaryrefslogtreecommitdiffstats
path: root/examples/cpu-com-example/README.md
blob: a5e234d151e1aef29e184e12c59582280912de13 (plain)
1
2
3
4
5
6
7
8
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.