---
title: textureLevel
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4updatesparsetexturemappingoperation/texturelevel
---

# textureLevel

The index of the mipmap level in the texture to update.

## Declaration

```swift
var textureLevel: Int
```

## Discussion

Discussion Provide a value between 0 and the texture’s firstMipmapInTail.
