| UpsamplingMode Enumeration |
Defines the texture filtering that is used when combining a low-resolution image with the
full-resolution scene.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public enum UpsamplingMode
Public Enumeration UpsamplingMode
public enum class UpsamplingMode
Members
| Member name | Value | Description |
---|
| Point | 0 |
Nearest-neighbor interpolation. Fastest, low quality.
|
| Linear | 1 |
Bilinear interpolation. Fast, good quality.
|
| Bilateral | 2 |
Joint (cross) bilateral upsampling. Slow, best quality for surfaces.
|
| NearestDepth | 3 |
Nearest-depth upsampling. Slow, best quality for particles and volumetric effects.
|
Remarks Bilateral and NearestDepth are "edge-aware" filtering modes that
try to maintain the original geometry and avoid blurring over edges.
See Also