---
title: uiTexture
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/uitexture
---

# uiTexture

An optional texture containing your game’s custom UI that this frame interpolator evaluates.

## Declaration

```swift
var uiTexture: (any MTLTexture)? { get set }
```

## Discussion

Discussion The frame interpolator uses this property to overlay your custom UI on any frame data it produces into outputTexture. Use property isUITextureComposited to indicate to this frame interpolator if this texture contains a precomposition of colorTextureand UI.
