ConvolutionEdgeMode Enum

Selects the pixels a convolution reads outside the image.

public enum ConvolutionEdgeMode

Fields

NameValueDescription
Clamp0Repeats the nearest edge pixel (aaa|abcd|ddd). This is the default.
Mirror1Reflects the image about its border, repeating the edge pixel (cba|abcd|dcb).
Wrap2Tiles the image (bcd|abcd|abc).
Zero3Reads nothing: outside pixels contribute zero to every sample (transparent black; black for pixel formats without alpha).