Contents

texture::position

Current pixel’s position

Declaration

uint2 texture::position()

Discussion

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