跳到主要内容

glClear

清除指定的缓冲区。

声明

void glClear(int mask)

参数

参数名描述
mask清除掩码(如 GL_COLOR_BUFFER_BIT)

返回值

使用方式

返回文档