Edit

Share via


GL.ClearColor Method

Definition

Overloads

ClearColor(Color4)
ClearColor(Color)
ClearColor(Single, Single, Single, Single)

ClearColor(Color4)

public static void ClearColor (OpenTK.Graphics.Color4 color);
static member ClearColor : OpenTK.Graphics.Color4 -> unit

Parameters

color
Color4

Applies to

ClearColor(Color)

public static void ClearColor (System.Drawing.Color color);
static member ClearColor : System.Drawing.Color -> unit

Parameters

color
Color

Applies to

ClearColor(Single, Single, Single, Single)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glClearColor", Version="3.0")]
public static void ClearColor (float red, float green, float blue, float alpha);
static member ClearColor : single * single * single * single -> unit

Parameters

red
Single
green
Single
blue
Single
alpha
Single
Attributes

Applies to