UTexture2D::CreateTransient

Creates and initializes a new Texture2D with the requested settings

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture2D.h

Include

#include "Engine/Texture2D.h"

Source

/Engine/Source/Runtime/Engine/Private/Texture2D.cpp

Syntax

static UTexture2D * CreateTransient
(
    int32 InSizeX,
    int32 InSizeY,
    EPixelFormat InFormat,
    const FName InName
)

Remarks

Creates and initializes a new Texture2D with the requested settings

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