Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Factories.h |
Include |
#include "Factories.h" |
bool DecompressTGA_helper
(
const FTGAFileHeader * TGA,
const int32 TGABufferLenght,
uint32 *& TextureData,
const int32 TextureDataSize,
FFeedbackContext * Warn
)
This helper allows to decompress TGA data in a pre-allocated memory block. The pixel format is necessarily PF_A8R8G8B8.