共用方式為


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
屬性

適用於