/* * 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 #include #include #include #include #include namespace AZ { namespace Render { class PostProcessSettings; class PaniniProjectionSettings final : public PaniniProjectionSettingsInterface , public PostProcessBase { friend class PostProcessSettings; friend class PostProcessFeatureProcessor; public: AZ_RTTI( AZ::Render::PaniniProjectionSettings, "{30D32346-39CE-49DF-9EEC-FEEC2090A45A}", AZ::Render::PaniniProjectionSettingsInterface, AZ::Render::PostProcessBase); AZ_CLASS_ALLOCATOR(PaniniProjectionSettings, SystemAllocator, 0); PaniniProjectionSettings(PostProcessFeatureProcessor* featureProcessor); ~PaniniProjectionSettings() = default; // BloomSettingsInterface overrides... void OnConfigChanged() override; // Applies settings from this onto target using override settings and passed alpha value for blending void ApplySettingsTo(PaniniProjectionSettings* target, float alpha) const; // Generate getters and setters. #include #include #include private: // Generate members... #include #include #include void Simulate(float deltaTime); PostProcessSettings* m_parentSettings = nullptr; float m_deltaTime = 0.0f; }; } // namespace Render } // namespace AZ