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>GXSetFieldMask</title>
10</head>
11
12<body>
13
14<h1 align="left">GXSetFieldMask</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
21  </dd>
22<dd><pre>void GXSetFieldMask( <a href="../Enumerated_Types/GXBool.html">GXBool</a> odd_mask, <a href="../Enumerated_Types/GXBool.html">GXBool</a> even_mask );</pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28  <tr>
29<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>odd_mask</font></strong></em></TD>
30<TD width="520">Writes pixels with odd Y coordinates.</TD>
31    </tr>
32  <tr>
33<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>even_mask</font></strong></em></TD>
34<TD width="520">Writes pixels with even Y coordinates.</TD>
35    </tr>
36</TABLE>
37<h2>Return Values</h2>
38
39<p>None.</p>
40<H2>Description</H2>
41<P>This function is used when rendering fields to an interlaced embedded frame buffer (EFB).&nbsp;It selectively enables and disables interlacing of the frame buffer image.&nbsp;When the mask is <code>GX_FALSE</code>, the field will not be written to the EFB.&nbsp;However, the other field will be computed.&nbsp;In other words, it will cost the fill rate price of a frame to produce a field.&nbsp;The recommended method for field rendering does not use field masking. For more information, see <a href="../Framebuffer/RenderMode.html">Render Modes</a>.</P>
42<P><a href="../Management/GXInit.html"><code>GXInit</code></a> enables rendering for both fields.</P>
43
44
45
46
47<h2>See Also</h2>
48<P><A href="GXSetFieldMode.html"><CODE>GXSetFieldMode</CODE></A></P>
49<H2>Revision History</H2>
50<P>03/01/2006 Initial version.</P>
51</BODY>
52</HTML>