1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 8</head> 9 10<body> 11<h1>gx - Api - CommandCacheVSUniformFrame Demo</h1> 12 13<h2>Description</h2> 14 15<div class="section"> 16<p>This sample demonstrates the command cache.<br />It manipulates vertex shader uniforms and caches each frame.</p> 17</div> 18 19<h2>Required Environment</h2> 20 21<div class="section"> 22 <p>None.</p> 23</div> 24 25<h2>How to Use</h2> 26 27<div class="section"> 28 <p>None.</p> 29</div> 30 31<h2>Notes</h2> 32 33<div class="section"> 34 <p>None.</p> 35</div> 36 37<h2>Execution Procedure</h2> 38 39<div class="section"> 40 <p>The following screen is displayed when you run the demo.</p> 41 42 <h4>Upper screen</h4> 43 <p><img src="Fig/image2010_1201_1403_0.PNG"></p> 44 45 <p>The following log is also displayed in debug output.</p> 46 <pre class="code"> 47 ParticleRadius = 0.400000 48 ParticleVerticesNum = 256 49 ParticleTrianglesNum = 512 50Command cache mode (COPY 3d command buffer) 51CommandCache : State = COMMAND_CACHE_END_SAVE 52 commandListId = 2 53 Copy 3d command buffer 54 bufferOffset = 0, bufferSize = 12320< 55 requestBeginId = 0, requestSize = 0 56 modelIndex = 0, totalModelNum = 50</pre> 57 58</div> 59 60<h2>Revision History</h2> 61 62<div class="section"> 63 <dl class="history"> 64 <dt>2011/02/02</dt> 65 <dd>Initial version.</dd> 66 </dl> 67</div> 68 69 70<hr><p>CONFIDENTIAL</p></body> 71</html> 72