GL.ClearColor 方法

定义

重载

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

参数

color
Color4

适用于

ClearColor(Color)

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

参数

color
Color

适用于

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

参数

red
Single
green
Single
blue
Single
alpha
Single
属性

适用于