AddCopyTexturePass

Simpler variant of the above function for 2D textures.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Syntax

void AddCopyTexturePass
(
    FRDGBuilder & GraphBuilder,
    FRDGTextureRef InputTexture,
    FRDGTextureRef OutputTexture,
    FIntPoint InputPosition,
    FIntPoint OutputPosition,
    FIntPoint Size
)

Remarks

Simpler variant of the above function for 2D textures.

Parameters

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.

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