Example #1
0
 void OnRenderImage(RenderTexture src, RenderTexture dest)
 {
     ShareRECImpl.AddCameraRecord(src);
     if (!ShareRECImpl.IsRecordGUILayer())
     {
         ShareRECImpl.OnPostRender();
     }
 }
 void OnRenderImage(RenderTexture src, RenderTexture dest)
 {
     ShareRECImpl.AddCameraRecord(src);
         #if (UNITY_5_6_OR_NEWER)
     ShareRECImpl.OnPostRender();
         #else
     if (!ShareRECImpl.IsRecordGUILayer())
     {
         ShareRECImpl.OnPostRender();
     }
         #endif
 }
Example #3
0
 /// <summary>
 /// 添加要录屏的cmaera(add record camera.)
 /// </summary>
 public static void addCameraRecord(RenderTexture src)
 {
     ShareRECImpl.AddCameraRecord(src);
 }