Click or drag to resize
DigitalRuneDepthOfFieldFilterDownsampleFactor Property
Gets or sets the downsample factor.

Namespace: DigitalRune.Graphics.PostProcessing
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int DownsampleFactor { get; set; }

Property Value

Type: Int32
The downsample factor. This value must be greater than 0. The default value is 2.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is less than 1.
Remarks
To improve performance, depth of field is computed on a downsampled depth buffer. The width and height of the depth buffer are downsampled by this factor.
See Also