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>GXSetAlphaUpdate</title> 10</head> 11 12<body> 13 14<h1 align="left">GXSetAlphaUpdate</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXSetAlphaUpdate( <a href="../Enumerated_Types/GXBool.html">GXBool</a> update_enable ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>update_enable</TH> 27<TD>Enables alpha buffer updates when <code>GX_TRUE</code>.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>None.</p> 33 34<H2>Description</H2> 35<P>Enables or disables alpha buffer updates of the embedded frame buffer (EFB). This function also affects whether the alpha buffer is cleared during copy operations. For more information, see the <A href="../Framebuffer/GXCopyDisp.html"><CODE>GXCopyDisp</CODE></A> and <A href="../Framebuffer/GXCopyTex.html"><CODE>GXCopyTex</CODE></A> functions. The only EFB pixel format that supports an alpha buffer is <CODE>GX_PF_RGBA6_Z24</CODE>. For more information, see the <A href="GXSetPixelFmt.html"><CODE>GXSetPixelFmt</CODE></A> function. The alpha <SPAN class="argument">update_enable</SPAN> permission is ignored for non-alpha pixel formats.</P> 36 37<h2>See Also</h2> 38<P> 39<A href="GXGetAlphaUpdate.html"><CODE>GXGetAlphaUpdate</CODE></A><BR> <A href="GXSetColorUpdate.html"><CODE>GXSetColorUpdate</CODE></A><BR> <A href="GXSetPixelFmt.html"><CODE>GXSetPixelFmt</CODE></A> 40</P> 41 42<H2>Revision History</H2> 43<P> 442009/01/05 Added the <CODE>GXGetAlphaUpdate</CODE> function under <B>See Also</B>.<br>2006/03/01 Initial version. 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>