UKismetRenderingLibrary::ImportBufferAsTexture2D

Imports a texture from a buffer and creates Texture2D from it.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h

Include

#include "Kismet/KismetRenderingLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp

Syntax

static UTexture2D * ImportBufferAsTexture2D
(
    UObject * WorldContextObject,
    const TArray< uint8 > & Buffer
)

Remarks

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