GL_APICALL void GL_APIENTRY glFrontFace(
GLenum mode
);
| Name | Description | |
|---|---|---|
| in | mode | Specified front-facing direction. |
Specifies the front-facing direction for polygons.
Set mode to one of the following values.
| GL_CW | A polygon is determined to be front-facing if the coordinates of its three vertices are placed in clockwise order. |
|---|---|
| GL_CCW | A polygon is determined to be front-facing if the coordinates of its three vertices are placed in counterclockwise order. |
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