Navigation
API > API/Developer > API/Developer/TextureCompressor
Inheritance Hierarchy
- IModuleInterface
- ITextureCompressorModule
References
| Module | TextureCompressor |
| Header | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include | #include "TextureCompressorModule.h" |
Syntax
class ITextureCompressorModule : public IModuleInterface
Remarks
Texture compression module interface.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdjustImageColors
(
FImage& Image, |
Adjusts the colors of the image using the specified settings | |
| bool | BuildTexture
(
const TArray< struct FImage >& SourceMips, |
Builds a texture from source images. | |
| void | GenerateAngularFilteredMips
(
TArray< FImage >& InOutMipChain, |
Generates angularly filtered mips. | |
| void | GenerateBaseCubeMipFromLongitudeLatitude2D
(
FImage* OutMip, |
Generates the base cubemap mip from a longitude-latitude 2D image. | |
| void | GenerateMipChain
(
const FTextureBuildSettings& Settings, |
Generate a full mip chain. The input mip chain must have one or more mips. | |
| int32 | GetMipCountForBuildSettings
(
int32 InMip0SizeX, |
Returns the number of mips that the given texture will generate with the given build settings, as well as the size of the top mip. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateBaseCubeMipFromLongitudeLatitude2D
(
FImage* OutMip, |
GenerateBaseCubeMipFromLongitudeLatitude2D with FTextureBuildSettings should be used. |