GetRenderPassInfo

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

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'.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss