<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLOriginMake(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@F@MTLOriginMake"
  },
  "title" : "MTLOriginMake(_:_:_:)"
}
-->

# MTLOriginMake(_:_:_:)

Returns a new origin with the specified coordinates.

```
func MTLOriginMake(_ x: Int, _ y: Int, _ z: Int) -> MTLOrigin
```

## Parameters

`x`

The x coordinate.

`y`

The y coordinate.

`z`

The z coordinate.

## Return Value

The specified origin point.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)