Module |
|
Header |
/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITextureFormat.h |
Include |
#include "Interfaces/ITextureFormat.h" |
bool CompressImage
(
const struct FImage & Image,
const struct FTextureBuildSettings & BuildSettings,
bool bImageHasAlphaChannel,
struct FCompressedImage2D & OutCompressedImage
) const
Compresses a single image.
true on success, false otherwise.
Parameter |
Description |
---|---|
Image |
The input image. |
BuildSettings |
Build settings. |
bImageHasAlphaChannel |
true if the image has a non-white alpha channel. |
OutCompressedMip |
The compressed image. |