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>GXInvalidateTexRegion</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXInvalidateTexRegion</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gx.h> 16 17void GXInvalidateTexRegion( const <A href="../Structures/GXTexRegion.html">GXTexRegion</A>* region ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>region</TH> 25<TD>Pointer to a <a href="../Structures/GXTexRegion.html"><code>GXTexRegion</code></a> object.</TD> 26 </TR> 27 </TBODY> 28</TABLE> 29 30<H2>Return Values</H2> 31<P>None.</P> 32 33<H2>Description</H2> 34<P>This function invalidates the texture cache in texture memory (TMEM) specified by <SPAN class="argument">region</SPAN>. More accurately, this function invalidates the cache tags, forcing the texture cache to load new data. Call this function if textures in main memory will be manipulated in the CPU, or if loading new textures to a main memory region that may have been cached. Preloaded textures (see the <A href="GXPreLoadEntireTexture.html"><CODE>GXPreLoadEntireTexture</CODE></A> function) do not use tags.</P> 35<P>The texture hardware can disable four tags per each graphics processor (GP) clock cycle. Each tag represents either a superline of TMEM ("superlines" are cache-internal units), or 512 bytes. Therefore, it takes 16 GP clock cycles to disable a 32-KB texture region.</P> 36 37<H2>See Also</H2> 38<P class="reference"> 39<A href="GXInvalidateTexAll.html">GXInvalidateTexAll</A>, 40<A href="GXInitTexCacheRegion.html">GXInitTexCacheRegion</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>