ICaptureInlinePostProcessingRenderPassΒΆ

interface ICaptureInlinePostProcessingRenderPass : IRenderPass

A post-processing render pass which captures the current state of the render pipeline as a separate render target. This is cheaper than T:Protogame.ICaptureCopyPostProcessingRenderPass, but you can only access the render target state in the action callback set on the render pass. Modifying the render target, e.g. by performing any rendering at all, will modify the result of the render pipeline.

System.Action<IGameContext, IRenderContext, IRenderPass, RenderTarget2D> RenderPipelineStateAvailable

A callback that is issued when the render pipeline reaches this render pass. This callback makes the current source render target available for capture.