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>Format</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>::<a href="../../../../nn/gd/CTR/Resource/Overview.html">Resource</a>::Format</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum Format; 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>FORMAT_RGBA_8888</th> 28 <td> 29 </td> 30 </tr> 31 <tr> 32 <th>FORMAT_RGB_888</th> 33 <td> 34 </td> 35 </tr> 36 <tr> 37 <th>FORMAT_RGBA_5551</th> 38 <td> 39 </td> 40 </tr> 41 <tr> 42 <th>FORMAT_RGB_565</th> 43 <td> 44 </td> 45 </tr> 46 <tr> 47 <th>FORMAT_RGBA_4444</th> 48 <td> 49 </td> 50 </tr> 51 <tr> 52 <th>FORMAT_LUMINANCE_ALPHA_88</th> 53 <td> 54 </td> 55 </tr> 56 <tr> 57 <th>FORMAT_LUMINANCE_8</th> 58 <td> 59 </td> 60 </tr> 61 <tr> 62 <th>FORMAT_ALPHA_8</th> 63 <td> 64 </td> 65 </tr> 66 <tr> 67 <th>FORMAT_LUMINANCE_ALPHA_44</th> 68 <td> 69 </td> 70 </tr> 71 <tr> 72 <th>FORMAT_LUMINANCE_4</th> 73 <td> 74 </td> 75 </tr> 76 <tr> 77 <th>FORMAT_ALPHA_4</th> 78 <td> 79 </td> 80 </tr> 81 <tr> 82 <th>FORMAT_HILO_88</th> 83 <td> 84 </td> 85 </tr> 86 <tr> 87 <th>FORMAT_RESERVED_MAX_U32</th> 88 <td> 89 </td> 90 </tr> 91 </table> </div> 92 <h2>Description</h2> 93 <div class="section"> 94 <p>The enum values for texture resource formats. </p><p>To use these formats they first must be converted to native format because they are in OpenGL standard texture format and cannot be used in that format.</p><!-- write here --></div> 95 <h2>See Also</h2> 96 <div class="section"> 97 <p class="reference"><a href="../../../../nn/gd/CTR/Resource/Helper/ConvertTextureResourceToNativeFormat.html">Helper::ConvertTextureResourceToNativeFormat</a><br /> </p> 98 </div> 99 <h2>Revision History</h2> 100 <div class="section"> 101 <dl class="history"> 102 <dt>2011/06/03</dt> 103 <dd>Initial version.<br /> 104 </dd> 105 </dl> 106 </div> 107 <hr><p>CONFIDENTIAL</p></body> 108</html> 109