engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FThumbnailCompressionInterface类 参考abstract

Thumbnail compression interface for packages. 更多...

#include <ObjectThumbnail.h>

Public 成员函数

virtual bool CompressImage (const TArray< uint8 > &InUncompressedData, const int32 InWidth, const int32 InHeight, TArray< uint8 > &OutCompressedData)=0
 Compresses an image 更多...
 
virtual bool DecompressImage (const TArray< uint8 > &InCompressedData, const int32 InWidth, const int32 InHeight, TArray< uint8 > &OutUncompressedData)=0
 Decompresses an image 更多...
 

详细描述

Thumbnail compression interface for packages.

The engine registers a class that can compress and decompress thumbnails that the package linker uses while loading and saving data.

成员函数说明

◆ CompressImage()

virtual bool FThumbnailCompressionInterface::CompressImage ( const TArray< uint8 > &  InUncompressedData,
const int32  InWidth,
const int32  InHeight,
TArray< uint8 > &  OutCompressedData 
)
pure virtual

Compresses an image

参数
InUncompressedDataThe uncompressed image data
InWidthWidth of the image
InHeightHeight of the image
OutCompressedData[Out] Compressed image data
返回
true if the image was compressed successfully, otherwise false if an error occurred

◆ DecompressImage()

virtual bool FThumbnailCompressionInterface::DecompressImage ( const TArray< uint8 > &  InCompressedData,
const int32  InWidth,
const int32  InHeight,
TArray< uint8 > &  OutUncompressedData 
)
pure virtual

Decompresses an image

参数
InCompressedDataThe compressed image data
InWidthWidth of the image
InHeightHeight of the image
OutUncompressedData[Out] Uncompressed image data
返回
true if the image was decompressed successfully, otherwise false if an error occurred

该类的文档由以下文件生成: