GL_POINTCOORD(3G)

    .SH "NAME" gl_PointCoord - contains the coordinate of a fragment within a point
    .SH "DECLARATION"

            in mediump
            vec2
            gl_PointCoord
        ;

    .SH "DESCRIPTION"
        .PP gl_PointCoord is a fragment language input variable that contains the two-dimensional coordinates indicating where within a point primitive the current fragment is located. If the current primitive is not a point, then values read from gl_PointCoord are undefined.
        .PP gl_PointCoord.s ranges from 0.0 to 1.0 across the point horizontally from left to right. gl_PointCoord.t varies from 0.0 to 1.0 vertically from top to bottom.

    .SH "VERSION SUPPORT"
        .TS allbox tab(:); l l l l l. T{ gl_PointCoord T}:T{ T}:T{ T}:T{ T}:T{ T}

    .SH "SEE ALSO"
        .PP gl_FragCoord(), gl_FragDepth()

    .SH "COPYRIGHT"
        .PP Copyright © 2011-2015 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2011-2015 Khronos Group