---
title: "texture::uv"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/texture/uv
---

# texture::uv

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

## Declaration

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

## Discussion

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