| 123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #pragma once
- #include <AzCore/Component/Component.h>
- #include <AzFramework/Components/ComponentAdapter.h>
- #include <AtomLyIntegration/CommonFeatures/PostProcess/Bloom/BloomComponentConfig.h>
- #include <Atom/Feature/PostProcess/Bloom/BloomConstants.h>
- #include <PostProcess/Bloom/BloomComponentController.h>
- namespace AZ
- {
- namespace Render
- {
- namespace Bloom
- {
- inline constexpr AZ::TypeId BloomComponentTypeId{ "{0D38705D-525D-4BA7-A805-26E3E9093F54}" };
- }
- class BloomComponent final
- : public AzFramework::Components::ComponentAdapter<BloomComponentController, BloomComponentConfig>
- {
- public:
- using BaseClass = AzFramework::Components::ComponentAdapter<BloomComponentController, BloomComponentConfig>;
- AZ_COMPONENT(AZ::Render::BloomComponent, Bloom::BloomComponentTypeId, BaseClass);
- BloomComponent() = default;
- BloomComponent(const BloomComponentConfig& config);
- static void Reflect(AZ::ReflectContext* context);
- };
- } // namespace Render
- } // namespace AZ
|