Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FImageUtils
Description
Exports a UTexture2D as an HDR image on the disk. Deprecated. Prefer GetTexture2DSourceImage + SaveImage. HDR is very low quality, prefer EXR or PNG instead
| Name | ExportTexture2DAsHDR |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ImageUtils.h |
| Include Path | #include "ImageUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ImageUtils.cpp |
static bool ExportTexture2DAsHDR
(
UTexture2D * TexRT,
FArchive & Ar
)
Export operation success or failure.
Parameters
| Name | Remarks |
|---|---|
| TexRT | The texture to export |
| Ar | Archive to fill with data. |