ITextureFormat::CompressImageTiled

Compress an image (or images for a miptail) into a single mip blob with device-specific tiling.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITextureFormat.h

Include

#include "Interfaces/ITextureFormat.h"

Syntax

virtual bool CompressImageTiled
(
    const struct FImage * Images,
    uint32 NumImages,
    const struct FTextureBuildSettings & BuildSettings,
    bool bImageHasAlphaChannel,
    TSharedPtr< FTilerSettings > & TilerSettings,
    struct FCompressedImage2D & OutCompressedImage
) const

Remarks

Compress an image (or images for a miptail) into a single mip blob with device-specific tiling.

Returns

true on success, false otherwise.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss