GL_SAMPLEID - Online Linux Manual PageSection : 3G
Updated : 01/20/2022
Source : [FIXME: source]
Note : [FIXME: manual]
NAMEgl_SampleID − contains the index of the sample currently being processed
DECLARATIONin int gl_SampleID ;.SH "DESCRIPTION" gl_SampleID is a fragment language input variable that contains the index of the sample currently being processed. This variable is in the range 0 to gl_NumSamples() − 1, where gl_NumSamples() is the total number of samples in each fragment for the current framebuffer (and thus 1 if rendering to a non−multisample buffer). Any static use of this variable in a fragment shader causes the entire shader to be evaluated per−sample rather than per−fragment. When rendering to a non−multisample buffer, or if multisample rasterization is disabled, gl_SampleID will always be zero. gl_NumSamples() is the sample count of the framebuffer regardless of whether multisample rasterization is enabled or not.
VERSION SUPPORT OpenGL Shading Language Version Variable 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_SampleID − − − − − − ✔ ✔ ✔ ✔ ✔ ✔
SEE ALSOgl_SamplePosition(), gl_NumSamples()
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,982 byte
man-gl_SampleID.3GBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 238,078
Visitor ID : :
Visitor IP : 18.223.238.150 :
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.