<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTL4UpdateSparseTextureMappingOperation/init(mode:textureRegion:textureLevel:textureSlice:heapOffset:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So39MTL4UpdateSparseTextureMappingOperationa4mode13textureRegion0H5Level0H5Slice10heapOffsetABSo09MTLSparsedE4ModeV_So9MTLRegionaS3itcfc"
  },
  "title" : "init(mode:textureRegion:textureLevel:textureSlice:heapOffset:)"
}
-->

# init(mode:textureRegion:textureLevel:textureSlice:heapOffset:)

```
init(mode: MTLSparseTextureMappingMode, textureRegion: MTLRegion, textureLevel: Int, textureSlice: Int, heapOffset: Int)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)