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>VIGetNextField</title> 10</head> 11 12<body> 13 14<h1 align="left">VIGetNextField</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/vi.h> 19 20u32 VIGetNextField(void); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>Returns <CODE>VI_FIELD_ABOVE</CODE> if the next field is 'above' and <CODE>VI_FIELD_BELOW</CODE> if the next field is 'below'.</p> 28 29<h2>Description</h2> 30<p>This function returns whether the next field is 'above' or 'below'. This function is designed for field-rendering, so useful information can only be obtained if the TV mode is interlaced, and the XFB mode is SF (single field). The 'above' field is the content the XFB is going to draw on the even-numbered lines (0, 2, 4, and so on) on the screen. The 'below' field is the content that will be drawn on the odd-numbered lines (1, 3, 5, and so on). The return value of this function should directly be passed to <a href="../gx/Transform/GXSetViewportJitter.html"><code>GXSetViewportJitter</code></a>.</p> 31 32<h2>See Also</h2> 33<P class="reference"> 34<a href="VIInit.html">VIInit</a>, 35<a href="../gx/Transform/GXSetViewportJitter.html">GXSetViewportJitter</a> 36</p> 37 38<h2>Revision History</h2> 39<P> 402006/03/01 Initial version.<br> 41</p> 42 43<hr><p>CONFIDENTIAL</p></body> 44</html>