//--------------------------------------------------------------------------------------------------------------------- void OnEndCameraRendering(UnityEngine.Rendering.ScriptableRenderContext context, Camera cam) { if (cam == m_cam && null != m_rtCamera.targetTexture) { //This seems to work only if we have setup PostProcessing Stack V2 Graphics.Blit(m_rtCamera.targetTexture, (RenderTexture)null); } }
//--------------------------------------------------------------------------------------------------------------------- public void BlitRenderStreamingRT(UnityEngine.Rendering.ScriptableRenderContext context, HDCamera cam) { Graphics.Blit(m_rtCamera.targetTexture, (RenderTexture)null); }
protected virtual void Render(ScriptableRenderContext context, List <Camera> cameras) { Render(context, cameras.ToArray()); }
static extern void Internal_Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, IntPtr results);
protected static void EndFrameRendering(ScriptableRenderContext context, Camera[] cameras) { RenderPipelineManager.EndContextRendering(context, new List <Camera>(cameras)); }
protected static void EndCameraRendering(ScriptableRenderContext context, Camera camera) { RenderPipelineManager.EndCameraRendering(context, camera); }
protected static void EndContextRendering(ScriptableRenderContext context, List <Camera> cameras) { RenderPipelineManager.EndContextRendering(context, cameras); }
protected virtual void ProcessRenderRequests(ScriptableRenderContext context, Camera camera, List <Camera.RenderRequest> renderRequests) { }
protected abstract void Render(ScriptableRenderContext context, Camera[] cameras);
internal ScopedSubPass(ScriptableRenderContext context) { this.m_Context = context; }
protected static void BeginFrameRendering(ScriptableRenderContext context, Camera[] cameras) { RenderPipelineManager.BeginFrameRendering(context, cameras); }