ExposureControlComponent.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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 <AzCore/Component/Component.h>
  10. #include <AzFramework/Components/ComponentAdapter.h>
  11. #include <AtomLyIntegration/CommonFeatures/PostProcess/ExposureControl/ExposureControlComponentConfig.h>
  12. #include <AtomLyIntegration/CommonFeatures/PostProcess/ExposureControl/ExposureControlComponentConstants.h>
  13. #include <Atom/Feature/PostProcess/ExposureControl/ExposureControlConstants.h>
  14. #include <PostProcess/ExposureControl/ExposureControlComponentController.h>
  15. namespace AZ
  16. {
  17. namespace Render
  18. {
  19. class ExposureControlComponent final
  20. : public AzFramework::Components::ComponentAdapter<ExposureControlComponentController, ExposureControlComponentConfig>
  21. {
  22. public:
  23. using BaseClass = AzFramework::Components::ComponentAdapter<ExposureControlComponentController, ExposureControlComponentConfig>;
  24. AZ_COMPONENT(AZ::Render::ExposureControlComponent, ExposureControlComponentTypeId , BaseClass);
  25. ExposureControlComponent() = default;
  26. ExposureControlComponent(const ExposureControlComponentConfig& config);
  27. static void Reflect(AZ::ReflectContext* context);
  28. };
  29. } // namespace Render
  30. } // namespace AZ