Language:
Discover
By Skill Level
By Category

DecompressTGA_helper

Choose your OS:

Syntax

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2) bool DecompressTGA_helper
(
    const FTGAFileHeader * TGA,
    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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/Factories.h

Source

Editor/UnrealEd/Private/Factories/EditorFactories.cpp