Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/Utility
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithTextureResize.h |
| Include | #include "Utility/DatasmithTextureResize.h" |
Syntax
class FDatasmithTextureResize
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 | |
| void | Initialize () |
Must be called from the main thread before doing any parallel work. | |
| bool | IsSupportedTextureExtension
(
const FString& Extension |
Returns true if image extension is supported by Unreal Engine IMPORTANT: Extension is expected with the starting dot | |
| EDSTextureUtilsError | ResizeTexture
(
const TCHAR* Source, |
Resizes texture according to resizing method |