UIPixelShaderUntextured.hlsl 267 B

1234567891011121314151617181920
  1. struct PS_INPUT
  2. {
  3. float4 Position : SV_POSITION;
  4. float2 Tex : TEXCOORD0;
  5. float4 Color : COLOR0;
  6. };
  7. struct PS_OUTPUT
  8. {
  9. float4 RGBColor : SV_TARGET;
  10. };
  11. PS_OUTPUT main(PS_INPUT In)
  12. {
  13. PS_OUTPUT Output;
  14. Output.RGBColor = In.Color;
  15. return Output;
  16. }