UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TgaImageSupport.cpp File Reference

Namespaces

namespace  TgaImageSupportImpl
 

Functions

bool TgaImageSupportImpl::DecompressTGA_RLE_32bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_RLE_24bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_RLE_16bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_32bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_24bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_16bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint32 *TextureData)
 
bool TgaImageSupportImpl::DecompressTGA_8bpp (const FTGAFileHeader *TGA, const int64 TGABufferLength, uint8 *TextureData)
 
bool DecompressTGA_helper (const FTGAFileHeader *TgaHeader, const int64 TGABufferLength, uint32 *TextureData, const int64 TextureDataSize)
 

Function Documentation

◆ DecompressTGA_helper()

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.