FImageUtils::ImportBufferAsTexture2D

Imports a texture a buffer 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 * ImportBufferAsTexture2D
(
    const TArray< uint8 > & Buffer
)

Remarks

Imports a texture a buffer 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