viewsrg.srgi 808 B

123456789101112131415161718192021222324252627
  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. partial ShaderResourceGroup ViewSrg : SRG_PerView
  16. {
  17. /* Intentionally Empty. Helps define the SrgSemantic for ViewSrg once.*/
  18. };
  19. #define AZ_COLLECTING_PARTIAL_SRGS
  20. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgAll.azsli>
  21. #undef AZ_COLLECTING_PARTIAL_SRGS