---
title: MTKTextureLoader.Origin
framework: metalkit
role: symbol
role_heading: Structure
path: metalkit/mtktextureloader/origin
---

# MTKTextureLoader.Origin

Options for specifying when to flip the pixel coordinates of the texture.

## Declaration

```swift
struct Origin
```

## Topics

### Creating Texture Origin Options

- [init(rawValue:)](metalkit/mtktextureloader/origin/init(rawvalue:).md)

### Specifying Texture Origin Options

- [topLeft](metalkit/mtktextureloader/origin/topleft.md)
- [bottomLeft](metalkit/mtktextureloader/origin/bottomleft.md)
- [flippedVertically](metalkit/mtktextureloader/origin/flippedvertically.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Specifying Origin Information

- [origin](metalkit/mtktextureloader/option/origin.md)
