<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/texture/uv",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "texture::uv"
  },
  "title" : "texture::uv"
}
-->

# texture::uv

Current pixel’s position, in UV [0.0, 1.0] coordinates.

```
float2 texture::uv()
```

## Discussion

In the context of a texture stage, returns the current pixel position,
in UV coordinates.

> Visual: ![Graph](texture__uv)

---

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)