---
title: MPSGraphResizeNearestRoundingMode.roundToOdd
framework: metalperformanceshadersgraph
role: symbol
role_heading: Case
path: metalperformanceshadersgraph/mpsgraphresizenearestroundingmode/roundtoodd
---

# MPSGraphResizeNearestRoundingMode.roundToOdd

Rounds values to the nearest integer value, with 0.5f rounding toward the closest odd value.

## Declaration

```swift
case roundToOdd
```
