---
title: MPSIntersectionDataType
framework: metalperformanceshaders
role: symbol
role_heading: Enumeration
path: metalperformanceshaders/mpsintersectiondatatype
---

# MPSIntersectionDataType

Options that determine the data contained in an intersection result.

## Declaration

```swift
enum MPSIntersectionDataType
```

## Topics

### Enumeration Cases

- [MPSIntersectionDataType.distance](metalperformanceshaders/mpsintersectiondatatype/distance.md)
- [MPSIntersectionDataType.distancePrimitiveIndex](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindex.md)
- [MPSIntersectionDataType.distancePrimitiveIndexBufferIndex](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexbufferindex.md)
- [MPSIntersectionDataType.distancePrimitiveIndexBufferIndexCoordinates](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexbufferindexcoordinates.md)
- [MPSIntersectionDataType.distancePrimitiveIndexBufferIndexInstanceIndex](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexbufferindexinstanceindex.md)
- [MPSIntersectionDataType.distancePrimitiveIndexBufferIndexInstanceIndexCoordinates](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexbufferindexinstanceindexcoordinates.md)
- [MPSIntersectionDataType.distancePrimitiveIndexCoordinates](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexcoordinates.md)
- [MPSIntersectionDataType.distancePrimitiveIndexInstanceIndex](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexinstanceindex.md)
- [MPSIntersectionDataType.distancePrimitiveIndexInstanceIndexCoordinates](metalperformanceshaders/mpsintersectiondatatype/distanceprimitiveindexinstanceindexcoordinates.md)

### Initializers

- [init(rawValue:)](metalperformanceshaders/mpsintersectiondatatype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [MPSAccelerationStructureStatus](metalperformanceshaders/mpsaccelerationstructurestatus.md)
- [MPSAccelerationStructureUsage](metalperformanceshaders/mpsaccelerationstructureusage.md)
- [MPSAliasingStrategy](metalperformanceshaders/mpsaliasingstrategy.md)
- [MPSBoundingBoxIntersectionTestType](metalperformanceshaders/mpsboundingboxintersectiontesttype.md)
- [MPSCNNBatchNormalizationFlags](metalperformanceshaders/mpscnnbatchnormalizationflags.md)
- [MPSCNNConvolutionGradientOption](metalperformanceshaders/mpscnnconvolutiongradientoption.md)
- [MPSCNNConvolutionWeightsLayout](metalperformanceshaders/mpscnnconvolutionweightslayout.md)
- [MPSCNNLossType](metalperformanceshaders/mpscnnlosstype.md)
- [MPSCNNReductionType](metalperformanceshaders/mpscnnreductiontype.md)
- [MPSCNNWeightsQuantizationType](metalperformanceshaders/mpscnnweightsquantizationtype.md)
- [MPSCustomKernelIndex](metalperformanceshaders/mpscustomkernelindex.md)
- [MPSDeviceCapsValues](metalperformanceshaders/mpsdevicecapsvalues.md)
- [MPSDeviceOptions](metalperformanceshaders/mpsdeviceoptions.md)
- [MPSFloatDataTypeBit](metalperformanceshaders/mpsfloatdatatypebit.md)
- [MPSFloatDataTypeShift](metalperformanceshaders/mpsfloatdatatypeshift.md)
