 | glCullFace Method |
Specify whether front- or back-facing polygons can be culled.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void CullFace(
glFace mode
)
Public Shared Sub CullFace (
mode As glFace
)
public:
static void CullFace(
glFace mode
)
static member CullFace :
mode : glFace -> unit
Parameters
- mode
- Type: OooglesglFace
whether front- or back-facing polygons are candidates for culling.
Remarks
This method specifies whether front- or back-facing polygons are culled (as specified by
mode) when polygon culling is enabled.
Polygon culling is initially disabled.
To enable and disable polygon culling, call the
Enable(glCapability) and
Disable(glCapability) methods with the argument
CullFace.
FrontFace(glFaceOrientation) specifies which of the clockwise and counterclockwise polygons are front-facing and back-facing.
Note: if mode is FrontAndBack, no polygons are drawn,
but other primitives such as points and lines are drawn.
OpenGL API: glCullFace
See Also