EditorModeFeedbackParentPass.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 <Atom/RPI.Public/Pass/ParentPass.h>
  10. namespace AZ
  11. {
  12. namespace Render
  13. {
  14. //! Parent pass for the editor mode feedback system.
  15. class EditorModeFeedbackParentPass
  16. : public AZ::RPI::ParentPass
  17. {
  18. public:
  19. AZ_RTTI(EditorModeFeedbackParentPass, "{890482AB-192E-45B6-866C-76CB7C799CF3}", AZ::RPI::ParentPass);
  20. AZ_CLASS_ALLOCATOR(EditorModeFeedbackParentPass, SystemAllocator);
  21. virtual ~EditorModeFeedbackParentPass() = default;
  22. //! Creates a EditorModeFeedbackParentPass
  23. static RPI::Ptr<EditorModeFeedbackParentPass> Create(const RPI::PassDescriptor& descriptor);
  24. protected:
  25. EditorModeFeedbackParentPass(const RPI::PassDescriptor& descriptor);
  26. //! Pass behavior overrides
  27. bool IsEnabled() const override;
  28. private:
  29. };
  30. } // namespace Render
  31. } // namespace AZ