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
GLFRAMEBUFFERPARAMET(3G) OpenGL Manual GLFRAMEBUFFERPARAMET(3G)NAME
glFramebufferParameteri - set a named parameter of a framebuffer
C SPECIFICATION
void glFramebufferParameteri(GLenum target, GLenum pname, GLint param);
PARAMETERS
target
The target of the operation, which must be GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER or GL_FRAMEBUFFER.
pname
A token indicating the parameter to be modified.
param
The new value for the parameter named pname.
DESCRIPTION
glFramebufferParameteri modifies the current value of the parameter named pname in the framebuffer bound to target. target must be
GL_READ_FRAMEBFUFFER, GL_DRAW_FRAMEBUFFER or GL_FRAMEBUFFER. The token GL_FRAMEBUFFER is treated as GL_DRAW_FRAMEBUFFER. A non-default
framebuffer must be bound to target.
pname specifies the parameter to be modified. The following symbols are accepted in pname:
GL_FRAMEBUFFER_DEFAULT_WIDTH
param specifies the assumed with for a framebuffer object with no attachments. If a framebuffer has attachments then the width of those
attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_WIDTH is used for the framebuffer. param must be greater than or
equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_WIDTH.
GL_FRAMEBUFFER_DEFAULT_HEIGHT
param specifies the assumed height for a framebuffer object with no attachments. If a framebuffer has attachments then the height of
those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_HEIGHT is used for the framebuffer. param must be greater
than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_HEIGHT.
GL_FRAMEBUFFER_DEFAULT_LAYERS
param specifies the assumed number of layers for a framebuffer object with no attachments. If a framebuffer has attachments then the
layer count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_LAYERS is used for the framebuffer. param must
be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_LAYERS.
GL_FRAMEBUFFER_DEFAULT_SAMPLES
param specifies the assumed number of samples in a framebuffer object with no attachments. If a framebuffer has attachments then the
sample count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_SAMPLES is used for the framebuffer. param
must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_SAMPLE.
GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
param specifies whether the framebuffer should assume identical sample locations and the same number of samples for all texels in the
virtual image. If param is zero, then the implementation may vary the position or the count of samples within the virtual image from
pixel to pixel, otherwise it will use the same sample position and count for all pixels in the virtual image.
ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted framebuffer targets.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_WIDTH and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_WIDTH.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_HEIGHT and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_HEIGHT.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_LAYERS and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_LAYERS.
GL_INVAILD_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_SAMPLES and param is less than zero or greater than the value of
GL_MAX_FRAMEBUFFER_SAMPLES.
GL_INVALID_OPERATION is generated if the default framebuffer is bound to target.
ASSOCIATED GETS
glGetFramebufferParameteriv().
SEE ALSO
glVertexAttribBinding(), glVertexAttribFormat(), glVertexAttribPointer(), glVertexBindingDivisor().
COPYRIGHT
Copyright (C) 2012 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 GLFRAMEBUFFERPARAMET(3G)