glBlendFunc - specify pixel arithmetic
GLenum dfactor )
Additionally, if the GL_ARB_imaging extension is supported, the following constants are accepted: GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA.
Additionally, if the GL_ARB_imaging extension is supported, the following constants are accepted: GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA.
Parameter | $(f sub R , ~~ f sub G , ~~ f sub B , ~~ f sub A )$ |
GL_ZERO | $(0, ~0, ~0, ~0 )$ |
GL_ONE | $(1, ~1, ~1, ~1 )$ |
GL_SRC_COLOR | $(R sub s / k sub R , ~G sub s / k sub G , ~B sub s / k sub B , ~A sub s / k sub A )$ |
GL_ONE_MINUS_SRC_COLOR | $(1, ~1, ~1, ~1 ) ~-~ (R sub s / k sub R , ~G sub s / k sub G , ~B sub s / k sub B , ~A sub s / k sub A )$ |
GL_DST_COLOR | $(R sub d / k sub R , ~G sub d / k sub G , ~B sub d / k sub B , ~A sub d / k sub A )$ |
GL_ONE_MINUS_DST_COLOR | $(1, ~1, ~1, ~1 ) ~-~ (R sub d / k sub R , ~G sub d / k sub G , ~B sub d / k sub B , ~A sub d / k sub A )$ |
GL_SRC_ALPHA | $(A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A )$ |
GL_ONE_MINUS_SRC_ALPHA | $(1, ~1, ~1, ~1 ) ~-~ (A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A )$ |
GL_DST_ALPHA | $(A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A )$ |
GL_ONE_MINUS_DST_ALPHA | $(1, ~1, ~1, ~1 ) ~-~ (A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A )$ |
GL_SRC_ALPHA_SATURATE | $(i, ~i, ~i, ~1 )$ |
GL_CONSTANT_COLOR | $(R sub c, G sub c, B sub c, A sub c)$ |
GL_ONE_MINUS_CONSTANT_COLOR | $(1, ~1, ~1, ~1 ) ~-~ (R sub c, G sub c, B sub c, A sub c)$ |
GL_CONSTANT_ALPHA | $(A sub c, A sub c, A sub c, A sub c)$ |
GL_ONE_MINUS_CONSTANT_ALPHA | $(1, ~1, ~1, ~1 ) ~-~ (A sub c, A sub c, A sub c, A sub c)$ |
In the table,
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |