---
title: MPSCNNMultiaryKernel
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnmultiarykernel
---

# MPSCNNMultiaryKernel

## Declaration

```swift
class MPSCNNMultiaryKernel
```

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpscnnmultiarykernel/init(coder:device:).md)
- [init(device:sourceCount:)](metalperformanceshaders/mpscnnmultiarykernel/init(device:sourcecount:).md)

### Instance Properties

- [clipRect](metalperformanceshaders/mpscnnmultiarykernel/cliprect.md)
- [destinationFeatureChannelOffset](metalperformanceshaders/mpscnnmultiarykernel/destinationfeaturechanneloffset.md)
- [destinationImageAllocator](metalperformanceshaders/mpscnnmultiarykernel/destinationimageallocator.md)
- [isBackwards](metalperformanceshaders/mpscnnmultiarykernel/isbackwards.md)
- [isStateModified](metalperformanceshaders/mpscnnmultiarykernel/isstatemodified.md)
- [padding](metalperformanceshaders/mpscnnmultiarykernel/padding.md)
- [sourceCount](metalperformanceshaders/mpscnnmultiarykernel/sourcecount.md)

### Instance Methods

- [appendBatchBarrier()](metalperformanceshaders/mpscnnmultiarykernel/appendbatchbarrier().md)
- [destinationImageDescriptor(sourceImages:sourceStates:)](metalperformanceshaders/mpscnnmultiarykernel/destinationimagedescriptor(sourceimages:sourcestates:).md)
- [dilationRateXatIndex(_:)](metalperformanceshaders/mpscnnmultiarykernel/dilationratexatindex(_:).md)
- [dilationRateYatIndex(_:)](metalperformanceshaders/mpscnnmultiarykernel/dilationrateyatindex(_:).md)
- [edgeMode(at:)](metalperformanceshaders/mpscnnmultiarykernel/edgemode(at:).md)
- [encode(commandBuffer:sourceImages:)](metalperformanceshaders/mpscnnmultiarykernel/encode(commandbuffer:sourceimages:).md)
- [encode(commandBuffer:sourceImages:destinationImage:)](metalperformanceshaders/mpscnnmultiarykernel/encode(commandbuffer:sourceimages:destinationimage:).md)
- [encode(commandBuffer:sourceImages:destinationState:destinationStateIsTemporary:)](metalperformanceshaders/mpscnnmultiarykernel/encode(commandbuffer:sourceimages:destinationstate:destinationstateistemporary:).md)
- [encodeBatch(commandBuffer:sourceImages:)](metalperformanceshaders/mpscnnmultiarykernel/encodebatch(commandbuffer:sourceimages:).md)
- [encodeBatch(commandBuffer:sourceImages:destinationImages:)](metalperformanceshaders/mpscnnmultiarykernel/encodebatch(commandbuffer:sourceimages:destinationimages:).md)
- [encodeBatch(commandBuffer:sourceImages:destinationStates:destinationStateIsTemporary:)](metalperformanceshaders/mpscnnmultiarykernel/encodebatch(commandbuffer:sourceimages:destinationstates:destinationstateistemporary:).md)
- [isResultStateReusedAcrossBatch()](metalperformanceshaders/mpscnnmultiarykernel/isresultstatereusedacrossbatch().md)
- [kernelHeight(at:)](metalperformanceshaders/mpscnnmultiarykernel/kernelheight(at:).md)
- [kernelWidth(at:)](metalperformanceshaders/mpscnnmultiarykernel/kernelwidth(at:).md)
- [offset(at:)](metalperformanceshaders/mpscnnmultiarykernel/offset(at:).md)
- [resultState(sourceImages:sourceStates:destinationImage:)](metalperformanceshaders/mpscnnmultiarykernel/resultstate(sourceimages:sourcestates:destinationimage:).md)
- [resultStateBatch(sourceImages:sourceStates:destinationImage:)](metalperformanceshaders/mpscnnmultiarykernel/resultstatebatch(sourceimages:sourcestates:destinationimage:).md)
- [setDilationRateX(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setdilationratex(_:at:).md)
- [setDilationRateY(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setdilationratey(_:at:).md)
- [setEdgeMode(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setedgemode(_:at:).md)
- [setKernelHeight(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setkernelheight(_:at:).md)
- [setKernelWidth(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setkernelwidth(_:at:).md)
- [setOffset(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setoffset(_:at:).md)
- [setSourceFeatureChannelMaxCount(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setsourcefeaturechannelmaxcount(_:at:).md)
- [setSourceFeatureChannelOffset(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setsourcefeaturechanneloffset(_:at:).md)
- [setStrideInPixelsX(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setstrideinpixelsx(_:at:).md)
- [setStrideInPixelsY(_:at:)](metalperformanceshaders/mpscnnmultiarykernel/setstrideinpixelsy(_:at:).md)
- [sourceFeatureChannelMaxCount(at:)](metalperformanceshaders/mpscnnmultiarykernel/sourcefeaturechannelmaxcount(at:).md)
- [sourceFeatureChannelOffset(at:)](metalperformanceshaders/mpscnnmultiarykernel/sourcefeaturechanneloffset(at:).md)
- [stride(inPixelsXatIndex:)](metalperformanceshaders/mpscnnmultiarykernel/stride(inpixelsxatindex:).md)
- [stride(inPixelsYatIndex:)](metalperformanceshaders/mpscnnmultiarykernel/stride(inpixelsyatindex:).md)
- [temporaryResultState(commandBuffer:sourceImages:sourceStates:destinationImage:)](metalperformanceshaders/mpscnnmultiarykernel/temporaryresultstate(commandbuffer:sourceimages:sourcestates:destinationimage:).md)
- [temporaryResultStateBatch(commandBuffer:sourceImages:sourceStates:destinationImage:)](metalperformanceshaders/mpscnnmultiarykernel/temporaryresultstatebatch(commandbuffer:sourceimages:sourcestates:destinationimage:).md)

## Relationships

### Inherits From

- [MPSKernel](metalperformanceshaders/mpskernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
