Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glminsampleshading(3g) [centos man page]

GLMINSAMPLESHADING(3G)						   OpenGL Manual					    GLMINSAMPLESHADING(3G)

NAME
glMinSampleShading - specifies minimum rate at which sample shaing takes place C SPECIFICATION
void glMinSampleShading(GLfloat value); PARAMETERS
value Specifies the rate at which samples are shaded within each covered pixel. DESCRIPTION
glMinSampleShading specifies the rate at which samples are shaded within a covered pixel. Sample-rate shading is enabled by calling glEnable() with the parameter GL_SAMPLE_SHADING. If GL_MULTISAMPLE or GL_SAMPLE_SHADING is disabled, sample shading has no effect. Otherwise, an implementation must provide at least as many unique color values for each covered fragment as specified by value times samples where samples is the value of GL_SAMPLES for the current framebuffer. At least 1 sample for each covered fragment is generated. A value of 1.0 indicates that each sample in the framebuffer should be indpendently shaded. A value of 0.0 effectively allows the GL to ignore sample rate shading. Any value between 0.0 and 1.0 allows the GL to shade only a subset of the total samples within each covered fragment. Which samples are shaded and the algorithm used to select that subset of the fragment's samples is implementation dependent. NOTES
The type of the value parameter was changed from GLclampf to GLfloat. This change is transparent to user code and is described in detail on the removedTypes() page. ERRORS
None. ASSOCIATED GETS
glGet() with argument GL_MIN_SAMPLE_SHADING. glGet() with argument GL_SAMPLES. SEE ALSO
removedTypes() COPYRIGHT
Copyright (C) 2011 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/. AUTHORS
opengl.org opengl.org 06/10/2014 GLMINSAMPLESHADING(3G)

Check Out this Related Man Page

GLSAMPLECOVERAGE(3G)						   OpenGL Manual					      GLSAMPLECOVERAGE(3G)

NAME
glSampleCoverage - specify multisample coverage parameters C SPECIFICATION
void glSampleCoverage(GLfloat value, GLboolean invert); PARAMETERS
value Specify a single floating-point sample coverage value. The value is clamped to the range 0 1. The initial value is 1.0. invert Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. DESCRIPTION
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. value 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 invert flag is set, the temporary mask is inverted (all bits flipped) and then the bitwise-and is computed. If an implementation does not have any multisample buffers available, or multisampling is disabled, rasterization occurs with only a single sample computing a pixel's final RGB color. Provided an implementation supports multisample buffers, and multisampling is enabled, then a pixel's 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. NOTES
The type of the value parameter was changed from GLclampf to GLfloat. This change is transparent to user code and is described in detail on the removedTypes() page. ASSOCIATED GETS
glGet() with argument GL_SAMPLE_COVERAGE_VALUE glGet() with argument GL_SAMPLE_COVERAGE_INVERT glIsEnabled() with argument GL_MULTISAMPLE glIsEnabled() with argument GL_SAMPLE_ALPHA_TO_COVERAGE glIsEnabled() with argument GL_SAMPLE_ALPHA_TO_ONE glIsEnabled() with argument GL_SAMPLE_COVERAGE SEE ALSO
glEnable(), removedTypes() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLSAMPLECOVERAGE(3G)
Man Page