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>BuildChildren</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/SceneBuilder/Overview.html">SceneBuilder</a>::BuildChildren</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void BuildChildren( 15 <a href="../../../nw/os/MemorySizeCalculator/Overview.html">os::MemorySizeCalculator</a> * pSize, 16 <a href="../../../nw/os/MemorySizeCalculator/Overview.html">os::MemorySizeCalculator</a> * pDeviceSize, 17 <a href="../../../nw/gfx/SceneNode/Overview.html">SceneNode</a> * parent, 18 ResSceneObject resource, 19 <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator, 20 <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * deviceAllocator, 21 bool isCalculation 22) const; 23</pre> 24 </div> 25 <h2>Arguments</h2> 26 <div class="section"> 27 <table class="arguments"> 28 <thead> 29 <tr> 30 <td width="15" /> 31 <th>Name</th> 32 <td>Description</td> 33 </tr> 34 </thead> 35 <tr> 36 <td /> 37 <th>pSize</th> 38 <td>Pointer to <CODE>MemorySizeCalculator</CODE> for getting the memory size.</td> 39 </tr> 40 <tr> 41 <td /> 42 <th>pDeviceSize</th> 43 <td>Pointer to <CODE>MemorySizeCalculator</CODE> for getting the device memory size.</td> 44 </tr> 45 <tr> 46 <td>in</td> 47 <th>parent</th> 48 <td>Parent scene node.</td> 49 </tr> 50 <tr> 51 <td>in</td> 52 <th>resource</th> 53 <td>Resource.</td> 54 </tr> 55 <tr> 56 <td>in</td> 57 <th>allocator</th> 58 <td>Allocator.</td> 59 </tr> 60 <tr> 61 <td>in</td> 62 <th><CODE>deviceAllocator</CODE></th> 63 <td>Allocator for device memory.</td> 64 </tr> 65 <tr> 66 <td>in</td> 67 <th>isCalculation</th> 68 <td>Flag that determines whether to calculate the memory size.</td> 69 </tr> </table> 70 </div> 71 <h2>Return Values</h2> 72 <div class="section"> 73 None. 74 </div> 75 <h2>Description</h2> 76 <div class="section"> 77 <p>Builds a node's child.</p><p>Specify <CODE>true</CODE> for the <SPAN class="argument">isCalculation</SPAN> argument to only calculate the required memory size, without generating any objects.</p></div> 78 <hr><p>CONFIDENTIAL</p></body> 79</html>