GlCullFace
_glCullFace: specify whether front- or back-facing facets can be culled
Syntax
- SUB _glCullFace (BYVAL mode AS _UNSIGNED LONG)
- void _glCullFace(GLenum mode);
- mode
- Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants Template:KW, Template:KW, and Template:KW are accepted. The initial value is Template:KW.
Description
_glCullFace specifies whether front- or back-facing facets are culled (as specified by mode) when facet culling is enabled. Facet culling is initially disabled. To enable and disable facet culling, call the Template:KW and Template:KW commands with the argument Template:KW. Facets include triangles, quadrilaterals, polygons, and rectangles.
Template:KW specifies which of the clockwise and counterclockwise facets are front-facing and back-facing. See Template:KW.
If mode is Template:KW, no facets are drawn, but other primitives such as points and lines are drawn.
Template:KW is generated if mode is not an accepted value.
Template:KW with argument Template:KW
Template:KW with argument Template:KW