---
title: MPSRayPackedOriginDirection
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpsraypackedorigindirection
---

# MPSRayPackedOriginDirection

## Declaration

```swift
struct MPSRayPackedOriginDirection
```

## Topics

### Initializers

- [init()](metalperformanceshaders/mpsraypackedorigindirection/init().md)
- [init(origin:direction:)](metalperformanceshaders/mpsraypackedorigindirection/init(origin:direction:).md)

### Instance Properties

- [direction](metalperformanceshaders/mpsraypackedorigindirection/direction.md)
- [origin](metalperformanceshaders/mpsraypackedorigindirection/origin.md)

## Relationships

### Conforms To

- [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)
