---
title: MTLPatchType.triangle
framework: metal
role: symbol
role_heading: Case
path: metal/mtlpatchtype/triangle
---

# MTLPatchType.triangle

A triangle patch.

## Declaration

```swift
case triangle
```

## Discussion

Discussion Metal uses this value if the shader is a post-tessellation vertex function with the [[patch(triangle)]] attribute.

## See Also

### Patch types

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