Init
This commit is contained in:
10
Samples/WinPhone8/SimplePixelShader.hlsl
Normal file
10
Samples/WinPhone8/SimplePixelShader.hlsl
Normal file
@ -0,0 +1,10 @@
|
||||
struct PixelShaderInput
|
||||
{
|
||||
float4 pos : SV_POSITION;
|
||||
float3 color : COLOR0;
|
||||
};
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
return float4(input.color,1.0f);
|
||||
}
|
||||
Reference in New Issue
Block a user