[Idea] The Visual Studio extension should be converted to a source generator #2859
JohnLudlow
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Hmm, I don't have installed Visual Studio extension and the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Today there is a Visual Studio extension which handles generating a C# class with SDSL shader parameters, which ties you a bit to that IDE.
.NET now has source generators which are made for this type of scenario - the example I saw where they introduced it on YouTube processed data in a CSV file into a C# class. Best thing is they run as part of the compiler toolset rather than part of the IDE, so they are very IDE agnostic, and they're now very stable and usable.
What are your thoughts?
Beta Was this translation helpful? Give feedback.
All reactions