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    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::gd::CTR::Memory</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::Memory</CODE> Class</h1>
52<h2>Syntax</h2>
53    <div class="section">
54<pre class="definition">class Memory</pre>
55    </div>
56<h2>Description</h2>
57    <div class="section">
58<p>Memory operations are used when performing tasks such as copy memory (layout conversion block image &lt;-&gt; linear image, filtering) and fill memory. </p><p><anchor id="classnn_1_1gd_1_1_c_t_r_1_1_memory_1memoryOperation" />The memory function internally calls the <CODE>nngx</CODE> function. The result of these functions can be obtained after command execution completes because a request command is added to the command list. </p><!-- write here --></div>
59    <a name="class" id="class">
60<h2>Classes</h2>
61      <div class="section">
62        <table class="members">
63          <tr>
64            <th>
65<a href="../../../../nn/gd/CTR/Memory/Rect/Overview.html">nn::gd::CTR::Memory::Rect</a>
66            </th>
67<td>2D memory region.</td>
68          </tr> </table>
69      </div>
70    </a> <a name="enum" id="enum">
71<h2>Enumerated Types</h2>
72      <div class="section">
73        <table class="members">
74          <tr>
75            <td width="100"> </td>
76            <th>
77<a href="../../../../nn/gd/CTR/Memory/MemoryLocation.html">MemoryLocation</a>
78            </th>
79<td>This is a memory type <CODE>enum</CODE> value. </td>
80          </tr>
81          <tr>
82            <td width="100"> </td>
83            <th>
84<a href="../../../../nn/gd/CTR/Memory/MemoryLayout.html">MemoryLayout</a>
85            </th>
86<td>Memory layout definition. </td>
87          </tr>
88          <tr>
89            <td width="100"> </td>
90            <th>
91<a href="../../../../nn/gd/CTR/Memory/DownScalingMode.html">DownScalingMode</a>
92            </th>
93<td>This is an anti-aliasing filter mode <CODE>enum</CODE> value. </td>
94          </tr> </table>
95      </div>
96    </a> <a name="function" id="function">
97<h2>Member Functions</h2>
98      <div class="section">
99        <table class="members">
100          <tr>
101            <td width="100">
102<span class="static_style" title="static">S</span> </td>
103            <th>
104<a href="../../../../nn/gd/CTR/Memory/ClearTexture2DResource.html">ClearTexture2DResource</a>
105            </th>
106<td>Clears <CODE>Texture2DResource</CODE> resources using the color specified in the argument <SPAN class="Argument">Components</SPAN>. </td>
107          </tr>
108          <tr>
109            <td width="100">
110<span class="static_style" title="static">S</span> </td>
111            <th>
112<a href="../../../../nn/gd/CTR/Memory/ClearTargets.html">ClearTargets</a>
113            </th>
114<td>Adds a command for clearing the specified target memory. </td>
115          </tr>
116          <tr>
117            <td width="100">
118<span class="static_style" title="static">S</span> </td>
119            <th>
120<a href="../../../../nn/gd/CTR/Memory/CopyTextureSubResource.html">CopyTextureSubResource</a>
121            </th>
122<td>Adds a command to the current command list for transferring a source <CODE>Texture2DResource</CODE> texture to the destination <CODE>Texture2DResource</CODE> texture. </td>
123          </tr>
124          <tr>
125            <td width="100">
126<span class="static_style" title="static">S</span> </td>
127            <th>
128<a href="../../../../nn/gd/CTR/Memory/CopyVertexBufferSubResource.html">CopyVertexBufferSubResource</a>
129            </th>
130<td>Copies data from the source vertex buffer to the destination vertex buffer. </td>
131          </tr>
132          <tr>
133            <td width="100">
134<span class="static_style" title="static">S</span> </td>
135            <th>
136<a href="../../../../nn/gd/CTR/Memory/CopyTexture2DResourceBlockToLinear.html">CopyTexture2DResourceBlockToLinear</a>
137            </th>
138<td>Adds a command for converting the source <CODE>Texture2DResource</CODE> resource from a block image to a linear image and transferring it to the destination <CODE>Texture2DResource</CODE>. </td>
139          </tr>
140          <tr>
141            <td width="100">
142<span class="static_style" title="static">S</span> </td>
143            <th>
144<a href="../../../../nn/gd/CTR/Memory/CopyTexture2DResourceLinearToBlock.html">CopyTexture2DResourceLinearToBlock</a>
145            </th>
146<td>Adds a command for converting the source <CODE>Texture2DResource</CODE> resource from a block image to a linear image and transferring it to the specified <CODE>Texture2DResource</CODE> to the current command list. </td>
147          </tr>
148          <tr>
149            <td width="100">
150<span class="static_style" title="static">S</span> </td>
151            <th>
152<a href="../../../../nn/gd/CTR/Memory/GenerateMipMaps.html">GenerateMipMaps</a>
153            </th>
154<td>Creates a <CODE>Texture2DResource</CODE> resource mipmap. </td>
155          </tr> </table>
156      </div>
157    </a>
158<h2>Revision History</h2>
159    <div class="section">
160      <dl class="history">
161        <dt>2011/02/15</dt>
162<dd>Initial version.<br />
163        </dd>
164      </dl>
165    </div>
166  <hr><p>CONFIDENTIAL</p></body>
167</html>
168