UTexture2D::CreateTransient

Creates and initializes a new Texture2D with the requested settings

Choose your operating system:

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