ComputeSharp
ComputeSharp copied to clipboard
Add support for using enum types in shaders
As we discussed on Discord :) I assume these would just map to int or long.
In theory HLSL does support enums, so I'm thinking I could also just map the type directly and use it just like in C#, except that you'd access it as Foo::Bar in HLSL and not as Foo.Bar.