<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph-Docs",
  "identifier" : "/documentation/ShaderGraph/realitykit/Image-2D-Array-Read-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_RealityKitTexture2DArrayRead_vector4"
  },
  "title" : "Image 2D Array Read (RealityKit)"
}
-->

# Image 2D Array Read (RealityKit)

Direct texture read.

## Parameter Types

**Image 2D Array Read (vector4f):**

|Input    |Type     |
                |---------|---------|
                |`File`   |AssetPath|
                |`Default`|Vector4f |
                |`Index`  |Int32    |
                |`X`      |Int32    |
                |`Y`      |Int32    |
                |`Lod`    |Int32    |

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

**Image 2D Array Read (color4):**

|Input    |Type         |
                |---------|-------------|
                |`File`   |AssetPath    |
                |`Default`|Color4<Float>|
                |`Index`  |Int32        |
                |`X`      |Int32        |
                |`Y`      |Int32        |
                |`Lod`    |Int32        |

|Output|Type         |
                |------|-------------|
                |`Out` |Color4<Float>|

> Important: This node requires a device with a <doc://com.apple.documentation/documentation/Metal/MTLGPUFamily/apple3> or later GPU and may not be available on certain devices. To determine GPU feature support at runtime, see <doc://com.apple.documentation/documentation/Metal/detecting-gpu-features-and-metal-software-versions>.

---

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)