#include <TerrainClipmapComputePass.h>
Inherits AZ::RPI::ComputePass.
Public Member Functions | |
AZ_RTTI (Terrain::TerrainDetailClipmapGenerationPass, "{BD504E93-87F4-484E-A17A-E337C3F2279C}", AZ::RPI::ComputePass) | |
AZ_CLASS_ALLOCATOR (Terrain::TerrainDetailClipmapGenerationPass, AZ::SystemAllocator) | |
void | SetupFrameGraphDependencies (AZ::RHI::FrameGraphInterface frameGraph) override |
void | CompileResources (const AZ::RHI::FrameGraphCompileContext &context) override |
bool | IsEnabled () const override |
bool | ClipmapFeatureIsEnabled () const |
Used to check if clipmap rendering is enabled. | |
Static Public Member Functions | |
static AZ::RPI::Ptr< TerrainDetailClipmapGenerationPass > | Create (const AZ::RPI::PassDescriptor &descriptor) |
The compute pass to generate macro texture clipmaps. It depends on MacroClipmapGenerationPass the generate macro color clipmaps first. It will gather all the data from the detail materials into a clipmap stack.
|
override |
Besides the standard enable flag, the pass can be disabled by the case that no update is triggered.