 | SsaoFilterDownsampleFactor Property |
Gets or sets the downsample factor.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic int DownsampleFactor { get; set; }
Public Property DownsampleFactor As Integer
Get
Set
public:
property int DownsampleFactor {
int get ();
void set (int value);
}
member DownsampleFactor : int with get, set
Property Value
Type:
Int32
The downsample factor. This value must be greater than 0. The default value is 2.
Remarks
To improve performance, ambient occlusion is computed on a downsampled depth buffer.
The width and height of the depth buffer are downsampled by this factor.
See Also