Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/AddDrawTexturePass
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/ScreenPass.h |
| Include | #include "ScreenPass.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/ScreenPass.cpp |
void AddDrawTexturePass
(
FRDGBuilder & GraphBuilder,
FScreenPassViewInfo ViewInfo,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
FIntPoint InputPosition,
FIntPoint OutputPosition,
FIntPoint Size
)
Remarks
Helper function which copies a region of an input texture to a region of the output texture, with support for format conversion. If formats match, the method falls back to a simple DMA (CopyTexture); otherwise, it rasterizes using a pixel shader. Use this method if the two textures may have different formats.