scenesrg.srgi 946 B

1234567891011121314151617181920212223242526272829
  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. #pragma once
  9. // Please read README.md for an explanation on why scenesrg.srgi and viewsrg.srgi are
  10. // located in this folder (And how you can optionally customize your own scenesrg.srgi
  11. // and viewsrg.srgi in your game project).
  12. #include <Atom/Features/SrgSemantics.azsli>
  13. #define AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  14. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgIncludesAll.azsli>
  15. #undef AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  16. partial ShaderResourceGroup SceneSrg : SRG_PerScene
  17. {
  18. /* Intentionally Empty. Helps define the SrgSemantic for SceneSrg once.*/
  19. };
  20. #define AZ_COLLECTING_PARTIAL_SRGS
  21. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/SceneSrgAll.azsli>
  22. #undef AZ_COLLECTING_PARTIAL_SRGS