コード例 #1
0
//---------------------------------------------------------------------------------------------------------------------

    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);
        }
    }
コード例 #2
0
//---------------------------------------------------------------------------------------------------------------------
    public void BlitRenderStreamingRT(UnityEngine.Rendering.ScriptableRenderContext context, HDCamera cam)
    {
        Graphics.Blit(m_rtCamera.targetTexture, (RenderTexture)null);
    }
コード例 #3
0
 protected virtual void Render(ScriptableRenderContext context, List <Camera> cameras)
 {
     Render(context, cameras.ToArray());
 }
コード例 #4
0
 static extern void Internal_Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, IntPtr results);
コード例 #5
0
 protected static void EndFrameRendering(ScriptableRenderContext context, Camera[] cameras)
 {
     RenderPipelineManager.EndContextRendering(context, new List <Camera>(cameras));
 }
コード例 #6
0
 protected static void EndCameraRendering(ScriptableRenderContext context, Camera camera)
 {
     RenderPipelineManager.EndCameraRendering(context, camera);
 }
コード例 #7
0
 protected static void EndContextRendering(ScriptableRenderContext context, List <Camera> cameras)
 {
     RenderPipelineManager.EndContextRendering(context, cameras);
 }
コード例 #8
0
 protected virtual void ProcessRenderRequests(ScriptableRenderContext context, Camera camera, List <Camera.RenderRequest> renderRequests)
 {
 }
コード例 #9
0
 protected abstract void Render(ScriptableRenderContext context, Camera[] cameras);
コード例 #10
0
 internal ScopedSubPass(ScriptableRenderContext context)
 {
     this.m_Context = context;
 }
コード例 #11
0
 protected static void BeginFrameRendering(ScriptableRenderContext context, Camera[] cameras)
 {
     RenderPipelineManager.BeginFrameRendering(context, cameras);
 }