1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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>GXInvalidateVtxCache</title>
10</head>
11
12<body>
13
14<h1 align="left">GXInvalidateVtxCache</h1>
15
16<h2>C Specification</h2>
17
18<dl>
19<dd><pre><CODE>#include &lt;revolution/gx.h&gt;</CODE></pre></dd>
20<dd><pre><CODE>void GXInvalidateVtxCache( void );</CODE></pre></dd>
21</dl><h2>Arguments</h2>
22
23<p>None.</p>
24
25<h2>Return Values</h2>
26
27<p>None.</p>
28<H2>Description</H2>
29<P>This function is called by <a href="../Management/GXInit.html"><code>GXInit</code></a> and invalidates the vertex cache tags.&nbsp;Use this function whenever you relocate or modify data that is read by, or may be cached by, the vertex cache.&nbsp;The invalidation is very fast, taking only two graphics processor (GP) clock cycles to complete.</P>
30<P>The vertex cache is used to cache indexed attribute data.&nbsp;Any attribute that is set to <code>GX_INDEX8</code> or <code>GX_INDEX16</code> in the current vertex descriptor (see <a href="GXSetVtxDesc.html"><code>GXSetVtxDesc</code></a>) is indexed.&nbsp;Direct data bypasses the vertex cache.&nbsp;Direct data is any attribute that is set to <code>GX_DIRECT</code> in the current vertex descriptor.</P>
31
32<h2>See Also</h2>
33
34<p><a href="GXSetArray.html">GXSetArray</a><br> <a href="../Management/GXInit.html">GXInit</a><br> <a href="GXSetVtxDesc.html">GXSetVtxDesc</a></p>
35<H2>Revision History</H2>
36<P>03/01/2006 Initial version.</P>
37</BODY>
38</HTML>