EditorStateBufferCopyPassData.h 1.1 KB

123456789101112131415161718192021222324252627282930
  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 <Pass/State/EditorStateBase.h>
  10. #include <Atom/RPI.Reflect/Pass/RenderPassData.h>
  11. #include <Atom/RPI.Reflect/Pass/FullscreenTrianglePassData.h>
  12. namespace AZ::RPI
  13. {
  14. //! Custom data for the EditorStateBufferCopyPass. Should be specified in the PassRequest.
  15. struct EditorStateBufferCopyPassData
  16. : public RPI::FullscreenTrianglePassData
  17. {
  18. AZ_RTTI(EditorStateBufferCopyPassData, "{3782A63C-4FFE-417B-86B5-C61E986CCBE6}", FullscreenTrianglePassData);
  19. AZ_CLASS_ALLOCATOR(EditorStateBufferCopyPassData, SystemAllocator);
  20. EditorStateBufferCopyPassData() = default;
  21. virtual ~EditorStateBufferCopyPassData() = default;
  22. //! Pointer to the owning editor state effect parent pass instance.
  23. const Render::EditorStateBase* editorStatePass = nullptr;
  24. };
  25. } // namespace AZ::RPI