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>BuildSceneObject</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>::BuildSceneObject</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nw/gfx/SceneObject/Overview.html">SceneObject</a> * BuildSceneObject( 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 isRecursive, 22 bool isCalculation 23) const; 24</pre> 25 </div> 26 <h2>Arguments</h2> 27 <div class="section"> 28 <table class="arguments"> 29 <thead> 30 <tr> 31 <td width="15" /> 32 <th>Name</th> 33 <td>Description</td> 34 </tr> 35 </thead> 36 <tr> 37 <td /> 38 <th>pSize</th> 39 <td>Pointer to <CODE>MemorySizeCalculator</CODE> for getting the memory size.</td> 40 </tr> 41 <tr> 42 <td /> 43 <th>pDeviceSize</th> 44 <td>Pointer to <CODE>MemorySizeCalculator</CODE> for getting the device memory size.</td> 45 </tr> 46 <tr> 47 <td>in</td> 48 <th>parent</th> 49 <td>The <STRONG>SceneNode </STRONG>that will be the parent.</td> 50 </tr> 51 <tr> 52 <td>in</td> 53 <th>resource</th> 54 <td>Resource.</td> 55 </tr> 56 <tr> 57 <td>in</td> 58 <th>allocator</th> 59 <td>Allocator.</td> 60 </tr> 61 <tr> 62 <td>in</td> 63 <th><CODE>deviceAllocator</CODE></th> 64 <td>Allocator for device memory.</td> 65 </tr> 66 <tr> 67 <td>in</td> 68 <th>isRecursive</th> 69 <td>Flag for whether or not to recursively create child hierarchy.</td> 70 </tr> 71 <tr> 72 <td>in</td> 73 <th>isCalculation</th> 74 <td>Flag that determines whether to calculate the memory size.</td> 75 </tr> </table> 76 </div> 77 <h2>Return Values</h2> 78 <div class="section">Returns the object that was created. </div> 79 <h2>Description</h2> 80 <div class="section"> 81 <p>Creates a scene object.</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> 82 <hr><p>CONFIDENTIAL</p></body> 83</html>