Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
| Name | FDatasmithTextureResize |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithTextureResize.h |
| Include Path | #include "Utility/DatasmithTextureResize.h" |
Syntax
class FDatasmithTextureResize
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool GetBestTextureExtension
(
const TCHAR* Source, |
Returns true if image extension is supported by Unreal Engine or image can be converted to a supported format IMPORTANT: Extension is expected with the starting dot | Utility/DatasmithTextureResize.h | |
static void Initialize() |
Must be called from the main thread before doing any parallel work. | Utility/DatasmithTextureResize.h | |
static bool IsSupportedTextureExtension
(
const FString& Extension |
Returns true if image extension is supported by Unreal Engine IMPORTANT: Extension is expected with the starting dot | Utility/DatasmithTextureResize.h | |
static EDSTextureUtilsError ResizeTexture
(
const TCHAR* Source, |
Resizes texture according to resizing method | Utility/DatasmithTextureResize.h |