Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
Include |
#include "RenderGraphUtils.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp |
void AddCopyTexturePass
(
FRDGBuilder & GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
const FRHICopyTextureInfo & CopyInfo
)
Adds a render graph pass to copy a region from one texture to another. Uses RHICopyTexture under the hood. Formats of the two textures must match. The output and output texture regions be within the respective extents.