scenesrg.srgi 776 B

12345678910111213141516171819202122232425
  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. partial ShaderResourceGroup SceneSrg : SRG_PerScene
  14. {
  15. /* Intentionally Empty. Helps define the SrgSemantic for SceneSrg once.*/
  16. };
  17. #define AZ_COLLECTING_PARTIAL_SRGS
  18. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/SceneSrgAll.azsli>
  19. #undef AZ_COLLECTING_PARTIAL_SRGS