10 lines
142 B
HLSL
10 lines
142 B
HLSL
struct VSOutput
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float4 color : COLOR;
|
|
};
|
|
|
|
float4 main(VSOutput input) : SV_TARGET
|
|
{
|
|
return input.color;
|
|
} |