UTexture2D::CreateTransientFromImage

Creates a new texture2d from the first slice of the given image.