---
title: MTLVertexFormat.half2
framework: metal
role: symbol
role_heading: Case
path: metal/mtlvertexformat/half2
---

# MTLVertexFormat.half2

A two-component vector with 16-bit floating-point values.

## Declaration

```swift
case half2
```

## See Also

### 16-bit floating-point formats

- [MTLVertexFormat.half](metal/mtlvertexformat/half.md)
- [MTLVertexFormat.half3](metal/mtlvertexformat/half3.md)
- [MTLVertexFormat.half4](metal/mtlvertexformat/half4.md)
