ITextureCompressorModule

Texture compression module interface.

Windows
MacOS
Linux

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

Name Description

Public function Static

void

 

AdjustImageColors

(
    FImage& Image,
    const FTextureBuildSettings& InBui...
)

Adjusts the colors of the image using the specified settings

Public function

bool

 

BuildTexture

(
    const TArray< struct FImage >& Sou...,
    const TArray< struct FImage >& Ass...,
    const FTextureBuildSettings& Build...,
    FStringView DebugTexturePathName,
    TArray< FCompressedImage2D >& OutT...,
    uint32& OutNumMipsInTail,
    uint32& OutExtData
)

Builds a texture from source images.

Public function Static

void

 

GenerateAngularFilteredMips

(
    TArray< FImage >& InOutMipChain,
    int32 NumMips,
    uint32 DiffuseConvolveMipLevel
)

Generates angularly filtered mips.

Public function Static

void

 

GenerateBaseCubeMipFromLongitudeLatitude2D

(
    FImage* OutMip,
    const FImage& SrcImage,
    const uint32 MaxCubemapTextureResol...,
    uint8 SourceEncodingOverride
)

Generates the base cubemap mip from a longitude-latitude 2D image.

Public function Static

void

 

GenerateMipChain

(
    const FTextureBuildSettings& Setti...,
    const FImage& BaseImage,
    TArray< FImage >& OutMipChain,
    uint32 MipChainDepth
)

Generate a full mip chain. The input mip chain must have one or more mips.