DiffuseProbeGridVisualizationCompositePass.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/Pass.h>
  10. #include <Atom/RPI.Public/Pass/FullscreenTrianglePass.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. //! This pass composites the DiffuseProbeGrid visualization image onto the main scene
  16. class DiffuseProbeGridVisualizationCompositePass
  17. : public RPI::FullscreenTrianglePass
  18. {
  19. public:
  20. AZ_RPI_PASS(DiffuseProbeGridVisualizationCompositePass);
  21. AZ_RTTI(Render::DiffuseProbeGridVisualizationCompositePass, "{64BD5779-AB30-41C1-81B7-B93D864355E5}", RPI::FullscreenTrianglePass);
  22. AZ_CLASS_ALLOCATOR(Render::DiffuseProbeGridVisualizationCompositePass, SystemAllocator);
  23. //! Creates a new pass without a PassTemplate
  24. static RPI::Ptr<DiffuseProbeGridVisualizationCompositePass> Create(const RPI::PassDescriptor& descriptor);
  25. ~DiffuseProbeGridVisualizationCompositePass() = default;
  26. private:
  27. explicit DiffuseProbeGridVisualizationCompositePass(const RPI::PassDescriptor& descriptor);
  28. // Pass behavior overrides...
  29. bool IsEnabled() const override;
  30. };
  31. } // namespace RPI
  32. } // namespace AZ