---
title: "edgeMode(atSourceIndex:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarraymultiarybase/edgemode(atsourceindex:)"
---

# edgeMode(atSourceIndex:)

## Declaration

```swift
func edgeMode(atSourceIndex sourceIndex: Int) -> MPSImageEdgeMode
```
