---
title: patchType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlfunction/patchtype
---

# patchType

The tessellation patch type of a post-tessellation vertex function.

## Declaration

```swift
var patchType: MTLPatchType { get }
```

## Discussion

Discussion This value is MTLPatchType.none if the function isn’t a post-tessellation vertex function.

## See Also

### Identifying the tessellation patch

- [patchControlPointCount](metal/mtlfunction/patchcontrolpointcount.md)
- [MTLPatchType](metal/mtlpatchtype.md)
