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>GXSetClipMode</title> 10</head> 11 12<body> 13 14<h1 align="left">GXSetClipMode</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXSetClipMode( <a href="../Enumerated_Types/GXClipMode.html">GXClipMode</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>Clip mode. Accepted values are: <CODE>GX_CLIP_ENABLE</CODE>, <CODE>GX_CLIP_DISABLE</CODE></TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<P>None.</P> 33 34<H2>Description</H2> 35<P>This function enables or disables clipping of geometry. This may help performance issues that occur when objects are far-clipped. However, any near-clipped objects will be rendered incorrectly.</P> 36<P>The <A href="../Management/GXInit.html"><CODE>GXInit</CODE></A> function sets the mode to <CODE>GX_CLIP_ENABLE</CODE>.</P> 37 38<h2>See Also</h2> 39<P>None.</P> 40 41<H2>Revision History</H2> 42<P> 432006/03/01 Initial version.<br> 44</P> 45 46<hr><p>CONFIDENTIAL</p></body> 47</HTML>