Prepare |
public sealed class PreparePostProcessingRenderingStep : RenderingStepBase
The PreparePostProcessingRenderingStep type exposes the following members.
Name | Description | |
---|---|---|
PreparePostProcessingRenderingStep | Initializes a new instance of the PreparePostProcessingRenderingStep class. |
Name | Description | |
---|---|---|
DestinationBackBuffer | DestinationBackBuffer gets the Texture2D that will get the finally rendered image from the last post-process. This value can be set by SetCustomDestinationBackBuffer(Texture2D, Texture2DDescription, RenderTargetView) method. When null, the FinalBackBuffer is used as destination back buffer. | |
DestinationBackBufferDescription | DestinationBackBufferDescription gets the description of the DestinationBackBuffer. This value can be set by SetCustomDestinationBackBuffer(Texture2D, Texture2DDescription, RenderTargetView) method. When null, the FinalBackBufferDescription is used as destination back buffer. | |
DestinationRenderTargetView | DestinationRenderTargetView gets the RenderTargetView of the DestinationBackBuffer. This value can be set by SetCustomDestinationBackBuffer(Texture2D, Texture2DDescription, RenderTargetView) method. When null, the FinalRenderTargetView is used as destination back buffer. | |
PostProcessingBuffer1 | Gets the first Texture2D buffer | |
PostProcessingBuffer2 | Gets the second Texture2D buffer (used when rendering more than one post process) | |
PostProcessingBufferDescription1 | Gets the description of the first Texture2D buffer | |
PostProcessingBufferDescription2 | Gets the description of the second Texture2D buffer | |
PostProcessingRenderTargetView1 | Gets the first RenderTargetView | |
PostProcessingRenderTargetView2 | Gets the second RenderTargetView (used when rendering more than one post process) | |
PostProcessingShaderResourceView1 | Gets the first ShaderResourceView | |
PostProcessingShaderResourceView2 | Gets the second ShaderResourceView (used when rendering more than one post process) | |
RenderPostProcessingRenderingStep | Gets the RenderPostProcessingRenderingStep that will be initialized from this PreparePostProcessingRenderingStep. |
Name | Description | |
---|---|---|
SaveExecutionTimeStatistics |
SaveExecutionTimeStatistics is called when we are collecting statistics.
The implementation of the method should save or add the elapsedMilliseconds to the corresponding property in the RenderingStatistics class.
(Overrides RenderingStepBaseSaveExecutionTimeStatistics(Double, RenderingStatistics)) | |
SetCustomDestinationBackBuffer | Sets the destination back buffer that will get the finally rendered image from the last post-process. |
PreparePostProcessingRenderingStep prepares Shader resources and Render targets for RenderPostProcessingRenderingStep.
The purpose of having separate PreparePostProcessingRenderingStep and RenderPostProcessingRenderingStep is to allow you to use custom rendering step that prepares some other buffers for post process rendering or to use the buffers perpared in this step for custom post process rendering.