Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
Include |
#include "RenderGraphUtils.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp |
void ClearUnusedGraphResourcesImpl
(
const FShaderParameterBindings & ShaderBindings,
const FShaderParametersMetadata * ParametersMetadata,
void * InoutParameters,
std::initializer_list< FRDGResourceRef > ExcludeList
)
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.