/* * 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 #include #include #include #include #include #include namespace AZ { namespace Render { /** * The look modification transform pass. */ class LookModificationPass : public RPI::ParentPass { public: AZ_RTTI(LookModificationPass, "{68C3A664-FB97-40ED-9638-21938D6692B3}", RPI::ParentPass); AZ_CLASS_ALLOCATOR(LookModificationPass, SystemAllocator, 0); virtual ~LookModificationPass() = default; //! Creates a LookModificationPass static RPI::Ptr Create(const RPI::PassDescriptor& descriptor); protected: LookModificationPass(const RPI::PassDescriptor& descriptor); //! Pass overrides ... void FrameBeginInternal(FramePrepareParams params) override; void BuildInternal() override; private: const RPI::PassAttachmentBinding* m_swapChainAttachmentBinding = nullptr; RHI::Format m_displayBufferFormat = RHI::Format::Unknown; OutputDeviceTransformType m_outputDeviceTransformType = OutputDeviceTransformType_48Nits; ShaperParams m_shaperParams; }; } // namespace Render } // namespace AZ