-> Click here to learn how to get live help <-
NAMEglCullFace - specify whether front- or back-facing facets can be culled
C SPECIFICATIONvoid f3glCullFacefP( GLenum fImodefP )
DESCRIPTION%f3glCullFacefP specifies whether front- or back-facing facets are culled (as specified by f2modefP) when facet culling is enabled. Facet culling is initially disabled. To enable and disable facet culling, call the %f3glEnablefP and %f3glDisablefP commands with the argument %f3GL_CULL_FACEfP. Facets include triangles, quadrilaterals, polygons, and rectangles. %f3glFrontFacefP specifies which of the clockwise and counterclockwise facets are front-facing and back-facing. See %f3glFrontFacefP.
NOTESIf f2modefP is %f3GL_FRONT_AND_BACKfP, no facets are drawn, but other primitives such as points and lines are drawn.
ERRORS%f3GL_INVALID_ENUMfP is generated if f2modefP is not an accepted value. %f3GL_INVALID_OPERATIONfP is generated if %f3glCullFacefP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.
ASSOCIATED GETS%f3glIsEnabledfP with argument %f3GL_CULL_FACEfP
%f3glGetfP with argument %f3GL_CULL_FACE_MODEfP
SEE ALSO%f3glEnable(3G)fP, %f3glFrontFace(3G)fP