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 - VertexBuffer Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16<p>This sample demonstrates how to specify the region where a vertex buffer object is allocated.</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_1539_0.PNG"></p>
44
45<p>The following log is also displayed in debug output.</p>
46    <pre class="code">
47Allocate vertex buffer at main memory with COPY.
48  GL_ARRAY_BUFFER | NN_GX_MEM_FCRAM | GL_COPY_FCRAM_DMP
49  GL_ELEMENT_ARRAY_BUFFER | NN_GX_MEM_FCRAM | GL_COPY_FCRAM_DMP
50Update vertex color to RED-&gt;GREEN-&gt;BLUE.</pre>
51
52
53</div>
54
55<h2>Revision History</h2>
56
57<div class="section">
58    <dl class="history">
59        <dt>2011/02/02</dt>
60<dd>Initial version.</dd>
61    </dl>
62</div>
63
64
65<hr><p>CONFIDENTIAL</p></body>
66</html>
67