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 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nn::gr::CTR</title> 51 </head> 52 <body> 53 <h1>nn::gr::CTR Namespace</h1> 54 <h2>Description</h2> 55 <div class="section"> 56 <p>The namespace of the CTR GPU register access API. <br />(This can also be written without the <CODE>::CTR</CODE> portion.)</p><!-- write here --></div> 57 <a name="class" id="class"> 58 <h2>Classes</h2> 59 <div class="section"> 60 <table class="members"> 61 <tr> 62 <th> 63 <a href="../../../nn/gr/CTR/BindSymbol/Overview.html">nn::gr::CTR::BindSymbol</a> 64 </th> 65 <td>Class for getting/setting information about each symbol.</td> 66 </tr> 67 <tr> 68 <th> 69 <a href="../../../nn/gr/CTR/BindSymbolVSInput/Overview.html">nn::gr::CTR::BindSymbolVSInput</a> 70 </th> 71 <td>Class for getting/setting information about input register symbols of the vertex shader.</td> 72 </tr> 73 <tr> 74 <th> 75 <a href="../../../nn/gr/CTR/BindSymbolVSFloat/Overview.html">nn::gr::CTR::BindSymbolVSFloat</a> 76 </th> 77 <td>Class for getting/setting information about floating point register symbols of the vertex shader.</td> 78 </tr> 79 <tr> 80 <th> 81 <a href="../../../nn/gr/CTR/BindSymbolVSInteger/Overview.html">nn::gr::CTR::BindSymbolVSInteger</a> 82 </th> 83 <td>Class for getting/setting information about integer register symbols.</td> 84 </tr> 85 <tr> 86 <th> 87 <a href="../../../nn/gr/CTR/BindSymbolVSBool/Overview.html">nn::gr::CTR::BindSymbolVSBool</a> 88 </th> 89 <td>Class for getting/setting information about boolean register symbols.</td> 90 </tr> 91 <tr> 92 <th> 93 <a href="../../../nn/gr/CTR/BindSymbolGSFloat/Overview.html">nn::gr::CTR::BindSymbolGSFloat</a> 94 </th> 95 <td>Class for getting/setting information about floating point register symbols of the geometry shader.</td> 96 </tr> 97 <tr> 98 <th> 99 <a href="../../../nn/gr/CTR/BindSymbolGSBool/Overview.html">nn::gr::CTR::BindSymbolGSBool</a> 100 </th> 101 <td>Class for getting/setting information about boolean register symbols.</td> 102 </tr> 103 <tr> 104 <th> 105 <a href="../../../nn/gr/CTR/Combiner/Overview.html">nn::gr::CTR::Combiner</a> 106 </th> 107 <td>Class for setting combiners.</td> 108 </tr> 109 <tr> 110 <th> 111 <a href="../../../nn/gr/CTR/Fog/Overview.html">nn::gr::CTR::Fog</a> 112 </th> 113 <td>Class for generating fog-related commands.</td> 114 </tr> 115 <tr> 116 <th> 117 <a href="../../../nn/gr/CTR/FragmentLight/Overview.html">nn::gr::CTR::FragmentLight</a> 118 </th> 119 <td>Class for setting fragment lighting.</td> 120 </tr> 121 <tr> 122 <th> 123 <a href="../../../nn/gr/CTR/LookUpTable/Overview.html">nn::gr::CTR::LookUpTable</a> 124 </th> 125 <td>Class for loading lookup tables.</td> 126 </tr> 127 <tr> 128 <th> 129 <a href="../../../nn/gr/CTR/RenderState/Overview.html">nn::gr::CTR::RenderState</a> 130 </th> 131 <td>Class for setting the render state.</td> 132 </tr> 133 <tr> 134 <th> 135 <a href="../../../nn/gr/CTR/Scissor/Overview.html">nn::gr::CTR::Scissor</a> 136 </th> 137 <td>Class for generating scissor-related commands. Unlike glScissor, the color buffer size of the target drawing must be given.</td> 138 </tr> 139 <tr> 140 <th> 141 <a href="../../../nn/gr/CTR/Shader/Overview.html">nn::gr::CTR::Shader</a> 142 </th> 143 <td>Class for setting the shader binary.</td> 144 </tr> 145 <tr> 146 <th> 147 <a href="../../../nn/gr/CTR/Texture/Overview.html">nn::gr::CTR::Texture</a> 148 </th> 149 <td>Class for setting textures.</td> 150 </tr> 151 <tr> 152 <th> 153 <a href="../../../nn/gr/CTR/Vertex/Overview.html">nn::gr::CTR::Vertex</a> 154 </th> 155 <td>Class for making vertex buffer object-related settings.</td> 156 </tr> 157 <tr> 158 <th> 159 <a href="../../../nn/gr/CTR/Viewport/Overview.html">nn::gr::CTR::Viewport</a> 160 </th> 161 <td>Class for generating viewport-related commands. First assign values to each x, y, width and height member, and generate a command using MakeCommand().</td> 162 </tr> 163 </table> 164 </div> 165 </a> <a name="typedef" id="typedef"> 166 <h2><CODE>typedef</CODE> Definitions</h2> 167 <div class="section"> 168 <table class="members"> 169 <tr> 170 <td width="100" /> 171 <th> 172 <a href="../../../nn/gr/CTR/PicaDataVertexArrayType.html">PicaDataVertexArrayType</a> 173 </th> 174 <td>Vertex stream data type. The type is PicaDataVertexAttrType.</td> 175 </tr> 176 <tr> 177 <td width="100" /> 178 <th> 179 <a href="../../../nn/gr/CTR/PicaDataLookUpTableType.html">PicaDataLookUpTableType</a> 180 </th> 181 <td>Lookup table type. The type is PicaDataFragLightSampler.</td> 182 </tr> 183 <tr> 184 <td width="100" /> 185 <th> 186 <a href="../../../nn/gr/CTR/PicaDataFragLightTexture.html">PicaDataFragLightTexture</a> 187 </th> 188 <td>Type of fragment light texture. The type is PicaDataFragLightEnvTexture.</td> 189 </tr> 190 <tr> 191 <td width="100" /> 192 <th> 193 <a href="../../../nn/gr/CTR/PicaDataFragLightLayerConfig.html">PicaDataFragLightLayerConfig</a> 194 </th> 195 <td>Fragment light layer config type. Type is u8.</td> 196 </tr> 197 <tr> 198 <td width="100" /> 199 <th> 200 <a href="../../../nn/gr/CTR/PicaDataFragLightBump.html">PicaDataFragLightBump</a> 201 </th> 202 <td>Fragment light bump map type. The type is PicaDataFragLightEnvBump .</td> 203 </tr> 204 <tr> 205 <td width="100" /> 206 <th> 207 <a href="../../../nn/gr/CTR/PicaDataLutInput.html">PicaDataLutInput</a> 208 </th> 209 <td>Type representing <a href="../../../nn/gr/CTR/LookUpTable/Overview.html">LookUpTable</a> to be input. The type is PicaDataFragLightEnvLutInput.</td> 210 </tr> 211 <tr> 212 <td width="100" /> 213 <th> 214 <a href="../../../nn/gr/CTR/PicaDataLutScale.html">PicaDataLutScale</a> 215 </th> 216 <td>Type representing <a href="../../../nn/gr/CTR/LookUpTable/Overview.html">LookUpTable</a> scale. The type is PicaDataFragLightEnvLutScale.</td> 217 </tr> </table> 218 </div> 219 </a> <a name="function" id="function"> 220 <h2>Functions</h2> 221 <div class="section"> 222 <table class="members"> 223 <tr> 224 <td width="100"> </td> 225 <th> 226 <a href="../../../nn/gr/CTR/CopyMtx34WithHeader.html">CopyMtx34WithHeader</a> 227 </th> 228 <td>Inverts the wHzyx order of a 3x4 matrix and makes a copy. (including header)</td> 229 </tr> 230 <tr> 231 <td width="100"> </td> 232 <th> 233 <a href="../../../nn/gr/CTR/CopyMtx44WithHeader.html">CopyMtx44WithHeader</a> 234 </th> 235 <td>Inverts the wHzyx order of a 4x4 matrix and makes a copy. (including header)</td> 236 </tr> 237 <tr> 238 <td width="100"> </td> 239 <th> 240 <a href="../../../nn/gr/CTR/MakeUniformCommandVS.html">MakeUniformCommandVS</a> 241 </th> 242 <td>Generates a command for setting a 3x4 matrix to vertex shader uniform.</td> 243 </tr> 244 <tr> 245 <td width="100"> </td> 246 <th> 247 <a href="../../../nn/gr/CTR/MakeUniformCommandGS.html">MakeUniformCommandGS</a> 248 </th> 249 <td>Generates a command for setting a 3x4 matrix to geometry shader uniform.</td> 250 </tr> 251 <tr> 252 <td width="100"> </td> 253 <th> 254 <a href="../../../nn/gr/CTR/FloatToUnsignedByte.html">FloatToUnsignedByte</a> 255 </th> 256 <td>Converts float32 to u8.</td> 257 </tr> 258 <tr> 259 <td width="100"> </td> 260 <th> 261 <a href="../../../nn/gr/CTR/FloatToUnsignedByteNoClamp.html">FloatToUnsignedByteNoClamp</a> 262 </th> 263 <td>Converts float32 to u8 without clamping.</td> 264 </tr> 265 <tr> 266 <td width="100"> </td> 267 <th> 268 <a href="../../../nn/gr/CTR/Float32ToFloat16.html">Float32ToFloat16</a> 269 </th> 270 <td>Converts float32 to float16.</td> 271 </tr> 272 <tr> 273 <td width="100"> </td> 274 <th> 275 <a href="../../../nn/gr/CTR/Float32ToFloat24.html">Float32ToFloat24</a> 276 </th> 277 <td>Converts float32 to float24.</td> 278 </tr> 279 <tr> 280 <td width="100"> </td> 281 <th> 282 <a href="../../../nn/gr/CTR/Float32ToFloat20.html">Float32ToFloat20</a> 283 </th> 284 <td>Converts float32 to float20.</td> 285 </tr> 286 <tr> 287 <td width="100"> </td> 288 <th> 289 <a href="../../../nn/gr/CTR/Float32ToFloat31.html">Float32ToFloat31</a> 290 </th> 291 <td>Converts float32 to float31.</td> 292 </tr> 293 <tr> 294 <td width="100"> </td> 295 <th> 296 <a href="../../../nn/gr/CTR/Float32ToUnsignedFix12.html">Float32ToUnsignedFix12</a> 297 </th> 298 <td>Converts float32 to unsigned fixed12.</td> 299 </tr> 300 <tr> 301 <td width="100"> </td> 302 <th> 303 <a href="../../../nn/gr/CTR/Float32ToFix12.html">Float32ToFix12</a> 304 </th> 305 <td>Converts float32 to signed fixed12.</td> 306 </tr> 307 <tr> 308 <td width="100"> </td> 309 <th> 310 <a href="../../../nn/gr/CTR/Float32ToFix13Fraction8.html">Float32ToFix13Fraction8</a> 311 </th> 312 <td>Converts float32 to fixed13 (fraction 8).</td> 313 </tr> 314 <tr> 315 <td width="100"> </td> 316 <th> 317 <a href="../../../nn/gr/CTR/Float32ToFix13Fraction11.html">Float32ToFix13Fraction11</a> 318 </th> 319 <td>Converts float32 to fixed11 (fraction 8).</td> 320 </tr> 321 <tr> 322 <td width="100"> </td> 323 <th> 324 <a href="../../../nn/gr/CTR/Float32ToUnsignedFix11.html">Float32ToUnsignedFix11</a> 325 </th> 326 <td>Converts float32 to unsigned fixed11.</td> 327 </tr> 328 <tr> 329 <td width="100"> </td> 330 <th> 331 <a href="../../../nn/gr/CTR/PicaDataVertexAttrTypeToByteSize.html">PicaDataVertexAttrTypeToByteSize</a> 332 </th> 333 <td>Finds the byte size based on the vertex array type.</td> 334 </tr> </table> 335 </div> 336 </a> 337 <h2>Revision History</h2> 338 <div class="section"> 339 <dl class="history"> 340 <dt>2010/09/15</dt> 341 <dd>Initial version.<br /> 342 </dd> 343 </dl> 344 </div> 345 <hr><p>CONFIDENTIAL</p></body> 346</html>