---
title: fence
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatorbase/fence
---

# fence

An optional fence that this frame interpolator waits for and updates.

## Declaration

```swift
var fence: (any MTLFence)? { get set }
```

## Discussion

Discussion Use this property for synchronizing access to untracked resources.
