EditorExposureControlComponent.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 <AzToolsFramework/ToolsComponents/EditorComponentAdapter.h>
  10. #include <AtomLyIntegration/CommonFeatures/PostProcess/ExposureControl/ExposureControlComponentConstants.h>
  11. #include <PostProcess/ExposureControl/ExposureControlComponent.h>
  12. namespace AZ
  13. {
  14. namespace Render
  15. {
  16. class EditorExposureControlComponent final
  17. : public AzToolsFramework::Components::EditorComponentAdapter<ExposureControlComponentController, ExposureControlComponent, ExposureControlComponentConfig>
  18. {
  19. public:
  20. using BaseClass = AzToolsFramework::Components::EditorComponentAdapter<ExposureControlComponentController, ExposureControlComponent, ExposureControlComponentConfig>;
  21. AZ_EDITOR_COMPONENT(AZ::Render::EditorExposureControlComponent, EditorExposureControlComponentTypeId, BaseClass);
  22. static void Reflect(AZ::ReflectContext* context);
  23. EditorExposureControlComponent() = default;
  24. EditorExposureControlComponent(const ExposureControlComponentConfig& config);
  25. //! EditorRenderComponentAdapter overrides...
  26. AZ::u32 OnConfigurationChanged() override;
  27. };
  28. } // namespace Render
  29. } // namespace AZ