---
title: MTL4UpdateSparseTextureMappingOperation
framework: metal
role: symbol
role_heading: Structure
path: metal/mtl4updatesparsetexturemappingoperation
---

# MTL4UpdateSparseTextureMappingOperation

Groups together arguments for an operation to update a sparse texture mapping.

## Declaration

```swift
struct MTL4UpdateSparseTextureMappingOperation
```

## Overview

Overview When performing a sparse mapping update, you are responsible for issuing a barrier against stage MTLStageResourceState. You can determine the sparse texture tier by calling sparseTextureTier.

## Topics

### Initializers

- [init()](metal/mtl4updatesparsetexturemappingoperation/init().md)
- [init(mode:textureRegion:textureLevel:textureSlice:heapOffset:)](metal/mtl4updatesparsetexturemappingoperation/init(mode:textureregion:texturelevel:textureslice:heapoffset:).md)

### Instance Properties

- [heapOffset](metal/mtl4updatesparsetexturemappingoperation/heapoffset.md)
- [mode](metal/mtl4updatesparsetexturemappingoperation/mode.md)
- [textureLevel](metal/mtl4updatesparsetexturemappingoperation/texturelevel.md)
- [textureRegion](metal/mtl4updatesparsetexturemappingoperation/textureregion.md)
- [textureSlice](metal/mtl4updatesparsetexturemappingoperation/textureslice.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Sparse resources

- [MTLBufferSparseTier](metal/mtlbuffersparsetier.md)
- [MTL4CopySparseBufferMappingOperation](metal/mtl4copysparsebuffermappingoperation.md)
- [MTL4UpdateSparseBufferMappingOperation](metal/mtl4updatesparsebuffermappingoperation.md)
- [MTLTextureSparseTier](metal/mtltexturesparsetier.md)
- [MTL4CopySparseTextureMappingOperation](metal/mtl4copysparsetexturemappingoperation.md)
