Navigation
API > API/Runtime > API/Runtime/ImageWrapper
Description
This helper allows to decompress TGA data in a pre-allocated memory block. The pixel format is necessarily PF_A8R8G8B8.
| Name | DecompressTGA_helper |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageWrapper/Public/TgaImageSupport.h |
| Include Path | #include "TgaImageSupport.h" |
| Source | /Engine/Source/Runtime/ImageWrapper/Private/TgaImageSupport.cpp |
bool DecompressTGA_helper
(
const FTGAFileHeader * TGA,
const int64 TGABufferLength,
uint32 * TextureData,
const int64 TextureDataSize
)