scenesrg.srgi 983 B

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