You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
/*
|
|
* 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 <Atom/RPI.Public/Pass/Pass.h>
|
|
#include <Atom/RPI.Public/Pass/FullscreenTrianglePass.h>
|
|
|
|
namespace AZ
|
|
{
|
|
namespace Render
|
|
{
|
|
//! This pass composites the DiffuseProbeGrid visualization image onto the main scene
|
|
class DiffuseProbeGridVisualizationCompositePass
|
|
: public RPI::FullscreenTrianglePass
|
|
{
|
|
public:
|
|
AZ_RPI_PASS(DiffuseProbeGridVisualizationCompositePass);
|
|
|
|
AZ_RTTI(Render::DiffuseProbeGridVisualizationCompositePass, "{64BD5779-AB30-41C1-81B7-B93D864355E5}", RPI::FullscreenTrianglePass);
|
|
AZ_CLASS_ALLOCATOR(Render::DiffuseProbeGridVisualizationCompositePass, SystemAllocator, 0);
|
|
|
|
//! Creates a new pass without a PassTemplate
|
|
static RPI::Ptr<DiffuseProbeGridVisualizationCompositePass> Create(const RPI::PassDescriptor& descriptor);
|
|
|
|
~DiffuseProbeGridVisualizationCompositePass() = default;
|
|
|
|
private:
|
|
explicit DiffuseProbeGridVisualizationCompositePass(const RPI::PassDescriptor& descriptor);
|
|
|
|
// Pass behavior overrides...
|
|
bool IsEnabled() const override;
|
|
};
|
|
} // namespace RPI
|
|
} // namespace AZ
|