viewsrg.srgi 770 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0 OR MIT
  5. *
  6. */
  7. #pragma once
  8. // Please read README.md for an explanation on why scenesrg.srgi and viewsrg.srgi are
  9. // located in this folder (And how you can optionally customize your own scenesrg.srgi
  10. // and viewsrg.srgi in your game project).
  11. #include <Atom/Features/SrgSemantics.azsli>
  12. partial ShaderResourceGroup ViewSrg : SRG_PerView
  13. {
  14. /* Intentionally Empty. Helps define the SrgSemantic for ViewSrg once.*/
  15. };
  16. #define AZ_COLLECTING_PARTIAL_SRGS
  17. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgAll.azsli>
  18. #undef AZ_COLLECTING_PARTIAL_SRGS