---
title: MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates
---

# MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates

An intersection result that contains the origin-intersection distance, intersected primitive and instance indices, and intersection point coordinates.

## Declaration

```swift
struct MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates
```

## Topics

### Initializers

- [init()](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/init().md)
- [init(distance:primitiveIndex:instanceIndex:coordinates:)](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/init(distance:primitiveindex:instanceindex:coordinates:).md)

### Instance Properties

- [coordinates](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/coordinates.md)
- [distance](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/distance.md)
- [instanceIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/instanceindex.md)
- [primitiveIndex](metalperformanceshaders/mpsintersectiondistanceprimitiveindexinstanceindexcoordinates/primitiveindex.md)

## Relationships

### Conforms To

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

## See Also

### Structures

- [MPSCustomKernelArgumentCount](metalperformanceshaders/mpscustomkernelargumentcount.md)
- [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)
