From 37f4ab96e7b01fd1ae238243001afe0662e0a7eb Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 11 Oct 2025 18:29:21 -0700 Subject: add c# script --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8578b41..20ebc0d 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3