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>nw::lyt::TexResource</title> 49 </head> 50 <body> 51 <h1><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/lyt/Overview.html">lyt</a>::TexResource Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class TexResource</pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>This class is used to access texture image resource files.</p><p>You can use the <a href="../../../nw/lyt/ArcUtil/Overview.html">ArcUtil</a> class to get texture image resources inside an archive file.</p></div> 59 <a name="function" id="function"> 60 <h2>Member Functions</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <th class="category" colspan="3">Set/Get</th> 65 </tr> 66 <tr> 67 <td width="100"> </td> 68 <th> 69 <a href="../../../nw/lyt/TexResource/IsValid.html"><CODE>IsValid</CODE></a> 70 </th> 71 <td>Gets whether an enabled resource file has been configured.</td> 72 </tr> 73 <tr> 74 <td width="100"> </td> 75 <th> 76 <a href="../../../nw/lyt/TexResource/Set.html"><CODE>Set</CODE></a> 77 </th> 78 <td>Specifies the resource file to be accessed.</td> 79 </tr> 80 <tr> 81 <td width="100"> </td> 82 <th> 83 <a href="../../../nw/lyt/TexResource/GetImageAddress.html">GetImageAddress</a> 84 </th> 85 <td>Gets the address of the texture image.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <a href="../../../nw/lyt/TexResource/GetImageSize.html">GetImageSize</a> 91 </th> 92 <td>Gets the size of the texture image.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97 <a href="../../../nw/lyt/TexResource/GetFormat.html">GetFormat</a> 98 </th> 99 <td>Gets the format of the texture image.</td> 100 </tr> 101 <tr> 102 <td width="100"> </td> 103 <th> 104 <a href="../../../nw/lyt/TexResource/Is4bitFormat.html">Is4bitFormat</a> 105 </th> 106 <td>Checks if the texture image uses a 4-bit format. </td> 107 </tr> 108 <tr> 109 <td width="100"> </td> 110 <th> 111 <a href="../../../nw/lyt/TexResource/GetWidth.html">GetWidth</a> 112 </th> 113 <td>Gets the width of the texture image (as a number of pixels).</td> 114 </tr> 115 <tr> 116 <td width="100"> </td> 117 <th> 118 <a href="../../../nw/lyt/TexResource/GetHeight.html">GetHeight</a> 119 </th> 120 <td>Gets the height of the texture image (as a number of pixels).</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125 <a href="../../../nw/lyt/TexResource/GetImageArea.html">GetImageArea</a> 126 </th> 127 <td>Gets the layout specification of the texture image.</td> 128 </tr> 129 <tr> 130 <td width="100"> </td> 131 <th> 132 <a href="../../../nw/lyt/TexResource/SetImageArea.html">SetImageArea</a> 133 </th> 134 <td>Sets the texture image location. </td> 135 </tr> 136 <tr> 137 <td width="100"> </td> 138 <th> 139 <a href="../../../nw/lyt/TexResource/GetResImage.html">GetResImage</a> 140 </th> 141 <td>Gets <a href="../../../nw/lyt/res/Image/Overview.html">res::Image</a>.</td> 142 </tr> 143 <tr> 144 <th class="category" colspan="3">Constructors and Destructors</th> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149 <a href="../../../nw/lyt/TexResource/TexResource.html">TexResource</a> 150 </th> 151 <td>Constructor.</td> 152 </tr> </table> 153 </div> 154 </a> 155 <h2>See Also</h2> 156 <div class="section"> 157 <p class="reference"><a href="../../../nw/lyt/res/Lim/Overview.html">res::Lim</a><br /><a href="../../../nw/lyt/ArcUtil/Overview.html">ArcUtil</a><br /> </p> 158 </div> 159 <h2>Revision History</h2> 160 <div class="section"> 161 <dl class="history"> 162 <dt>2011/02/28</dt> 163 <dd>Initial version.<br /> 164 </dd> 165 </dl> 166 </div> 167 <hr><p>CONFIDENTIAL</p></body> 168</html> 169