IAssetTools::ConvertVirtualTextures

Converts the given [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) to virtual textures or converts virtual textures back to standard textures and updates the related UMaterials

Windows
MacOS
Linux

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/IAssetTools.h

Include

#include "IAssetTools.h"

Syntax

void ConvertVirtualTextures
(
    const TArray< UTexture2D * > & Textures,
    bool bConvertBackToNonVirtual,
    const TArray< UMaterial * > * RelatedMaterials
) const

Remarks

Converts the given UTexture2D to virtual textures or converts virtual textures back to standard textures and updates the related UMaterials

Parameters

Parameter

Description

Textures

The given textures to convert.

bConvertBackToNonVirtual

If true, virtual textures will be converted back to standard textures.

RelatedMaterials

An optional array of materials to update after the conversion, this is useful during import when not all dependencies and caches are up to date.

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