Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# Wrapper for slang #23

Open
1 of 3 tasks
qian-o opened this issue Dec 5, 2024 · 0 comments
Open
1 of 3 tasks

C# Wrapper for slang #23

qian-o opened this issue Dec 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@qian-o
Copy link

qian-o commented Dec 5, 2024

About the Library

  • Has C-Interface (C header files)
  • Has COM-Interface
  • Has C++ only Interface (exclusively C++ classes)

Link to repository: slang

Short Description of the Library:

Slang is a new shader language that supports multiple compilation targets and the latest features of D3D12 and Vulkan.

Why This Library Deserves a Wrapper:

  1. Slang is a shader language with HLSL style, supporting multiple compilation targets, including DXIL, SPIR-V, GLSL, HLSL, etc.
  2. Complete tool support, with plugins available in both Visual Studio and Visual Studio Code, providing a better writing experience than HLSL.
  3. Slang supports reflection, allowing you to get the input and output information of the shader through reflection, which is very helpful for writing rendering pipelines.

Supplement:

The above content is mostly from the official documentation. For me, Slang is novel and perfect.
I hope this proposal will not affect your work. If you have time, I highly recommend you to experience Slang.
I am using slangc to compile shaders, which is a command-line tool. Compared to the API, it is really slow.

@qian-o qian-o added the enhancement New feature or request label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant