FImageUtils::ImportFileAsTexture2D

Imports a texture file from disk and creates Texture2D from it

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ImageUtils.h

Include

#include "ImageUtils.h"

Source

/Engine/Source/Runtime/Engine/Private/ImageUtils.cpp

Syntax

static UTexture2D * ImportFileAsTexture2D
(
    const FString & Filename
)

Remarks

Imports a texture file from disk and creates Texture2D from it

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