Navigation
API > API/Developer > API/Developer/TextureCompressor
Texture compression module interface.
| Name | ITextureCompressorModule |
| Type | class |
| Header File | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include Path | #include "TextureCompressorModule.h" |
Syntax
class ITextureCompressorModule : public IModuleInterface
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BuildTexture
(
TArray< struct FImage >& SourceMips, |
Builds a texture from source images. | TextureCompressorModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AdjustImageColors
(
FImage& Image, |
Adjusts the colors of the image using the specified settings | TextureCompressorModule.h | |
static bool DetermineAlphaChannelTransparency
(
const FTextureBuildSettings& InBuildSettings, |
Given the channel min/max for the top mip of a texture's source, determine whether there will be any transparency after image processing occurs, and thus the texture will need to be BC3 for the purposes of AutoDXT format selection. | TextureCompressorModule.h | |
static void GenerateAngularFilteredMips
(
TArray< FImage >& InOutMipChain, |
Generates angularly filtered mips. | TextureCompressorModule.h | |
static void GenerateBaseCubeMipFromLongitudeLatitude2D
(
FImage* OutMip, |
Generates the base cubemap mip from a longitude-latitude 2D image. | TextureCompressorModule.h | |
static void GenerateBaseCubeMipFromLongitudeLatitude2D
(
FImage* OutMip, |
Generates the base cubemap mip from a longitude-latitude 2D image. | TextureCompressorModule.h | |
static void GenerateMipChain
(
const FTextureBuildSettings& Settings, |
Generate a full mip chain. The input mip chain must have one or more mips. | TextureCompressorModule.h | |
static 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. | TextureCompressorModule.h |