---
title: destinationLevel
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4copysparsetexturemappingoperation/destinationlevel
---

# destinationLevel

The index of the mipmap level in the destination texture.

## Declaration

```swift
var destinationLevel: Int
```

## Discussion

Discussion Provide a value between 0 and the destination texture’s firstMipmapInTail. When sourceLevel is equal to the source texture’s firstMipmapInTail, set destinationLevel to the destination texture’s firstMipmapInTail.
