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<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/gx.h></CODE></PRE> 16 <DD> 17<PRE><CODE>void GXTexModeSync( void );</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>None.</P> 23<H2>Description</H2> 24<P>This function will insert a synchronization command into the graphics FIFO. When the Graphics Processor receives this command, it will allow the texture pipeline to flush before continuing. This command is necessary when changing regions of texture memory usage from preloaded or TLUT to cached areas. It makes sure that the texture pipeline is finished with that area of the texture memory prior to changing its usage. <code>GXTexModeSync</code> should be called prior to drawing any primitives that use the texture memory region in its new mode. This command does not need to be called when changing the texture memory region from cache to preload or TLUT. This is because the command that reads the data and region automatically performs the necessary synchronization.</P> 25 26 27<H2>See Also</H2> 28<P><A href="../Texture/GXInitTexCacheRegion.html"><CODE>GXInitTexCacheRegion</CODE></A><BR> <A href="../Texture/GXInitTexPreLoadRegion.html"><CODE>GXInitTexPreLoadRegion</CODE></A><BR> <A href="../Texture/GXInitTlutRegion.html"><CODE>GXInitTlutRegion</CODE></A><BR> <A href="GXPixModeSync.html"><CODE>GXPixModeSync</CODE></A></P> 29<H2>Revision History</H2> 30<P>2006/03/01 Initial version.</P><hr> 31<P>CONFIDENTIAL</p> 32</BODY> 33</HTML>