Open 3D Engine Terrain Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Terrain::TerrainDetailClipmapGenerationPass Class Reference

#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< TerrainDetailClipmapGenerationPassCreate (const AZ::RPI::PassDescriptor &descriptor)
 

Detailed Description

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.

Member Function Documentation

◆ IsEnabled()

bool Terrain::TerrainDetailClipmapGenerationPass::IsEnabled ( ) const
override

Besides the standard enable flag, the pass can be disabled by the case that no update is triggered.


The documentation for this class was generated from the following file: