---
title: MTLSparseTextureMappingMode
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtlsparsetexturemappingmode
---

# MTLSparseTextureMappingMode

Options for sparse texture mapping.

## Declaration

```swift
enum MTLSparseTextureMappingMode
```

## Topics

### Specifying the mapping mode

- [MTLSparseTextureMappingMode.map](metal/mtlsparsetexturemappingmode/map.md)
- [MTLSparseTextureMappingMode.unmap](metal/mtlsparsetexturemappingmode/unmap.md)

### Initializers

- [init(rawValue:)](metal/mtlsparsetexturemappingmode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Updating texture memory assignments

- [updateTextureMapping(_:mode:region:mipLevel:slice:)](metal/mtlresourcestatecommandencoder/updatetexturemapping(_:mode:region:miplevel:slice:).md)
- [updateTextureMappings(_:mode:regions:mipLevels:slices:numRegions:)](metal/mtlresourcestatecommandencoder/updatetexturemappings(_:mode:regions:miplevels:slices:numregions:).md)
