yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Theresa FoleyAdd an example for reflection of parameter blocks (#6161)31bb5eaa0

master
311 B4 linesraw

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.