---
title: secondaryOffset
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsbinaryimagekernel/secondaryoffset
---

# secondaryOffset

The position of the destination clip rectangle origin relative to the secondary source buffer.

## Declaration

```swift
var secondaryOffset: MPSOffset { get set }
```

## Discussion

Discussion The offset is defined to be the position of the origin value of clipRect, in source coordinates. The default value is {0, 0, 0}, indicating that the top left corners of the clip rectangle and the secondary source image align.

## See Also

### Properties

- [primaryOffset](metalperformanceshaders/mpsbinaryimagekernel/primaryoffset.md)
- [primaryEdgeMode](metalperformanceshaders/mpsbinaryimagekernel/primaryedgemode.md)
- [secondaryEdgeMode](metalperformanceshaders/mpsbinaryimagekernel/secondaryedgemode.md)
- [clipRect](metalperformanceshaders/mpsbinaryimagekernel/cliprect.md)
