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.
Current pixel’s position, in UV [0.0, 1.0] coordinates.
float2 texture::uv()In the context of a texture stage, returns the current pixel position, in UV coordinates.