Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FImageUtils > API/Runtime/Engine/FImageUtils/GetRenderTargetImage
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ImageUtils.h |
| Include | #include "ImageUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ImageUtils.cpp |
static bool GetRenderTargetImage
(
UTextureRenderTarget * TexRT,
FImage & OutImage
)
Remarks
Get the contents of a RenderTarget into an Image
Works for Cubes, Volumes, etc. (fills Image slices)
Parameters
| Name | Description |
|---|---|
| TexRT | The texture rendertarget to copy from |
| OutImage | Filled with the image, allocated as needed |