GXSetCullMode

Syntax

#include <revolution/gx.h>

void GXSetCullMode( GXCullMode mode );

Arguments

mode Culling mode. Accepted values are:
Name culling mode
GX_CULL_NONE No culling.
GX_CULL_FRONT Front-facing polygons are culled
GX_CULL_BACK Back-facing polygons are culled
GX_CULL_ALL All polygons are culled

Return Values

None.

Description

This function enables or disables culling of geometry based on its orientation to the viewer. Primitives in which the vertex order is clockwise to the viewer are considered front-facing.

The GXInit function sets the mode to GX_CULL_BACK.

See Also

GXSetCoPlanar

Revision History

2006/03/01 Initial version.


CONFIDENTIAL