1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>SetupGX</title> 8 </head> 9 <body> 10 <h1><CODE>nw::font::CharWriter::SetupGX</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void SetupGX(); 15</pre> 16 </div> 17 <h2>Arguments</h2> 18 <div class="section"> 19 <p>None.</p> 20 </div> 21 <h2>Return Values</h2> 22 <div class="section"> 23 None. 24 </div> 25 <h2>Description</h2> 26 <div class="section"> 27 <p>Prepares to draw characters.</p><p>Sets the graphics engine for drawing characters and clears the internal texture load cache. This function must be called again if the font has changed to perform proper processes according to the set font.</p><p>Sets the following items for the graphics engine.</p><ul><li>Vertex attributes - Vertex buffer object</li><li>Active texture unit</li><li>Blending - Logical operations</li></ul><p>The following items are not set for character drawing, but the content of the settings does affect character drawing.</p><ul><li>Culling</li><li>Scissoring</li><li>Polygon offset</li><li>Early depth test</li><li>Depth test</li><li>Stencil test</li><li>Masking</li><li>Framebuffer object</li></ul></div> 28 <h2>See Also</h2> 29 <div class="section"> 30 <p class="reference"><span>nw::font::CharWriter::ResetTextureCache</span><br /> </p> 31 </div> 32 <h2>Revision History</h2> 33 <div class="section"> 34 <dl class="history"> 35 <dt>2010/02/19</dt> 36 <dd>Revised the items that are set and added items that are not set.<br /> 37 </dd> 38 <dt>2009/11/09</dt> 39 <dd>Initial version.<br /> 40 </dd> 41 </dl> 42 </div> 43 <hr><p>CONFIDENTIAL</p></body> 44</html>