1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>GXTexModeSync</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXTexModeSync</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXTexModeSync( void );
18</pre></dd></dl>
19
20<H2>Arguments</H2>
21<P>None.</P>
22
23<H2>Return Values</H2>
24<P>None.</P>
25
26<H2>Description</H2>
27<P>This function will insert a synchronization command into the graphics FIFO.&nbsp;When the graphics processor receives this command, it will allow the texture pipeline to flush before continuing.&nbsp;This command is necessary when changing regions of texture memory usage from preloaded or TLUT to cached areas.&nbsp;It makes sure that the texture pipeline is finished with that area of the texture memory prior to changing its usage.&nbsp;<code>GXTexModeSync</code> should be called prior to rendering any primitives that use the texture memory region in its new mode.&nbsp;This command does not need to be called when change the texture memory region from cache to preload (or TLUT). This is because the command that reads in the data and the region automatically performs the necessary synchronization.</P>
28
29<H2>See Also</H2>
30<P class="reference">
31<A href="../Texture/GXInitTexCacheRegion.html">GXInitTexCacheRegion</A>,
32<A href="../Texture/GXInitTexPreLoadRegion.html">GXInitTexPreLoadRegion</A>,
33<A href="../Texture/GXInitTlutRegion.html">GXInitTlutRegion</A>,
34<A href="GXPixModeSync.html">GXPixModeSync</A>
35</P>
36
37<H2>Revision History</H2>
38<P>
392006/03/01 Initial version.<br>
40</P>
41
42<hr><p>CONFIDENTIAL</p></body>
43</HTML>