MPSImageEdgeMode Enum

Definition

Enumerates shader behavior at the edges of regions and images.

public enum MPSImageEdgeMode
type MPSImageEdgeMode = 
Inheritance
MPSImageEdgeMode

Fields

Clamp 1

Pixels outside the region of interest are clamped to the values at the edge of the region.

Constant 4
Mirror 2
MirrorWithEdge 3
Zero 0

Pixels outside the region of interest are set to zero. (The alpha channel is set to 0.0 for pixels with an alpha channel, and to 1.0 for those without.)

Applies to