Click or drag to resize
AB4D logo

PreparePostProcessingRenderingStep Class

PreparePostProcessingRenderingStep prepares Shader resources and Render targets for RenderPostProcessingRenderingStep.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXDisposableDXResource
      Ab3d.DirectXDXSceneResource
        Ab3d.DirectXRenderingStepBase
          Ab3d.DirectXPreparePostProcessingRenderingStep

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public sealed class PreparePostProcessingRenderingStep : RenderingStepBase

The PreparePostProcessingRenderingStep type exposes the following members.

Constructors
 NameDescription
Public methodPreparePostProcessingRenderingStep Initializes a new instance of the PreparePostProcessingRenderingStep class.
Top
Properties
 NameDescription
Public propertyDestinationBackBuffer 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.
Public propertyDestinationBackBufferDescription 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.
Public propertyDestinationRenderTargetView 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.
Public propertyPostProcessingBuffer1 Gets the first Texture2D buffer
Public propertyPostProcessingBuffer2 Gets the second Texture2D buffer (used when rendering more than one post process)
Public propertyPostProcessingBufferDescription1 Gets the description of the first Texture2D buffer
Public propertyPostProcessingBufferDescription2 Gets the description of the second Texture2D buffer
Public propertyPostProcessingRenderTargetView1 Gets the first RenderTargetView
Public propertyPostProcessingRenderTargetView2 Gets the second RenderTargetView (used when rendering more than one post process)
Public propertyPostProcessingShaderResourceView1 Gets the first ShaderResourceView
Public propertyPostProcessingShaderResourceView2 Gets the second ShaderResourceView (used when rendering more than one post process)
Public propertyRenderPostProcessingRenderingStep Gets the RenderPostProcessingRenderingStep that will be initialized from this PreparePostProcessingRenderingStep.
Top
Methods
 NameDescription
Public methodSaveExecutionTimeStatistics 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))
Public methodSetCustomDestinationBackBuffer Sets the destination back buffer that will get the finally rendered image from the last post-process.
Top
Remarks

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.

See Also