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>GXSetCopyClear</title> 10</head> 11 12<body> 13 14<h1 align="left">GXSetCopyClear</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><PRE><CODE>#include <revolution/gx.h></CODE></PRE> 21 </dd> 22<dd><pre>void GXSetCopyClear( 23<a href="../Structures/GXColor.html">GXColor</a> clear_clr, 24u32 clear_z);</pre> 25 </dd> 26</dl> 27<h2>Arguments</h2> 28<TABLE border="1" cellpadding="3" cellspacing="0.1"> 29 <tr> 30<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>clear_clr</font></strong></em></TD> 31<TD width="520">RGBA color (8-bit per component). The value will be converted to the correct format during the clear operation.<br></TD> 32 </tr> 33 <tr> 34<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>clear_z</font></strong></em></TD> 35<TD width="520">24-bit Z value. The value will be converted to the correct format during the clear operation.<br>Use the constant <code>GX_MAX_Z24</code> to specify the maximum depth value. </TD> 36 </tr> 37</TABLE> 38<h2>Return Values</h2> 39 40<p>None.</p> 41<h2>Description</h2> 42 43<P>Sets the color and Z values to clear the embedded frame buffer to during copy operations. These values are used during both display copies and texture copies. 44</P> 45 46 47 48 49<h2>See Also</h2> 50 51<p><a href="GXCopyDisp.html">GXCopyDisp</a><br> <a href="GXCopyTex.html">GXCopyTex</a></p> 52<H2>Revision History</H2> 53<P>03/01/2006 Initial version.</P></body> 54</html>