FImageUtils::ImportBufferAsTexture2D

Imports a texture a buffer and creates Texture2D from it