Files
UnrealEngineUWP/Engine/Source/Runtime/ImageWrapper/Private/Formats/TgaImageWrapper.h
JeanMichel Dignard f1a4cfa4a3 Add TGA translator to Interchange import
#rb Alexis.Matte

[CL 14201075 by JeanMichel Dignard in ue5-main branch]
2020-08-27 13:07:16 -04:00

34 lines
692 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "ImageWrapperBase.h"
/**
* TGA implementation of the helper class
*/
class FTgaImageWrapper : public FImageWrapperBase
{
public:
/**
* Load the header information, returns true if successful.
*/
bool LoadTGAHeader();
public:
//~ FImageWrapper interface
virtual void Compress(int32 Quality) override;
virtual bool SetCompressed(const void* InCompressedData, int64 InCompressedSize) override;
virtual void Uncompress(const ERGBFormat InFormat, int32 InBitDepth) override;
private:
/** The color type as defined in the header. */
int32 ColorMapType;
uint8 ImageTypeCode;
};