This function sets the color that the drawing buffer is 'cleared' to.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void ClearColor(
float red,
float green,
float blue,
float alpha
)
参数
- red
- 类型:SystemSingle
Red component of the color (between 0 and 1). - green
- 类型:SystemSingle
Green component of the color (between 0 and 1). - blue
- 类型:SystemSingle
Blue component of the color (between 0 and 1)./ - alpha
- 类型:SystemSingle
Alpha component of the color (between 0 and 1).
参见