how to export a material as a texture in c++ unreal

export a material as a texture c++ unreal!!

There is an entire unreal live stream on this subject look here Baking Materials to Textures | Live Training | Unreal Engine