<!--
{
  "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/Geometric/Texture-Coordinates",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_texcoord_vector2"
  },
  "title" : "Texture Coordinates"
}
-->

# Texture Coordinates

The 2D or 3D texture coordinates of the currently-processed data.

## Parameter Types

**Texture Coordinates (vector2f):**

|Input  |Type |
                |-------|-----|
                |`Index`|Int32|

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

**Texture Coordinates (vector4f):**

|Input  |Type |
                |-------|-----|
                |`Index`|Int32|

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

## Parameter description

- `Index`: The index of the texture coordinates to reference; the default is `0`.

---

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)