---
title: MTLOrigin
framework: metal
role: symbol
role_heading: Structure
path: metal/mtlorigin
---

# MTLOrigin

The coordinates for the front upper-left corner of a region.

## Declaration

```swift
struct MTLOrigin
```

## Topics

### Creating origin points

- [init()](metal/mtlorigin/init().md)
- [init(x:y:z:)](metal/mtlorigin/init(x:y:z:).md)
- [MTLOriginMake(_:_:_:)](metal/mtloriginmake(_:_:_:).md)

### Getting and setting coordinate values

- [x](metal/mtlorigin/x.md)
- [y](metal/mtlorigin/y.md)
- [z](metal/mtlorigin/z.md)

## Relationships

### Conforms To

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

## See Also

### Indirect compute commands

- [MTLIndirectComputeCommand](metal/mtlindirectcomputecommand.md)
- [MTLRegion](metal/mtlregion.md)
- [MTLSize](metal/mtlsize.md)
- [MTLStageInRegionIndirectArguments](metal/mtlstageinregionindirectarguments.md)
- [MTLDispatchThreadgroupsIndirectArguments](metal/mtldispatchthreadgroupsindirectarguments.md)
