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>C Specification</h2> 17 18<dl> 19<dd><pre><CODE>#include <revolution/gx.h></CODE></pre> 20 </dd> 21<dd><pre><CODE>void GXSetClipMode( <a href="../Enumerated_Types/GXClipMode.html">GXClipMode</a> mode );</CODE></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26<TABLE border="1" cellpadding="3" cellspacing="0.1"> 27 <tr> 28<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>mode</font></strong></em></TD> 29<TD width="520">Clip mode. Accepted values are: <CODE>GX_CLIP_ENABLE</CODE>, <CODE>GX_CLIP_DISABLE</CODE></TD> 30 </tr> 31</TABLE> 32<h2>Return Values</h2> 33 34<P>None.</P> 35<H2>Description</H2> 36<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> 37<P><a href="../Management/GXInit.html"><code>GXInit</code></a> sets the mode to <code>GX_CLIP_ENABLE</code>.</P> 38<h2>See Also</h2> 39<H2>Revision History</H2> 40<P>03/01/2006 Initial version.</P> 41</BODY> 42</HTML> 43