Files
vba10/SamplePixelShader.hlsl
Duc Le 6e40ea45d7
2015-06-06 21:45:18 +00:00

13 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);
}