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>FlushDirtyModule</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::<a href="../../../../nn/gd/CTR/System/Overview.html">System</a>::FlushDirtyModule</CODE> Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14static void FlushDirtyModule( 15 <a href="../../../../nn_types/u32.html">u32</a> flag 16); 17</pre> 18 </div> 19<h2>Parameters</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>in</td> 31<th><CODE>flag</CODE></th> 32<td>Specifies the module for creating 3D commands. Each bit of the flag corresponds to a specified module (SystemModule enum table.) If <span>System::MODULE_ALL</span> is specified, all reconfigured module commands are created immediately.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36 <div class="section"> 37None. 38 </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>Creates a redraw status module command. This flag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html"><CODE>System::Module</CODE></a> <CODE>enum</CODE> members.</p><p>Usually, when a given parameter or state is in redraw status, the <CODE>gd</CODE> API creates the 3D commands required when the next drawing command is executed. However, if this API function is executed, 3D commands for modules in redraw status will be created immediately.</p><p> 42Although this function does not itself return errors, if an error occurs in the rendering process, the callback set by the <a href="../../../../nn/gd/CTR/System/SetCallbackFunctionError.html"><CODE>nn::gd::CTR::System::SetCallbackFunctionError</CODE></a> function is called. <br />The errors generated are as shown below. 43 44<table><tr><th>Value</th></tr><tr><td><a href="../../../../nn/gd/CTR/ResultSystemGeometryShaderIncompatibleWithImmediateDraw/Overview.html"><CODE>nn::gd::CTR::ResultSystemGeometryShaderIncompatibleWithImmediateDraw</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultInvalidMemoryLayout/Overview.html"><CODE>nn::gd::CTR::ResultInvalidMemoryLayout</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultDifferentRenderTargetAndDepthStencilTargetResolution/Overview.html"><CODE>nn::gd::CTR::ResultDifferentRenderTargetAndDepthStencilTargetResolution</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultNoTextureBound/Overview.html"><CODE>nn::gd::CTR::ResultNoTextureBound</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultNoTextureCoordinates/Overview.html"><CODE>nn::gd::CTR::ResultNoTextureCoordinates</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultInvalidTextureUnitId/Overview.html"><CODE>nn::gd::CTR::ResultInvalidTextureUnitId</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultInvalidTextureFormat/Overview.html"><CODE>nn::gd::CTR::ResultInvalidTextureFormat</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultAlreadyReleased/Overview.html"><CODE>nn::gd::CTR::ResultAlreadyReleased</CODE></a></td></tr><tr><td><a href="../../../../nn/gd/CTR/ResultNullParameter/Overview.html"><CODE>nn::gd::CTR::ResultNullParameter</CODE></a></td></tr></table></p></div> 45<h2>Revision History</h2> 46 <div class="section"> 47 <dl class="history"> 48 <dt>2012/10/15</dt> 49<dd>Initial version.<br /> 50 </dd> 51 </dl> 52 </div> 53 <hr><p>CONFIDENTIAL</p></body> 54</html>