Navigation
API > API/Developer > API/Developer/TextureFormat > API/Developer/TextureFormat/ITextureFormat
Description
Prepares to compresses a single image with tiling. The result OutTilerSettings is used by SetTiling and CompressImageTiled.
Derived Overrides
| Name | PrepareTiling |
| Type | function |
| Header File | /Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h |
| Include Path | #include "Interfaces/ITextureFormat.h" |
virtual bool PrepareTiling
(
const FImage * Images,
const uint32 NumImages,
const FTextureBuildSettings & BuildSettings,
bool bImageHasAlphaChannel,
TSharedPtr< FTilerSettings > & OutTilerSettings,
TArray< FCompressedImage2D > & OutCompressedImage
) const
true on success, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Image | The input image. |
| BuildSettings | Build settings. |
| bImageHasAlphaChannel | true if the image has a non-white alpha channel. |
| OutTilerSettings | The tiler settings that will be used by CompressImageTiled and SetTiling. |
| OutCompressedImage | The image to tile. |