mode
The mode of the mapping operation to perform.
Declaration
var mode: MTLSparseTextureMappingModeDiscussion
When mode is MTLSparseTextureMappingMode.map, Metal walks the tiles in the region in X, Y, then Z order, assigning the next tile from the heap in increasing order, starting at heapOffset.
When mode is MTLSparseTextureMappingMode.unmap, Metal unmaps the tiles in the region, ignoring the contents of member heapOffset.