GL_APICALL void GL_APIENTRY glClearColor(
GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha
);
| Name | Description | |
|---|---|---|
| in | red | Red component of the clear color |
| in | green | Green component of the clear color |
| in | blue | Blue component of the clear color |
| in | alpha | Alpha component of the clear color |
Sets the color that glClear uses to clear the color buffer.
Configured values are clamped between 0 and 1. No errors occur in this function.
CONFIDENTIAL