Click or drag to resize

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)
Syntax
public static void CullFace(
	glFace mode
)

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