Bewerken

Delen via


MPSImageEdgeMode Enum

Definition

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

Applies to