---
title: MTLPatchType
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtlpatchtype
---

# MTLPatchType

Types of tessellation patches that can be inputs of a post-tessellation vertex function.

## Declaration

```swift
enum MTLPatchType
```

## Topics

### Patch types

- [MTLPatchType.none](metal/mtlpatchtype/none.md)
- [MTLPatchType.triangle](metal/mtlpatchtype/triangle.md)
- [MTLPatchType.quad](metal/mtlpatchtype/quad.md)

### Initializers

- [init(rawValue:)](metal/mtlpatchtype/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Identifying the tessellation patch

- [patchType](metal/mtlfunction/patchtype.md)
- [patchControlPointCount](metal/mtlfunction/patchcontrolpointcount.md)
