<!--
{
  "availability" : [
    "iOS: 16.3.0 -",
    "iPadOS: 16.3.0 -",
    "macCatalyst: 16.3.0 -",
    "macOS: 13.2.0 -",
    "tvOS: 16.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShadersGraph",
  "identifier" : "/documentation/MetalPerformanceShadersGraph/MPSGraphResizeNearestRoundingMode/roundToOdd",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal Performance Shaders Graph"
    ],
    "preciseIdentifier" : "c:@E@MPSGraphResizeNearestRoundingMode@MPSGraphResizeNearestRoundingModeRoundToOdd"
  },
  "title" : "MPSGraphResizeNearestRoundingMode.roundToOdd"
}
-->

# MPSGraphResizeNearestRoundingMode.roundToOdd

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

```
case roundToOdd
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)