DecompressTGA_helper

This helper allows to decompress TGA data in a pre-allocated memory block.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Factories.h

Include

#include "Factories.h"

Syntax

bool DecompressTGA_helper
(
    const FTGAFileHeader * TGA,
    const int32 TGABufferLenght,
    uint32 *& TextureData,
    const int32 TextureDataSize,
    FFeedbackContext * Warn
)

Remarks

This helper allows to decompress TGA data in a pre-allocated memory block. The pixel format is necessarily PF_A8R8G8B8.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss