blendcolor(3G) blendcolor(3G)
blendcolor - specifies a constant color for blending
void blendcolor(float red, float green, float blue, float alpha)
red is a floating point value between 0 and 1 (default 1.0).
green is a floating point value between 0 and 1 (default 1.0).
blue is a floating point value between 0 and 1 (default 1.0).
alpha is a floating point value between 0 and 1 (default 1.0).
blendcolor specifies the color components used by blend functions
BF_CA, BF_MCA, BF_CC and BF_MCC. The blend color can be changed only by
calling blendcolor. Since blend color is not stored in the framebuffer,
it can be used even if the framebuffer does not include alpha bitplanes.
Red, green, blue, and alpha are clamped to the closed range 0 through 1
when blendcolor is called.
Red, green, blue, and alpha are 0 by default.
blendfunction
IRIS-4D G, GT, GTX, VGX, and VGXT models, the Personal Iris, Indigo
Entry, Indy, XL, XS, XS24, XZ, Elan and Extreme systems do not support
blendcolor.
PPPPaaaaggggeeee 1111 [ Back ]
|