Skip to content

Commit

Permalink
add link to defines struct
Browse files Browse the repository at this point in the history
  • Loading branch information
z3y committed May 15, 2024
1 parent 0fcf47b commit 26bf95e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Docs~/pages/creating-variants.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ void SurfaceDescriptionFunction(Varyings IN, inout SurfaceDescription surface)
float4 mainTex = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, uv);
}
```
## Defines
Varyings and Attributes struct defines can be found here https://github.com/z3y/shaders/blob/0fcf47b332f4de34b3e9873ee7f37595e1ad99c1/ShaderLibrary/ShaderPass.hlsl#L367-L538

0 comments on commit 26bf95e

Please sign in to comment.