<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph",
  "identifier" : "/documentation/ShaderGraph/realitykit/Round-Integral-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_MTL_rint_half"
  },
  "title" : "Round Integral (RealityKit)"
}
-->

# Round Integral (RealityKit)

Rounds X to integral value using round ties to even rounding mode in floating-point format.

## Parameter Types

**Round Integral (half):**

|Input|Type|
                |-----|----|
                |`X`  |Half|

|Output|Type|
                |------|----|
                |`Out` |Half|

**Round Integral (vector2h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector2h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2h|

**Round Integral (vector2f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector2f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2f|

**Round Integral (vector4h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector4h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4h|

**Round Integral (float):**

|Input|Type |
                |-----|-----|
                |`X`  |Float|

|Output|Type |
                |------|-----|
                |`Out` |Float|

**Round Integral (vector3f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector3f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3f|

**Round Integral (vector3h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector3h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3h|

**Round Integral (vector4f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector4f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4f|

---

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)