GetRenderPassInfo

Helper function to get RHI render pass info from a pass parameter struct.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphParameter.h

Include

#include "RenderGraphParameter.h"

Syntax

template<typename TParameterStruct>
static FRHIRenderPassInfo GetRenderPassInfo
(
    TParameterStruct * Parameters
)

Remarks

Helper function to get RHI render pass info from a pass parameter struct. Must be called within an RDG pass with the pass parameters; otherwise, the RHI access checks will assert. This helper is useful when you want to control the mechanics of render passes within an RDG raster pass by specifying 'SkipRenderPass'.