---
title: destinationSlice
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4copysparsetexturemappingoperation/destinationslice
---

# destinationSlice

The index of the array slice in the destination texture to copy into.

## Declaration

```swift
var destinationSlice: Int
```

## Discussion

Discussion Provide 0 in this member if the texture type is not an array.
