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>SubmitView</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/SceneUpdater/Overview.html">SceneUpdater</a>::SubmitView</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14virtual void SubmitView( 15 <a href="../../../nw/gfx/BasicRenderQueue/Overview.html">RenderQueue</a> * renderQueue, 16 <a href="../../../nw/gfx/SceneContext/Overview.html">SceneContext</a> * sceneContext, 17 const <a href="../../../nw/gfx/Camera/Overview.html">Camera</a> & camera, 18 <span>u8</span> layerId, 19 <span>u8</span> particleLayerId, 20 <a href="../../../nw/gfx/ISceneUpdater/RenderSortMode.html">RenderSortMode</a> renderSortMode = ALL_MESH_BASE_SORT 21); 22</pre> 23 </div> 24 <h2>Arguments</h2> 25 <div class="section"> 26 <table class="arguments"> 27 <thead> 28 <tr> 29 <td width="15" /> 30 <th>Name</th> 31 <td>Description</td> 32 </tr> 33 </thead> 34 <tr> 35 <td>in</td> 36 <th><CODE>renderQueue</CODE></th> 37 <td>Queue where the elements that make up the render targets are collected.</td> 38 </tr> 39 <tr> 40 <td>in</td> 41 <th><CODE>sceneContext</CODE></th> 42 <td>Scene context.</td> 43 </tr> 44 <tr> 45 <td>in</td> 46 <th>camera</th> 47 <td>Camera.</td> 48 </tr> 49 <tr> 50 <td>in</td> 51 <th><CODE>layerId</CODE></th> 52 <td>ID that is given highest priority when sorting render elements. This is used to control rendering of layers and billboarding.</td> 53 </tr> 54 <tr> 55 <td>in</td> 56 <th><CODE>particleLayerId</CODE></th> 57 <td><CODE>layerId</CODE> for rendering particles.</td> 58 </tr> 59 <tr> 60 <td>in</td> 61 <th>renderSortMode</th> 62 <td>The render sort mode.</td> 63 </tr> </table> 64 </div> 65 <h2>Return Values</h2> 66 <div class="section"> 67 None. 68 </div> 69 <h2>Description</h2> 70 <div class="section"> 71 <p>Updates a scene based on the camera's visual range, and builds the render queue.</p><p><CODE>SubmitView</CODE> function for rendering particles in a separate layer.</p></div> 72 <hr><p>CONFIDENTIAL</p></body> 73</html> 74