GL_SAMPLEPOSITION - Online Linux Manual PageSection : 3G
Updated : 01/20/2022
Source : [FIXME: source]
Note : [FIXME: manual]

NAMEgl_SamplePosition − contains the location of the current sample within the current fragment

DECLARATIONin ​vec2 ​gl_SamplePosition ​;.SH "DESCRIPTION" gl_SamplePosition is a fragment language input variable that contains the location within a fragment of the sample currently being processed​. The x and y components of gl_SamplePosition contain the sub−pixel coordinate of the current sample and will have values in the range 0​.0 to 1​.0​. The sub−pixel coordinates of the center of the pixel are always (0​.5, 0​.5)​. Any static use of gl_SamplePosition causes the entire fragment shader to be evaluated per−sample rather than per−fragment​. When rendering to a non−multisample buffer, or if multisample rasterization is disabled, gl_SamplePosition will be (0​.5, 0​.5)​.

VERSION SUPPORT OpenGL Shading Language Version Function Name 1​.10 none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'> 1​.20 1​.30 1​.40 1​.50 3​.30 4​.00 4​.10 4​.20 4​.30 4​.40 4​.50 gl_SamplePosition

SEE ALSOgl_SampleID(), gl_SampleMask(), gl_FragCoord()

COPYRIGHTCopyright © 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
0
Johanes Gumabo
Data Size   :   10,843 byte
man-gl_SamplePosition.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 238,067
Visitor ID   :     :  
Visitor IP   :   3.17.78.184   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.