---
title: fence
framework: metalfx
role: symbol
role_heading: Instance Property
path: metalfx/mtlfxtemporaldenoisedscalerbase/fence
---

# fence

An optional fence that this denoiser scaler waits for and updates.

## Declaration

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

## Discussion

Discussion Use this property for synchronizing access to untracked resources.
