3
0

EditorStateParentPassData.h 1.0 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 EditorStateParentPass. Should be specified in the PassRequest.
  15. struct EditorStateParentPassData
  16. : public RPI::RenderPassData
  17. {
  18. AZ_RTTI(EditorStateParentPassData, "{0E0FD1EE-906C-45B5-B65E-463719A90712}", RenderPassData);
  19. AZ_CLASS_ALLOCATOR(EditorStateParentPassData, SystemAllocator);
  20. EditorStateParentPassData() = default;
  21. virtual ~EditorStateParentPassData() = default;
  22. //! Pointer to the owning editor state effect parent pass instance.
  23. const Render::EditorStateBase* editorStatePass = nullptr;
  24. };
  25. } // namespace AZ::RPI