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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXPokeDither( <a href="../Enumerated_Types/GXBool.html">GXBool</a> dither );
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH>dither</TH>
27<TD>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>. Otherwise, dithering is disabled.</TD>
28  </tr>
29</TABLE>
30
31<h2>Return Values</h2>
32<p>None.</p>
33
34<H2>Description</H2>
35<P><SPAN class="argument">dither</SPAN> is only enabled when the pixel format is <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 the <code>GXPoke*</code> functions.&nbsp;The <code>GXPoke*</code> functions allow the CPU to write directly to the EFB.</P>
36<P>A 4x4 Bayer matrix is used for dithering.</P>
37
38<h2>See Also</h2>
39<P class="reference">
40<A href="GXPokeARGB.html">GXPokeARGB</A>
41</P>
42
43<H2>Revision History</H2>
44<P>
452006/03/01 Initial version.<br>
46</P>
47
48<hr><p>CONFIDENTIAL</p></body>
49</HTML>