---
title: iosurfacePlane
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltexture/iosurfaceplane
---

# iosurfacePlane

The number of a plane within the underlying surface instance for the texture, if applicable.

## Declaration

```swift
var iosurfacePlane: Int { get }
```

## Discussion

Discussion The plane number applies to the iosurfacePlane property when it isn’t nil. The property’s value defaults to 0 for textures that don’t come from an IOSurface instance.

## See Also

### Getting information about the IOSurface the texture was created from

- [iosurface](metal/mtltexture/iosurface.md)
