Provided by: opengl-4-man-doc_1.0~svn33624-1_all bug

NAME

       interpolateAtSample - sample a varying at the location of a specified sample

DECLARATION

       float interpolateAtSample(float interpolant, int sample);

       vec2 interpolateAtSample(vec2 interpolant, int sample);

       vec3 interpolateAtSample(vec3 interpolant, int sample);

       vec4 interpolateAtSample(vec4 interpolant, int sample);

PARAMETERS

       interpolant
           Specifies the interpolant to be sampled at the location of sample sample.

       sample
           Specifies the index of the sample whose location will be used to sample interpolant.

DESCRIPTION

       interpolateAtSample returns the value of the input varying interpolant sampled at the
       location of sample number sample. If multisample buffers are not available, the input
       varying will be evaluated at the center of the pixel. If sample sample does not exist, the
       position used to interpolate the input varying is undefined.

VERSION SUPPORT

       ┌────────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │                    │        OpenGL Shading Language Version                                            │
       ├────────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │Name                │      │      │      │      │      │      │      │      │      │      │      │      │
       ├────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │interpolateAtSample │  -   │  -   │  -   │  -   │  -   │  -   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │
       └────────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

SEE ALSO

       interpolateAtCentroid(), interpolateAtOffset()

COPYRIGHT

       Copyright © 2011-2014 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-2014 Khronos Group

[FIXME: source]                             01/03/2018                    INTERPOLATEATSAMPLE(3G)