FDatasmithTextureResize::ResizeTexture

Resizes texture according to resizing method

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithTextureResize.h

Include

#include "Utility/DatasmithTextureResize.h"

Syntax

static EDSTextureUtilsError ResizeTexture
(
    const TCHAR * Source,
    const TCHAR * Destination,
    EDSResizeTextureMode Mode,
    uint32 MaxSize,
    bool bGenerateNormalMap
)

Remarks

Resizes texture according to resizing method

Parameters

Parameter

Description

Source

The source file of the texture to resize

Destination

The path where to save the resized texture file

Mode

The resize mode

bGenerateNormalMap

Generate or not the normal map

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss