SubpassInputSceneSrg.azsli 485 B

123456789101112131415161718192021222324
  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. #include <Atom/Features/SrgSemantics.azsli>
  10. #define NUM_LIGHTS 10
  11. struct LightInfo
  12. {
  13. float4 m_position;
  14. float3 m_color;
  15. float m_radius;
  16. };
  17. ShaderResourceGroup SubpassInputSceneSrg : SRG_PerScene
  18. {
  19. LightInfo m_lights[NUM_LIGHTS];
  20. }