Introduction
This section collects notes on working with Slang in JetBrains IDEs.
Example shader
This fragment shader returns a solid red color:
[shader("fragment")]
float4 main() : SV_Target
{
let color = float4(1.0, 0.0, 0.0, 1.0);
return color;
}