title: How to export FTexture2DRHIRef to png?
body: <p>As Unreal Engine documentation mentions here <a href="https://docs.unrealengine.com/latest/INT/Engine/Content/Types/Textures/" rel="nofollow noreferrer">documentation</a> </p>
  
  <blockquote>
    <p>Textures are images that are used in Materials.They are mapped to the
    surfaces the Material is applied to.</p>
  </blockquote>
  
  <p>Is there a reverse option, a way to export textures to file (.png for example)? Suppose we have <code>FTexture2DRHIRef texture</code>, how can we get the raw data of texture and save it in file? </p>
  
  <p>Also there are too many kind of texture classes in Unreal Engine <code>UTexture2D</code>, <code>FRHITexture2D</code> and some more. Where can I find a detailed explanation about textures and their differences in Unreal Engine?     </p>