NAME
glCullFace
- specify whether front- or back-facing facets can be culled
C SPECIFICATION
void ggllCCuullllFFaaccee(
GLenum _m_o_d_e )
PARAMETERS
-
_m_o_d_e
-
Specifies whether front- or back-facing facets are candidates for culling.
Symbolic constants
GGLL__FFRROONNTT, GGLL__BBAACCKK, and GGLL__FFRROONNTT__AANNDD__BBAACCKK are accepted.
The initial value is GGLL__BBAACCKK.
DESCRIPTION
ggllCCuullllFFaaccee specifies whether front- or back-facing facets are culled
(as specified by _m_o_d_e) when facet culling is enabled. Facet
culling is initially disabled.
To enable and disable facet culling, call the
ggllEEnnaabbllee and ggllDDiissaabbllee commands
with the argument GGLL__CCUULLLL__FFAACCEE.
Facets include triangles,
quadrilaterals,
polygons,
and rectangles.
ggllFFrroonnttFFaaccee specifies which of the clockwise and counterclockwise facets
are front-facing and back-facing.
See ggllFFrroonnttFFaaccee.
NOTES
If _m_o_d_e is GGLL__FFRROONNTT__AANNDD__BBAACCKK, no facets are drawn, but other
primitives such as points and lines are drawn.
ERRORS
GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _m_o_d_e is not an accepted value.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllCCuullllFFaaccee
is executed between the execution of ggllBBeeggiinn
and the corresponding execution of ggllEEnndd.
ASSOCIATED GETS
ggllIIssEEnnaabblleedd with argument GGLL__CCUULLLL__FFAACCEE
ggllGGeett with argument GGLL__CCUULLLL__FFAACCEE__MMOODDEE
SEE ALSO
ggllEEnnaabbllee((33GG)),
ggllFFrroonnttFFaaccee((33GG))