#include <TerrainClipmapDebugPass.h>
Inherits AZ::RPI::FullscreenTrianglePass.
Public Member Functions | |
AZ_RTTI (Terrain::TerrainClipmapDebugPass, "{BF1ED790-34BB-4E09-803B-09BF5BBFF0BD}", AZ::RPI::FullscreenTrianglePass) | |
AZ_CLASS_ALLOCATOR (Terrain::TerrainClipmapDebugPass, AZ::SystemAllocator) | |
void | SetupFrameGraphDependencies (AZ::RHI::FrameGraphInterface frameGraph) override |
void | CompileResources (const AZ::RHI::FrameGraphCompileContext &context) override |
bool | IsEnabled () const override |
Return true when both the enable CVar and standard enable flag are true. | |
Static Public Member Functions | |
static AZ::RPI::Ptr< TerrainClipmapDebugPass > | Create (const AZ::RPI::PassDescriptor &descriptor) |
The debug render pass to display a single clipmap at the bottom-right corner. It is located between the DebugOverlay pass and the UI pass. By slightly modifying the fullscreen pass, we can still use a single triangle but have a constant-sized texture in terms of viewport, whose size is adjustable by CVars. See TerrainClipmapDebugPass.cpp for CVars controls.