Module |
|
Header |
/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITextureFormat.h |
Include |
#include "Interfaces/ITextureFormat.h" |
virtual bool CompressImageTiled
(
const struct FImage * Images,
uint32 NumImages,
const struct FTextureBuildSettings & BuildSettings,
bool bImageHasAlphaChannel,
TSharedPtr< FTilerSettings > & TilerSettings,
struct FCompressedImage2D & OutCompressedImage
) const
Compress an image (or images for a miptail) into a single mip blob with device-specific tiling.
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. |
Tiler |
The tiler settings. |