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>GXPokeDither</title>
10</head>
11
12<body>
13
14<h1 align="left">GXPokeDither</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE></dd>
21<dd><pre>void GXPokeDither( <a href="../Enumerated_Types/GXBool.html">GXBool</a> dither );</pre></dd>
22</dl><h2>Arguments</h2>
23<TABLE border="1" cellpadding="3" cellspacing="0.1">
24  <tr>
25<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong>dither</strong></em></TD>
26<TD width="520">Dithering is enabled if <code>GX_TRUE</code> and the pixel format is <code>GX_PF_RGBA6_Z24</code> or <code>GX_PF_RGB565_Z16</code>.&nbsp;Otherwise, dithering is disabled.</TD>
27    </tr>
28</TABLE>
29<h2>Return Values</h2>
30
31<p>None.</p>
32<H2>Description</H2>
33<P><CODE><EM><STRONG>dither</STRONG></EM></CODE> is enabled only during pixel formatting for <CODE>GX_PF_RGBA6_Z24</CODE> or <CODE>GX_PF_RGB565_Z16</CODE>. (See also the <A href="../PixelProc/GXSetPixelFmt.html"><CODE>GXSetPixelFmt</CODE></A> function.) This function enables dithering when writing the embedded frame buffer (EFB) using <code>GXPoke</code>* functions.&nbsp;The <code>GXPoke</code>* functions allow the CPU to write directly to the EFB.</P>
34<P>A 4x4 Bayer matrix is used for dithering.</P>
35
36
37
38
39<h2>See Also</h2>
40<P><A href="GXPokeARGB.html"><CODE>GXPokeARGB</CODE></A></P>
41<H2>Revision History</H2>
42<p>2006/03/01 Initial version.</P>
43<hr>
44<P>CONFIDENTIAL</p>
45</BODY>
46</HTML>
47