 | glBlendColor Method (Single, Single, Single, Single) |
Set the blend color.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void BlendColor(
float red,
float green,
float blue,
float alpha
)
Public Shared Sub BlendColor (
red As Single,
green As Single,
blue As Single,
alpha As Single
)
public:
static void BlendColor(
float red,
float green,
float blue,
float alpha
)
static member BlendColor :
red : float32 *
green : float32 *
blue : float32 *
alpha : float32 -> unit
Parameters
- red
- Type: SystemSingle
red component. - green
- Type: SystemSingle
green component. - blue
- Type: SystemSingle
blue component. - alpha
- Type: SystemSingle
alpha component.
Remarks
The blend color may be used to calculate the source and destination blending factors.
The color components are clamped to the range 0..1 before being stored.
See
BlendFunc(glBlendFactor, glBlendFactor) for a complete description of the blending operations.
Initially the blend color is set to (0, 0, 0, 0).
OpenGL API: glBlendColor
See Also