1GLCULLFACE(3G)                   OpenGL Manual                  GLCULLFACE(3G)
2
3
4

NAME

6       glCullFace - specify whether front- or back-facing facets can be culled
7

C SPECIFICATION

9       void glCullFace(GLenum mode);
10

PARAMETERS

12       mode
13           Specifies whether front- or back-facing facets are candidates for
14           culling. Symbolic constants GL_FRONT, GL_BACK, and
15           GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
16

DESCRIPTION

18       glCullFace specifies whether front- or back-facing facets are culled
19       (as specified by mode) when facet culling is enabled. Facet culling is
20       initially disabled. To enable and disable facet culling, call the
21       glEnable() and glDisable() commands with the argument GL_CULL_FACE.
22       Facets include triangles, quadrilaterals, polygons, and rectangles.
23
24       glFrontFace() specifies which of the clockwise and counterclockwise
25       facets are front-facing and back-facing. See glFrontFace().
26

NOTES

28       If mode is GL_FRONT_AND_BACK, no facets are drawn, but other primitives
29       such as points and lines are drawn.
30

ERRORS

32       GL_INVALID_ENUM is generated if mode is not an accepted value.
33

ASSOCIATED GETS

35       glIsEnabled() with argument GL_CULL_FACE
36
37       glGet() with argument GL_CULL_FACE_MODE
38

SEE ALSO

40       glEnable(), glFrontFace()
41
43       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
44       under the SGI Free Software B License. For details, see
45       http://oss.sgi.com/projects/FreeB/.
46

AUTHORS

48       opengl.org
49
50
51
52opengl.org                        06/10/2014                    GLCULLFACE(3G)
Impressum