<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLDrawPatchIndirectArguments/init(patchCount:instanceCount:patchStart:baseInstance:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So29MTLDrawPatchIndirectArgumentsa10patchCount08instanceF00E5Start12baseInstanceABs6UInt32V_A3Htcfc"
  },
  "title" : "init(patchCount:instanceCount:patchStart:baseInstance:)"
}
-->

# init(patchCount:instanceCount:patchStart:baseInstance:)

Returns a new data layout for drawing patches via indirect buffer calls, with specified parameters.

```
init(patchCount: UInt32, instanceCount: UInt32, patchStart: UInt32, baseInstance: UInt32)
```

---

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)