Simple |
public class SimpleBlurPostProcess : SimplePixelShaderPostProcess
The SimpleBlurPostProcess type exposes the following members.
Name | Description | |
---|---|---|
SimpleBlurPostProcess | Initializes a new instance of the SimpleBlurPostProcess class. |
Name | Description | |
---|---|---|
FilterWidth | Gets or sets the width of the filter (how much pixels are used to calculate the average pixel color). Default value is 5. | |
IsVerticalBlur | Gets or sets a boolean that specifies if vertical blur is applied. if false than horizontal blur is applied. Note that in order to get full blur two SimpleBlurPostProcess must be used - one with horizontal and one with vertical blur. | |
TextureSize | Gets or sets the size of the texture. |
Name | Description | |
---|---|---|
Render |
Render renders the post process with using the sourceShaderResourceView as the source texture.
It rendered the output to the CurrentRenderTargetView defined in the renderingContext.
(Overrides SimplePixelShaderPostProcessRender(RenderingContext, ShaderResourceView)) |