---
title: origin
framework: metalkit
role: symbol
role_heading: Type Property
path: metalkit/mtktextureloader/option/origin
---

# origin

A key used to specify when to flip the pixel coordinates of the texture.

## Declaration

```swift
static let origin: MTKTextureLoader.Option
```

## Discussion

Discussion The value for this key is one of the values listed for MTKTextureLoader.Origin. If you omit this option, the texture loader doesn’t flip loaded textures. This option cannot be used with block-compressed texture formats, and can be used only with 2D, 2D array, and cube map textures. Each mipmap level and slice of a texture are flipped.

## See Also

### Specifying Origin Information

- [MTKTextureLoader.Origin](metalkit/mtktextureloader/origin.md)
