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>gdResult</title>
8  </head>
9  <body>
10<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>::gdResult</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum gdResult;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th>GD_RESULT_SUCCESS</th>
28<td>Represents success.</td>
29        </tr>
30        <tr>
31<th>GD_RESULT_INVALID_PARAMETER</th>
32<td>Parameter is not correct.</td>
33        </tr>
34        <tr>
35<th>GD_RESULT_NULL_PARAMETER</th>
36<td><CODE>NULL</CODE> was specified for the parameter.</td>
37        </tr>
38        <tr>
39<th>GD_RESULT_OUT_OF_RANGE</th>
40<td>Parameter is out of range.</td>
41        </tr>
42        <tr>
43<th>GD_RESULT_OUT_OF_MEMORY</th>
44<td>Insufficient FCRAM memory region.</td>
45        </tr>
46        <tr>
47<th>GD_RESULT_EXT_MEMORY_ALLOCATION_FAILED</th>
48<td>Insufficient VRAM memory region.</td>
49        </tr>
50        <tr>
51<th>GD_RESULT_INVALID_MEMORY_REGION</th>
52<td>Memory region is not correct.</td>
53        </tr>
54        <tr>
55<th>GD_RESULT_INVALID_FUNCTION_CALL</th>
56<td>Incorrect function call.</td>
57        </tr>
58        <tr>
59<th>GD_RESULT_ALREADY_RELEASED</th>
60          <td>
61        </td>
62        </tr>
63        <tr>
64<th>GD_RESULT_INPUTLAYOUT_INVALID_STREAM_SLOTS</th>
65<td>The input layout stream slots are invalid.</td>
66        </tr>
67        <tr>
68<th>GD_RESULT_TEXTURE2D_INVALID_RESOLUTION</th>
69<td>Invalid Texture2D resolution.</td>
70        </tr>
71        <tr>
72<th>GD_RESULT_TEXTURE2D_INVALID_SUBREGION_RESOLUTION</th>
73<td>Region is not correct.</td>
74        </tr>
75        <tr>
76<th>GD_RESULT_TEXTURE2D_INVALID_FORMAT</th>
77<td>Invalid Texture2D format.</td>
78        </tr>
79        <tr>
80<th>GD_RESULT_TEXTURE2D_INVALID_MEMORY_LAYOUT</th>
81<td>Memory layout is not correct.</td>
82        </tr>
83        <tr>
84<th>GD_RESULT_TEXTURE2D_INVALID_MEMORY_LOCATION</th>
85<td>Memory location is not correct.</td>
86        </tr>
87        <tr>
88<th>GD_RESULT_TEXTURE2D_INVALID_MIPLEVEL_INDEX</th>
89<td>Invalid Texture2D mipmap level index.</td>
90        </tr>
91        <tr>
92<th>GD_RESULT_TEXTURE2D_INVALID_MIPLEVEL_INDEX_FOR_MIPMAP_AUTOGENERATION</th>
93<td>Invalid auto-generated Texture2D mipmap level index.</td>
94        </tr>
95        <tr>
96<th>GD_RESULT_TEXTURE2D_INVALID_FORMAT_FOR_CREATING_RENDER_TARGET</th>
97<td>Invalid Texture2D format for creating the render target.</td>
98        </tr>
99        <tr>
100<th>GD_RESULT_TEXTURE2D_INVALID_FORMAT_FOR_CREATING_DEPTH_STENCIL_TARGET</th>
101<td>Invalid Texture2D format for creating the depth stencil target.</td>
102        </tr>
103        <tr>
104<th>GD_RESULT_DIFFERENT_RENDER_TARGET_AND_DEPTH_STENCIL_TARGET_RESOLUTION</th>
105<td>Render target and depth stencil target are not compatible.</td>
106        </tr>
107        <tr>
108<th>GD_RESULT_TEXTURE2D_INVALID_TEXTURE_UNIT_ID</th>
109<td>Texture unit ID is not correct.</td>
110        </tr>
111        <tr>
112<th>GD_RESULT_TEXTURE2D_INVALID_OFFSET</th>
113<td>The texture offset is invalid.</td>
114        </tr>
115        <tr>
116<th>GD_RESULT_RESOURCE_ALREADY_MAPPED</th>
117<td>The resource has already been mapped.</td>
118        </tr>
119        <tr>
120<th>GD_RESULT_RESOURCE_WAS_NOT_MAPPED</th>
121<td>The resource is not mapped.</td>
122        </tr>
123        <tr>
124<th>GD_RESULT_NO_TEXTURE_BOUND</th>
125<td>A texture unit was specified, but no texture was set.</td>
126        </tr>
127        <tr>
128<th>GD_RESULT_NO_TEXTURE_COORDINATES</th>
129<td>A texture unit was specified, but no texture coordinates were set.</td>
130        </tr>
131        <tr>
132<th>GD_RESULT_INVALID_SHADER_UNIFORM_NAME</th>
133<td>Shader uniform name is not correct.</td>
134        </tr>
135        <tr>
136<th>GD_RESULT_INVALID_SHADER_UNIFORM</th>
137<td>Shader uniform is not correct.</td>
138        </tr>
139        <tr>
140<th>GD_RESULT_INVALID_SHADER_SIGNATURE</th>
141<td>Shader signature is not correct.</td>
142        </tr>
143        <tr>
144<th>GD_RESULT_INVALID_SHADER_OPERATION</th>
145<td>Shader is not correct.</td>
146        </tr>
147        <tr>
148<th>GD_RESULT_GEOMETRY_SHADER_INCOMPATIBLE_WITH_IMMEDIATE_DRAW</th>
149<td>Currently, the geometry shader cannot use immediate draw.</td>
150        </tr>
151        <tr>
152<th>GD_RESULT_SYSTEM_NO_CMD_LIST_BIND</th>
153<td>Command list is not bound.</td>
154        </tr>
155        <tr>
156<th>GD_RESULT_SYSTEM_INVALID_CMD_LIST_BIND</th>
157<td>Bound command list is not correct.</td>
158        </tr>
159        <tr>
160<th>GD_RESULT_SYSTEM_RECEIVE_ERROR_FROM_GLGETERROR</th>
161<td>A <CODE>GetError</CODE> error occurred in the function. (The error might have occurred because of a previous <CODE>nngx</CODE> or <CODE>gd</CODE> function call.)</td>
162        </tr>
163        <tr>
164<th>GD_RESULT_SYSTEM_NO_PACKET_TO_RECORD</th>
165<td>There is no data to save.</td>
166        </tr>
167        <tr>
168<th>GD_RESULT_SYSTEM_NO_PACKET_RECORDED</th>
169<td>The save process has not started.</td>
170        </tr>
171        <tr>
172<th>GD_RESULT_SYSTEM_A_PACKET_IS_ALREADY_BEING_RECORDED</th>
173<td>The save process has already started.</td>
174        </tr>
175        <tr>
176<th>GD_RESULT_SYSTEM_INVALID_PACKET_ID</th>
177<td>Packet ID is not correct.</td>
178        </tr>
179        <tr>
180<th>GD_RESULT_SYSTEM_REQUEST_LIST_INSERTION_INCOMPATIBLE_WITH_JUMP</th>
181<td>All requested insertions in the request list are incompatible with jump recording.</td>
182        </tr>
183        <tr>
184<th>GD_RESULT_LAST</th>
185          <td>
186        </td>
187        </tr>
188        <tr>
189<th>GD_RESULT_RESERVED_MAX_U32</th>
190          <td>
191        </td>
192        </tr>
193      </table> </div>
194<h2>Description</h2>
195    <div class="section">
196<p>Different return values/error codes are returned from <CODE>gd</CODE> functions.</p><!-- write here --></div>
197<h2>Revision History</h2>
198    <div class="section">
199      <dl class="history">
200        <dt>2011/02/17</dt>
201<dd>Initial version.<br />
202        </dd>
203      </dl>
204    </div>
205  <hr><p>CONFIDENTIAL</p></body>
206</html>