---
title: MPSCustomKernelArgumentCount
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpscustomkernelargumentcount
---

# MPSCustomKernelArgumentCount

A structure that contains the number of destination, source, and broadcaset textures used by a custom kernel.

## Declaration

```swift
struct MPSCustomKernelArgumentCount
```

## Topics

### Initializers

- [init()](metalperformanceshaders/mpscustomkernelargumentcount/init().md)
- [init(destinationTextureCount:sourceTextureCount:broadcastTextureCount:)](metalperformanceshaders/mpscustomkernelargumentcount/init(destinationtexturecount:sourcetexturecount:broadcasttexturecount:).md)

### Instance Properties

- [broadcastTextureCount](metalperformanceshaders/mpscustomkernelargumentcount/broadcasttexturecount.md)
- [destinationTextureCount](metalperformanceshaders/mpscustomkernelargumentcount/destinationtexturecount.md)
- [sourceTextureCount](metalperformanceshaders/mpscustomkernelargumentcount/sourcetexturecount.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Structures

- [MPSCustomKernelInfo](metalperformanceshaders/mpscustomkernelinfo.md)
- [MPSCustomKernelSourceInfo](metalperformanceshaders/mpscustomkernelsourceinfo.md)
- [MPSDimensionSlice](metalperformanceshaders/mpsdimensionslice.md)
- [MPSImageCoordinate](metalperformanceshaders/mpsimagecoordinate.md)
- [MPSImageRegion](metalperformanceshaders/mpsimageregion.md)
- [MPSIntegerDivisionParams](metalperformanceshaders/mpsintegerdivisionparams.md)
- [MPSIntersectionDistance](metalperformanceshaders/mpsintersectiondistance.md)
- [MPSIntersectionDistancePrimitiveIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindex.md)
- [MPSIntersectionDistancePrimitiveIndexBufferIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindexbufferindex.md)
- [MPSIntersectionDistancePrimitiveIndexBufferIndexCoordinates](metalperformanceshaders/mpsintersectiondistanceprimitiveindexbufferindexcoordinates.md)
- [MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindexbufferindexinstanceindex.md)
- [MPSIntersectionDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates](metalperformanceshaders/mpsintersectiondistanceprimitiveindexbufferindexinstanceindexcoordinates.md)
- [MPSIntersectionDistancePrimitiveIndexCoordinates](metalperformanceshaders/mpsintersectiondistanceprimitiveindexcoordinates.md)
- [MPSIntersectionDistancePrimitiveIndexInstanceIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindex.md)
- [MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates.md)
