<!--
{
  "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-Docs",
  "identifier" : "/documentation/ShaderGraph/Math/Max3-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_MTL_max3_integer"
  },
  "title" : "Max3 (RealityKit)"
}
-->

# Max3 (RealityKit)

Outputs the maximum of three incoming values.

## Parameter Types

**Max3 (integer):**

|Input|Type |
                |-----|-----|
                |`X`  |Int32|
                |`Y`  |Int32|
                |`Z`  |Int32|

|Output|Type |
                |------|-----|
                |`Out` |Int32|

**Max3 (vector3h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector3h|
                |`Y`  |Vector3h|
                |`Z`  |Vector3h|

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

**Max3 (float):**

|Input|Type |
                |-----|-----|
                |`X`  |Float|
                |`Y`  |Float|
                |`Z`  |Float|

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

**Max3 (vector4h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector4h|
                |`Y`  |Vector4h|
                |`Z`  |Vector4h|

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

**Max3 (half):**

|Input|Type|
                |-----|----|
                |`X`  |Half|
                |`Y`  |Half|
                |`Z`  |Half|

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

**Max3 (vector4f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector4f|
                |`Y`  |Vector4f|
                |`Z`  |Vector4f|

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

**Max3 (vector3f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector3f|
                |`Y`  |Vector3f|
                |`Z`  |Vector3f|

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

**Max3 (vector2h):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector2h|
                |`Y`  |Vector2h|
                |`Z`  |Vector2h|

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

**Max3 (vector2f):**

|Input|Type    |
                |-----|--------|
                |`X`  |Vector2f|
                |`Y`  |Vector2f|
                |`Z`  |Vector2f|

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

---

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)