Table of Contents

Enum TextureFilter

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents filtering modes that a transform may select to use on input textures.
D2D1_FILTER

public enum TextureFilter

Fields

MinMagMipPoint = 0

Use point sampling for minification, magnification, and mip-level sampling. This is equivalent to InterpolationMode.NearestNeighbor.

MinMagPointMipLinear = 1

Use point sampling for minification and magnification; use linear interpolation for mip-level sampling.

MinPointMagLinearMipPoint = 4

Use point sampling for minification; use linear interpolation for magnification; use point sampling for mip-level sampling.

MinPointMagMipLinear = 5

Use point sampling for minification; use linear interpolation for magnification and mip-level sampling.

MinLinearMagMipPoint = 16

Use linear interpolation for minification; use point sampling for magnification and mip-level sampling.

MinLinearMagPointMipLinear = 17

Use linear interpolation for minification; use point sampling for magnification; use linear interpolation for mip-level sampling.

MinMagLinearMipPoint = 20

Use linear interpolation for minification and magnification; use point sampling for mip-level sampling.

MinMagMipLinear = 21

Use linear interpolation for minification, magnification, and mip-level sampling. This is equivalent to InterpolationMode.Linear.

Anisotropic = 85

Use anisotropic interpolation for minification, magnification, and mip-level sampling.

Remarks

The most common choices are MinMagMipPoint (point / nearest neighbor) and MinMagMipLinear (linear / bilinear).