MPSImageEdgeMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates shader behavior at the edges of regions and images.
public enum MPSImageEdgeMode
type MPSImageEdgeMode =
- Inheritance
-
MPSImageEdgeMode
Fields
Name | Value | Description |
---|---|---|
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.) |
Clamp | 1 | Pixels outside the region of interest are clamped to the values at the edge of the region. |
Mirror | 2 | |
MirrorWithEdge | 3 | |
Constant | 4 |