 | glClearColor Method (Single, Single, Single, Single) |
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void ClearColor(
float red,
float green,
float blue,
float alpha
)
Public Shared Sub ClearColor (
red As Single,
green As Single,
blue As Single,
alpha As Single
)
public:
static void ClearColor(
float red,
float green,
float blue,
float alpha
)
static member ClearColor :
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
All values are clamped to the range 0..1.
OpenGL API: glClearColor
See Also