glAlphaToCoverageDitherControlNV
(2023-04-11 23:49:08)
标签:
it |
分类: 技术 |
Native bindings to the
NV_alpha_to_coverage_dither_control extension.
NV_alpha_to_coverage_dither_control provides a new mechanism
to control whether dithering is applied when the existing alpha to
coverage functionality is used.
Fields
Modifier and Type Field Description
static int GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV Accepted by
the param
GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV parameter
of
GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV
AlphaToCoverageDitherControlNV.
static int GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV
Accepted by the param of GetIntegerv.
Modifier and Type Method Description
static void glAlphaToCoverageDitherControlNV(int mode)
Version
Modify the paragraph describing SAMPLE_ALPHA_TO_COVERAGE
with
If the mode is ALPHA_TO_COVERAGE_DITHER_ENABLE, the
algorithm is different at different pixel locations. The dithering
should be defined relative to window, not screen,
coordinates, so that rendering results are invariant with
respect to window position.
If the mode is ALPHA_TO_COVERAGE_DITHER_DISABLE, then
no dithering should be applied and the same conversion should
happen regardless of the pixel coordinates.
If the mode is ALPHA_TO_COVERAGE_DITHER_DEFAULT, then
the algorithm is implementation dependent.