EditorModeBufferCopy.azsl 469 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <EditorModeCommon.azsli>
  9. PSOutput MainPS(VSOutput IN)
  10. {
  11. PSOutput OUT;
  12. // Copy the input buffer over to the output buffer
  13. OUT.m_color = PassSrg::m_framebuffer.Sample(PassSrg::LinearSampler, IN.m_texCoord);
  14. return OUT;
  15. }