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>ResourceFormat</title> 8 </head> 9 <body> 10 <h1><CODE>nn::gd::CTR::Resource::ResourceFormat</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum ResourceFormat; 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_RESERVED_MAX_U32</th> 83 <td> 84 </td> 85 </tr> 86 </table> </div> 87 <h2>Description</h2> 88 <div class="section"> 89 <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 OpenGL standard texture formats and cannot be used as-is.</p><!-- write here --></div> 90 <h2>See Also</h2> 91 <div class="section"> 92 <p class="reference"><a href="../../../../nn/gd/CTR/Resource/Helper/ConvertTextureResourceToNativeFormat.html">Helper::ConvertTextureResourceToNativeFormat</a><br /> </p> 93 </div> 94 <h2>Revision History</h2> 95 <div class="section"> 96 <dl class="history"> 97 <dt>2011/02/17</dt> 98 <dd>Initial version.<br /> 99 </dd> 100 </dl> 101 </div> 102 <hr><p>CONFIDENTIAL</p></body> 103</html>