![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Go to the source code of this file.
Classes | |
| struct | FTGAFileHeader |
Functions | |
| IMAGEWRAPPER_API bool | DecompressTGA_helper (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData, const int64 TextureDataSize) |
| IMAGEWRAPPER_API bool DecompressTGA_helper | ( | const FTGAFileHeader * | TGA, |
| const int64 | TGABufferLength, | ||
| uint32 * | TextureData, | ||
| const int64 | TextureDataSize | ||
| ) |
This helper allows to decompress TGA data in a pre-allocated memory block. The pixel format is necessarily PF_A8R8G8B8.