eDosStation/eDosStationApp/Content/SamplePixelShader.hlsl
2019-02-01 17:35:18 +01:00

12 lines
299 B
HLSL

// Per-pixel color data passed through the pixel shader.
struct PixelShaderInput
{
float4 pos : SV_POSITION;
float3 color : COLOR0;
};
// A pass-through function for the (interpolated) color data.
float4 main(PixelShaderInput input) : SV_TARGET
{
return float4(input.color, 1.0f);
}