Click or drag to resize
AB4D logo

GaussianBlurPostProcess Constructor

Initializes a new instance of the GaussianBlurPostProcess class.

Namespace: Ab3d.DirectX.PostProcessing
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public GaussianBlurPostProcess(
	bool isVerticalBlur = false,
	float blurStandardDeviation = 2f,
	int filterSize = 15
)

Parameters

isVerticalBlur  Boolean  (Optional)
if set to true the GaussianBlurPostProcess will render the vertical pass; otherwise a horizontal pass is rendered.
blurStandardDeviation  Single  (Optional)
blur standard deviation (default value is 2)
filterSize  Int32  (Optional)
number of pixels to read to produce the blurred color (possible values: 5, 7, 9, 11, 13, 15; 15 by default). When using smaller filer size, the blurStandardDeviation also needs to be reduced (for example use 0.5 for filterSize=5)
See Also