'\" t .\" Title: glSampleCoverage .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 01/03/2018 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "GLSAMPLECOVERAGE" "3G" "01/03/2018" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" glSampleCoverage \- specify multisample coverage parameters .SH "C SPECIFICATION" .HP \w'void\ glSampleCoverage('u .BI "void glSampleCoverage(GLfloat\ " "value" ", GLboolean\ " "invert" ");" .SH "PARAMETERS" .PP \fIvalue\fR .RS 4 Specify a single floating\-point sample coverage value\&. The value is clamped to the range 0 1\&. The initial value is 1\&.0\&. .RE .PP \fIinvert\fR .RS 4 Specify a single boolean value representing if the coverage masks should be inverted\&. \fBGL_TRUE\fR and \fBGL_FALSE\fR are accepted\&. The initial value is \fBGL_FALSE\fR\&. .RE .SH "DESCRIPTION" .PP Multisampling samples a pixel multiple times at various implementation\-dependent subpixel locations to generate antialiasing effects\&. Multisampling transparently antialiases points, lines, polygons, and images if it is enabled\&. .PP \fIvalue\fR is used in constructing a temporary mask used in determining which samples will be used in resolving the final fragment color\&. This mask is bitwise\-anded with the coverage mask generated from the multisampling computation\&. If the \fIinvert\fR flag is set, the temporary mask is inverted (all bits flipped) and then the bitwise\-and is computed\&. .PP If an implementation does not have any multisample buffers available, or multisampling is disabled, rasterization occurs with only a single sample computing a pixel\*(Aqs final RGB color\&. .PP Provided an implementation supports multisample buffers, and multisampling is enabled, then a pixel\*(Aqs final color is generated by combining several samples per pixel\&. Each sample contains color, depth, and stencil information, allowing those operations to be performed on each sample\&. .SH "NOTES" .PP The type of the \fIvalue\fR parameter was changed from GLclampf to GLfloat\&. This change is transparent to user code and is described in detail on the \fBremovedTypes\fR() page\&. .SH "ASSOCIATED GETS" .PP \fBglGet\fR() with argument \fBGL_SAMPLE_COVERAGE_VALUE\fR .PP \fBglGet\fR() with argument \fBGL_SAMPLE_COVERAGE_INVERT\fR .PP \fBglIsEnabled\fR() with argument \fBGL_MULTISAMPLE\fR .PP \fBglIsEnabled\fR() with argument \fBGL_SAMPLE_ALPHA_TO_COVERAGE\fR .PP \fBglIsEnabled\fR() with argument \fBGL_SAMPLE_ALPHA_TO_ONE\fR .PP \fBglIsEnabled\fR() with argument \fBGL_SAMPLE_COVERAGE\fR .SH "VERSION SUPPORT" .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ \fBOpenGL Version\fR T} T{ \fBFunction / Feature Name\fR T}:T{ \fB2\&.0\fR T}:T{ \fB2\&.1\fR T}:T{ \fB3\&.0\fR T}:T{ \fB3\&.1\fR T}:T{ \fB3\&.2\fR T}:T{ \fB3\&.3\fR T}:T{ \fB4\&.0\fR T}:T{ \fB4\&.1\fR T}:T{ \fB4\&.2\fR T}:T{ \fB4\&.3\fR T}:T{ \fB4\&.4\fR T}:T{ \fB4\&.5\fR T} .T& l c c c c c c c c c c c c. T{ \fBglSampleCoverage\fR T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T} .TE .sp 1 .SH "SEE ALSO" .PP \fBglEnable\fR(), \fBremovedTypes\fR() .SH "COPYRIGHT" .PP Copyright \(co 1991\-2006 Silicon Graphics, Inc\&. Copyright \(co 2010\-2014 Khronos Group\&. This document is licensed under the SGI Free Software B License\&. For details, see \m[blue]\fBhttp://oss\&.sgi\&.com/projects/FreeB/\fR\m[]\&. .SH "COPYRIGHT" .br Copyright \(co 1991-2006 Silicon Graphics, Inc. .br Copyright \(co 2010-2014 Khronos Group .br