Navigation
API > API/Developer > API/Developer/TextureCompressor > API/Developer/TextureCompressor/ITextureCompressorModule
References
| Module | TextureCompressor |
| Header | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include | #include "TextureCompressorModule.h" |
| Source | /Engine/Source/Developer/TextureCompressor/Private/TextureCompressorModule.cpp |
static void GenerateMipChain
&40;
const FTextureBuildSettings & Settings,
const FImage & BaseImage,
TArray< FImage > & OutMipChain,
uint32 MipChainDepth
&41;
Remarks
Generate a full mip chain. The input mip chain must have one or more mips.
Parameters
| Name | Description |
|---|---|
| Settings | Preprocess settings. |
| BaseImage | An image that will serve as the source for the generation of the mip chain. |
| OutMipChain | An array that will contain the resultant mip images. Generated mip levels are appended to the array. |
| MipChainDepth | number of mip images to produce. Mips chain is finished when either a 1x1 mip is produced or 'MipChainDepth' images have been produced. |