GL_APICALL void GL_APIENTRY glCullFace(
GLenum mode
);
| Name | Description | |
|---|---|---|
| in | mode | Polygon face to cull |
Specifies the polygon face to cull when culling is enabled.
Set mode to one of the following values.| GL_FRONT | Front-face culling. |
|---|---|
| GL_BACK | Back-face culling. |
| GL_FRONT_AND_BACK | Culls both front and back faces. |
This function generates the following errors.
| GL_INVALID_ENUM | The mode argument was set to an invalid value. |
|---|---|
| GL_INVALID_OPERATION | A GL_INVALID_OPERATION error occurs when this function is called without any command-list objects bound. |
CONFIDENTIAL