PostFxLayerComponent.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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 <AzFramework/Components/ComponentAdapter.h>
  10. #include <AtomLyIntegration/CommonFeatures/PostProcess/PostFxLayerComponentConfig.h>
  11. #include <AtomLyIntegration/CommonFeatures/PostProcess/PostFxLayerComponentConstants.h>
  12. #include <PostProcess/PostFxLayerComponentController.h>
  13. namespace AZ
  14. {
  15. namespace Render
  16. {
  17. class PostFxLayerComponent final
  18. : public AzFramework::Components::ComponentAdapter<PostFxLayerComponentController, PostFxLayerComponentConfig>
  19. {
  20. public:
  21. using BaseClass = AzFramework::Components::ComponentAdapter<PostFxLayerComponentController, PostFxLayerComponentConfig>;
  22. AZ_COMPONENT(AZ::Render::PostFxLayerComponent, PostFxLayerComponentTypeId , BaseClass);
  23. PostFxLayerComponent() = default;
  24. PostFxLayerComponent(const PostFxLayerComponentConfig& config);
  25. static void Reflect(AZ::ReflectContext* context);
  26. };
  27. } // namespace Render
  28. } // namespace AZ