Navigation
API > API/Runtime > API/Runtime/ImageWrapper
References
| Module | ImageWrapper |
| Header | /Engine/Source/Runtime/ImageWrapper/Public/TgaImageSupport.h |
| Include | #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
)
Remarks
This helper allows to decompress TGA data in a pre-allocated memory block. The pixel format is necessarily PF_A8R8G8B8.