You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
34 lines
692 B
C++
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;
|
|
};
|