diff options
| author | yum <yum.food.vr@gmail.com> | 2025-10-11 18:29:21 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-10-11 18:36:32 -0700 |
| commit | 37f4ab96e7b01fd1ae238243001afe0662e0a7eb (patch) | |
| tree | 5e44ef44f6757bd2755d9d64d87501a1540d1f84 /README.md | |
| parent | 6e937f0998acfd1ebcf73466f74b15c0f22510a9 (diff) | |
add c# script
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ ## modular slang -the idea here is just to make something like slangc.exe, but which doesn't -require an entrypoint. +the idea here is just to make something like slangc.exe, but which treats +entrypoints like regular functions. basics and gotchas @@ -10,6 +10,12 @@ basics and gotchas instead of cbuffers / structs. - it should "just work" for simple math kernels +usage + +- import unitypackage +- right click .slang file, select 'Translate to HLSL' +- import the generated .hlsl in your shader + build instructions ```bash |
