Navigation
API > API/Runtime > API/Runtime/RenderCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCopyTexturePass
(
FRDGBuilder& GraphBuilder, |
Adds a render graph pass to copy a region from one texture to another. | RenderGraphUtils.h | |
void AddCopyTexturePass
(
FRDGBuilder& GraphBuilder, |
Simpler variant of the above function for 2D textures. | RenderGraphUtils.h |
AddCopyTexturePass(FRDGBuilder &, FRDGTextureRef, FRDGTextureRef, const FRHICopyTextureInfo &)
Description
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.
| Name | AddCopyTexturePass |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp |
void AddCopyTexturePass
(
FRDGBuilder & GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
const FRHICopyTextureInfo & CopyInfo
)
AddCopyTexturePass(FRDGBuilder &, FRDGTextureRef, FRDGTextureRef, FIntPoint, FIntPoint, FIntPoint)
Description
Simpler variant of the above function for 2D textures.
| Name | AddCopyTexturePass |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
void AddCopyTexturePass
(
FRDGBuilder & GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
FIntPoint InputPosition,
FIntPoint OutputPosition,
FIntPoint Size
)
Parameters
| Name | Remarks |
|---|---|
| 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. |