ClearUnusedGraphResourcesImpl

Clears all render graph tracked resources that are not bound by a shader.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp

Syntax

void ClearUnusedGraphResourcesImpl
(
    const FShaderParameterBindings & ShaderBindings,
    const FShaderParametersMetadata * ParametersMetadata,
    void * InoutParameters,
    std::initializer_list< FRDGResourceRef > ExcludeList
)

Remarks

Clears all render graph tracked resources that are not bound by a shader. Excludes any resources on the ExcludeList from being cleared regardless of whether the shader binds them or not. This is needed for resources that are used outside of shader bindings such as indirect arguments buffers.

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