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& InBuildSettings
)

Adjusts the colors of the image using the specified settings

Public function

bool

 

BuildTexture

(
    const TArray< struct FImage >& SourceMips,
    const TArray< struct FImage >& AssociatedNormalSourceMips,
    const FTextureBuildSettings& BuildSettings,
    TArray< FCompressedImage2D >& OutTextureMips,
    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 int32 MaxCubemapTextureResolution
)

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

Public function Static

void

 

GenerateMipChain

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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback