You are on page 1of 1

//////////////////////

//// TYPES
//////////////////////
struct PixelInputType
{
float4 position : SV_POSITION;
float4 color : COLOR;
};

//////////////////////
//// Pixel Shader
/////////////////////
float4 ColorPixelShader(PixelInputType input) : SV_TARGET
{
return input.color;
}

You might also like