---
title: firstMipmapInTail
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltexture/firstmipmapintail
---

# firstMipmapInTail

The index of the first mipmap in the tail.

## Declaration

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

```swift
optional var firstMipmapInTail: Int { get }
```

## Discussion

Discussion In a sparse texture, the tail is a collection of mipmaps at higher index values that are mapped as a single block of memory. When you map this mipmap into your sparse texture, Metal also maps mipmap levels with larger index values.

## See Also

### Querying sparse properties

- [isSparse](metal/mtltexture/issparse.md)
- [tailSizeInBytes](metal/mtltexture/tailsizeinbytes.md)
