Method ReadRenderTexture
ReadRenderTexture(RenderTexture, Texture2D, bool)
Reads the full render texture into an existing Texture2D while preserving the previous active render texture. Assumes source and destination have the same dimensions and compatible formats.
public static void ReadRenderTexture(RenderTexture source, Texture2D destination, bool uploadToGpu = true)
Parameters
sourceRenderTexturedestinationTexture2DuploadToGpuboolWhether to upload the read pixels back to the Texture2D's GPU resource.