yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f8cb9c4d6
master
files
| README.md | 311 B |
| common.slang | 2.4 KiB |
| main.cpp | 24.2 KiB |
| shader.slang | 547 B |
| vulkan-api.cpp | 8.4 KiB |
| vulkan-api.h | 3.2 KiB |
Setting up Parameter Blocks Using Reflection
This example shows how to make use of the ParameterBlock<> type in Slang shader code, in conjunction with the Slang reflection API, in order to easily set up descriptor sets for Vulkan and descriptor tables for D3D12.