<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSCustomKernelInfo/init(clipOrigin:clipSize:destinationFeatureChannels:destImageArraySize:sourceImageCount:threadgroupSize:subbatchIndex:subbatchStride:idiv:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "s:So19MPSCustomKernelInfoa10clipOrigin0D4Size26destinationFeatureChannels014destImageArrayF006sourceK5Count011threadgroupF013subbatchIndex0P6Stride4idivABs5SIMD4Vys6UInt16VG_Ap6OSo24MPSIntegerDivisionParamsatcfc"
  },
  "title" : "init(clipOrigin:clipSize:destinationFeatureChannels:destImageArraySize:sourceImageCount:threadgroupSize:subbatchIndex:subbatchStride:idiv:)"
}
-->

# init(clipOrigin:clipSize:destinationFeatureChannels:destImageArraySize:sourceImageCount:threadgroupSize:subbatchIndex:subbatchStride:idiv:)

```
init(clipOrigin: vector_ushort4, clipSize: vector_ushort4, destinationFeatureChannels: UInt16, destImageArraySize: UInt16, sourceImageCount: UInt16, threadgroupSize: UInt16, subbatchIndex: UInt16, subbatchStride: UInt16, idiv: MPSIntegerDivisionParams)
```

---

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)