1 2 3 4 5 6 7 8 9 10
struct Input { float4 position : SV_POSITION; float4 color : COLOR; }; float4 debugLinePS(Input input) : SV_TARGET { return input.color; }