|
RenderPostProcessingRenderingStepInitializeResourcesForMultiplePostProcesses Method |
Initializes resources for rendering multiple PostProcesses.
To render multiple post processes we need additional BackBuffer that is used as intermediate buffer.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public void InitializeResourcesForMultiplePostProcesses(
Texture2D sourceBackBuffer,
Texture2DDescription sourceBackBufferDescription,
RenderTargetView sourceRenderTargetView,
ShaderResourceView sourceShaderResourceView,
Texture2D additionalBackBuffer,
Texture2DDescription additionalBackBufferDescription,
RenderTargetView additionalRenderTargetView,
ShaderResourceView additionalShaderResourceView,
Texture2D destinationBackBuffer,
Texture2DDescription destinationBackBufferDescription,
RenderTargetView destinationRenderTargetView,
int superSamplingCount = 1
)
Parameters
- sourceBackBuffer Texture2D
- source BackBuffer as Texture2D
- sourceBackBufferDescription Texture2DDescription
- description of sourceBackBuffer
- sourceRenderTargetView RenderTargetView
- RenderTargetView of the sourceBackBuffer
- sourceShaderResourceView ShaderResourceView
- ShaderResourceView of the sourceBackBuffer
- additionalBackBuffer Texture2D
- additional BackBuffer as Texture2D
- additionalBackBufferDescription Texture2DDescription
- description of additionalBackBuffer
- additionalRenderTargetView RenderTargetView
- RenderTargetView of the additionalBackBuffer
- additionalShaderResourceView ShaderResourceView
- ShaderResourceView of the additionalBackBuffer
- destinationBackBuffer Texture2D
- destination BackBuffer as Texture2D
- destinationBackBufferDescription Texture2DDescription
- description of destinationBackBuffer
- destinationRenderTargetView RenderTargetView
- RenderTargetView of the destinationBackBuffer
- superSamplingCount Int32 (Optional)
- super-sampling count of the buffers
See Also