1GLCULLFACE(3G) [FIXME: manual] GLCULLFACE(3G)
2
3
4
6 glCullFace - specify whether front- or back-facing facets can be culled
7
9 void glCullFace(GLenum mode);
10
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
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
22
23 glDisable commands with the argument GL_CULL_FACE. Facets include
24 triangles, quadrilaterals, polygons, and rectangles.
25
26 glFrontFace() specifies which of the clockwise and counterclockwise
27 facets are front-facing and back-facing. See glFrontFace().
28
30 If mode is GL_FRONT_AND_BACK, no facets are drawn, but other primitives
31 such as points and lines are drawn.
32
34 GL_INVALID_ENUM is generated if mode is not an accepted value.
35
37 glIsEnabled() with argument GL_CULL_FACE
38
39 glGet() with argument GL_CULL_FACE_MODE
40
42 ┌───────────┬───────────────────────────────────────────────────────────────────────┐
43 │ │ OpenGL Version │
44 ├───────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
45 │Function │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
46 │/ │ │ │ │ │ │ │ │ │ │ │ │ │
47 │Feature │ │ │ │ │ │ │ │ │ │ │ │ │
48 │Name │ │ │ │ │ │ │ │ │ │ │ │ │
49 ├───────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
50 │glCullFace │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │
51 └───────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
52
54 glEnable(), glFrontFace()
55
57 Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014
58 Khronos Group. This document is licensed under the SGI Free Software B
59 License. For details, see http://oss.sgi.com/projects/FreeB/.
60
62 Copyright © 1991-2006 Silicon Graphics, Inc.
63 Copyright © 2010-2014 Khronos Group
64
65
66
67[FIXME: source] 03/06/2019 GLCULLFACE(3G)