yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
31bb5eaa0
master
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.
1Setting up Parameter Blocks Using Reflection 2============================================ 3 4This 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.