示例#1
0
 public void OnRender(RenderTexture srcRenderTexture, out RenderTexture reslut, out bool NeedToReleaseReslut)
 {
     if (hostImageEffectManager)
     {
         hostImageEffectManager.depthtexture = srcRenderTexture;
         hostImageEffectManager.OnRenderImageOpaque(srcRenderTexture, out reslut, out NeedToReleaseReslut);
     }
     else
     {
         reslut = srcRenderTexture;
         NeedToReleaseReslut = false;
     }
 }