Contents

texture::uv

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

Declaration

float2 texture::uv()

Discussion

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