1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GXSetCullMode</title> 10</head> 11 12<body> 13 14<h1 align="left">GXSetCullMode</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXSetCullMode( <a href="../Enumerated_Types/GXCullMode.html">GXCullMode</a> mode ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>mode</TH> 27<TD><A href="../Enumerated_Types/GXCullMode.html">Culling mode</A>. Accepted values are:<BR> 28 <TABLE class="arguments" border="1" > 29 <tr> 30<TD bgcolor="#C0C0C0">Name</TD> 31<TD bgcolor="#C0C0C0">culling mode</TD> 32 </tr> 33 <tr> 34<TH>GX_CULL_NONE</TH> 35<TD>No culling.</TD> 36 </tr> 37 <tr> 38<TH>GX_CULL_FRONT</TH> 39<TD>Front-facing polygons are culled</TD> 40 </tr> 41 <tr> 42<TH>GX_CULL_BACK</TH> 43<TD>Back-facing polygons are culled</TD> 44 </tr> 45 <tr> 46<TH>GX_CULL_ALL</TH> 47<TD>All polygons are culled</TD> 48 </tr> 49 </TABLE> 50 </TD> 51 </tr> 52</TABLE> 53 54<h2>Return Values</h2> 55<p>None.</p> 56 57<H2>Description</H2> 58<P>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.</P> 59<P>The <A href="../Management/GXInit.html"><CODE>GXInit</CODE></A> function sets the mode to <CODE>GX_CULL_BACK</CODE>.</P> 60 61<h2>See Also</h2> 62<p class="reference"> 63<a href="GXSetCoPlanar.html">GXSetCoPlanar</a> 64</p> 65 66<H2>Revision History</H2> 67<P> 682006/03/01 Initial version.<br> 69</P> 70 71<hr><p>CONFIDENTIAL</p></body> 72</HTML>