Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
Include |
#include "RenderGraphUtils.h" |
void AddCopyTexturePass
(
FRDGBuilder & GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
FIntPoint InputPosition,
FIntPoint OutputPosition,
FIntPoint Size
)
Simpler variant of the above function for 2D textures.
Parameter |
Description |
---|---|
InputPosition |
The pixel position within the input texture of the top-left corner of the box. |
OutputPosition |
The pixel position within the output texture of the top-left corner of the box. |
Size |
The size in pixels of the region to copy from input to output. If zero, the full extent of the input texture is copied. |