<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLRegion/init(origin:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So9MTLRegiona6origin4sizeABSo9MTLOrigina_So7MTLSizeatcfc"
  },
  "title" : "init(origin:size:)"
}
-->

# init(origin:size:)

Initializes a new region with the specified origin and size.

```
init(origin: MTLOrigin, size: MTLSize)
```

## Parameters

`origin`

The origin of the region.

`size`

The size of the region.

---

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)