1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
4 <title>glBitmap: Class TglBitmapData</title>
5 <meta name="generator" content="PasDoc 0.13.0">
6 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
7 <link rel="StyleSheet" type="text/css" href="pasdoc.css">
10 <table class="container"><tr><td class="navigation">
11 <p><a href="AllUnits.html" class="navigation">Units</a></p><p><a href="ClassHierarchy.html" class="navigation">Class Hierarchy</a></p><p><a href="AllClasses.html" class="navigation">Classes, Interfaces, Objects and Records</a></p><p><a href="AllTypes.html" class="navigation">Types</a></p><p><a href="AllVariables.html" class="navigation">Variables</a></p><p><a href="AllConstants.html" class="navigation">Constants</a></p><p><a href="AllFunctions.html" class="navigation">Functions and Procedures</a></p><p><a href="AllIdentifiers.html" class="navigation">Identifiers</a></p></td><td class="content">
12 <a name="TglBitmapData"></a><h1 class="cio">Class TglBitmapData</h1>
13 <table class="sections wide_list">
15 <td><a class="section" href="#PasDoc-Description">Description</a></td><td><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></td><td><a class="section" href="#PasDoc-Fields">Fields</a></td><td><a class="section" href="#PasDoc-Methods">Methods</a></td><td><a class="section" href="#PasDoc-Properties">Properties</a></td></tr></table>
16 <a name="PasDoc-Description"></a><h2 class="unit">Unit</h2>
18 <a href="glBitmap.html">glBitmap</a></p>
19 <h2 class="declaration">Declaration</h2>
20 <p class="declaration">
21 <code>type TglBitmapData = class(TObject)</code></p>
22 <h2 class="description">Description</h2>
24 class to store texture data in. used to load, save and manipulate data before assigned to texture object all operations on a data object can be done from a background thread</p>
25 <a name="PasDoc-Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
26 <ul class="hierarchy"><li class="ancestor">TObject</li>
27 <li class="thisitem">TglBitmapData</li></ul><h2 class="overview">Overview</h2>
28 <a name="PasDoc-Fields"></a><h3 class="summary">Fields</h3>
29 <table class="summary wide_list">
31 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
32 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fData">fData</a></b>: PByte;</code></td>
35 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
36 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fDimension">fDimension</a></b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>;</code></td>
39 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
40 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fFormat">fFormat</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
43 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
44 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fFilename">fFilename</a></b>: String;</code></td>
47 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
48 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fScanlines">fScanlines</a></b>: array of PByte;</code></td>
51 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
52 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapData.html#fHasScanlines">fHasScanlines</a></b>: Boolean;</code></td>
55 <a name="PasDoc-Methods"></a><h3 class="summary">Methods</h3>
56 <table class="summary wide_list">
58 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
59 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#GetFormatDescriptor">GetFormatDescriptor</a></b>: <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a>;</code></td>
62 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
63 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#GetWidth">GetWidth</a></b>: Integer;</code></td>
66 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
67 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#GetHeight">GetHeight</a></b>: Integer;</code></td>
70 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
71 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#GetScanlines">GetScanlines</a></b>(const aIndex: Integer): PByte;</code></td>
74 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
75 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SetFormat">SetFormat</a></b>(const aValue: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>);</code></td>
78 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
79 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#PrepareResType">PrepareResType</a></b>(var aResource: String; var aResType: PChar);</code></td>
82 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
83 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#UpdateScanlines">UpdateScanlines</a></b>;</code></td>
86 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
87 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadPNG">LoadPNG</a></b>(const aStream: TStream): Boolean; virtual;</code></td>
90 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
91 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SavePNG">SavePNG</a></b>(const aStream: TStream); virtual;</code></td>
94 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
95 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadJPEG">LoadJPEG</a></b>(const aStream: TStream): Boolean; virtual;</code></td>
98 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
99 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveJPEG">SaveJPEG</a></b>(const aStream: TStream); virtual;</code></td>
102 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
103 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadRAW">LoadRAW</a></b>(const aStream: TStream): Boolean;</code></td>
106 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
107 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveRAW">SaveRAW</a></b>(const aStream: TStream);</code></td>
110 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
111 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadBMP">LoadBMP</a></b>(const aStream: TStream): Boolean;</code></td>
114 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
115 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveBMP">SaveBMP</a></b>(const aStream: TStream);</code></td>
118 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
119 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadTGA">LoadTGA</a></b>(const aStream: TStream): Boolean;</code></td>
122 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
123 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveTGA">SaveTGA</a></b>(const aStream: TStream);</code></td>
126 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
127 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#LoadDDS">LoadDDS</a></b>(const aStream: TStream): Boolean;</code></td>
130 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
131 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveDDS">SaveDDS</a></b>(const aStream: TStream);</code></td>
134 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
135 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#FlipHorz">FlipHorz</a></b>: Boolean; virtual;</code></td>
138 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
139 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#FlipVert">FlipVert</a></b>: Boolean; virtual;</code></td>
142 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
143 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#LoadFromFile">LoadFromFile</a></b>(const aFilename: String);</code></td>
146 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
147 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#LoadFromStream">LoadFromStream</a></b>(const aStream: TStream); virtual;</code></td>
150 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
151 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#LoadFromFunc">LoadFromFunc</a></b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aArgs: Pointer = nil);</code></td>
154 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
155 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#LoadFromResource">LoadFromResource</a></b>(const aInstance: Cardinal; aResource: String; aResType: PChar = nil);</code></td>
158 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
159 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#LoadFromResourceID">LoadFromResourceID</a></b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar);</code></td>
162 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
163 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveToFile">SaveToFile</a></b>(const aFilename: String; const aFileType: <a href="glBitmap.html#TglBitmapFileType">TglBitmapFileType</a>);</code></td>
166 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
167 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SaveToStream">SaveToStream</a></b>(const aStream: TStream; const aFileType: <a href="glBitmap.html#TglBitmapFileType">TglBitmapFileType</a>); virtual;</code></td>
170 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
171 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#Convert">Convert</a></b>(const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aCreateTemp: Boolean; const aArgs: Pointer = nil): Boolean; overload;</code></td>
174 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
175 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#Convert">Convert</a></b>(const aSource: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; aCreateTemp: Boolean; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aArgs: Pointer = nil): Boolean; overload;</code></td>
178 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
179 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#ConvertTo">ConvertTo</a></b>(const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>): Boolean; virtual;</code></td>
182 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
183 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AssignToLazIntfImage">AssignToLazIntfImage</a></b>(const aImage: TLazIntfImage): Boolean;</code></td>
186 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
187 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AssignFromLazIntfImage">AssignFromLazIntfImage</a></b>(const aImage: TLazIntfImage): Boolean;</code></td>
190 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
191 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AssignAlphaToLazIntfImage">AssignAlphaToLazIntfImage</a></b>(const aImage: TLazIntfImage): Boolean;</code></td>
194 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
195 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromLazIntfImage">AddAlphaFromLazIntfImage</a></b>(const aImage: TLazIntfImage; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
198 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
199 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromResource">AddAlphaFromResource</a></b>(const aInstance: Cardinal; aResource: String; aResType: PChar = nil; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
202 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
203 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromResourceID">AddAlphaFromResourceID</a></b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
206 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
207 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromFunc">AddAlphaFromFunc</a></b>(const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer = nil): Boolean; virtual;</code></td>
210 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
211 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromFile">AddAlphaFromFile</a></b>(const aFileName: String; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
214 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
215 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromStream">AddAlphaFromStream</a></b>(const aStream: TStream; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
218 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
219 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromDataObj">AddAlphaFromDataObj</a></b>(const aDataObj: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer): Boolean;</code></td>
222 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
223 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromColorKey">AddAlphaFromColorKey</a></b>(const aRed, aGreen, aBlue: Byte; const aDeviation: Byte = 0): Boolean;</code></td>
226 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
227 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromColorKeyRange">AddAlphaFromColorKeyRange</a></b>(const aRed, aGreen, aBlue: Cardinal; const aDeviation: Cardinal = 0): Boolean;</code></td>
230 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
231 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromColorKeyFloat">AddAlphaFromColorKeyFloat</a></b>(const aRed, aGreen, aBlue: Single; const aDeviation: Single = 0): Boolean;</code></td>
234 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
235 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromValue">AddAlphaFromValue</a></b>(const aAlpha: Byte): Boolean;</code></td>
238 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
239 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromValueRange">AddAlphaFromValueRange</a></b>(const aAlpha: Cardinal): Boolean;</code></td>
242 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
243 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#AddAlphaFromValueFloat">AddAlphaFromValueFloat</a></b>(const aAlpha: Single): Boolean;</code></td>
246 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
247 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#RemoveAlpha">RemoveAlpha</a></b>: Boolean; virtual;</code></td>
250 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
251 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#FillWithColor">FillWithColor</a></b>(const aRed, aGreen, aBlue: Byte; const aAlpha: Byte = 255);</code></td>
254 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
255 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#FillWithColorRange">FillWithColorRange</a></b>(const aRed, aGreen, aBlue: Cardinal; const aAlpha: Cardinal = $FFFFFFFF);</code></td>
258 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
259 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#FillWithColorFloat">FillWithColorFloat</a></b>(const aRed, aGreen, aBlue: Single; const aAlpha: Single = 1.0);</code></td>
262 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
263 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#SetData">SetData</a></b>(const aData: PByte; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aWidth: Integer = -1; const aHeight: Integer = -1); virtual;</code></td>
266 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
267 <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmapData.html#Clone">Clone</a></b>: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>;</code></td>
270 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
271 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#Invert">Invert</a></b>(const aRed, aGreen, aBlue, aAlpha: Boolean);</code></td>
274 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
275 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapData.html#GenerateNormalMap">GenerateNormalMap</a></b>(const aFunc: <a href="glBitmap.html#TglBitmapNormalMapFunc">TglBitmapNormalMapFunc</a> = nm3x3; const aScale: Single = 2; const aUseAlpha: Boolean = false);</code></td>
278 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
279 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>; overload;</code></td>
282 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
283 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aFileName: String); overload;</code></td>
286 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
287 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aStream: TStream); overload;</code></td>
290 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
291 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; aData: PByte = nil); overload;</code></td>
294 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
295 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer = nil); overload;</code></td>
298 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
299 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aInstance: Cardinal; const aResource: String; const aResType: PChar = nil); overload;</code></td>
302 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
303 <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmapData.html#Create">Create</a></b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar); overload;</code></td>
306 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
307 <td class="itemcode"><code>destructor <b><a href="glBitmap.TglBitmapData.html#Destroy">Destroy</a></b>; override;</code></td>
310 <a name="PasDoc-Properties"></a><h3 class="summary">Properties</h3>
311 <table class="summary wide_list">
313 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
314 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Data">Data</a></b>: PByte read <a href="glBitmap.TglBitmapData.html#fData">fData</a>;</code></td>
317 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
318 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Dimension">Dimension</a></b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a> read <a href="glBitmap.TglBitmapData.html#fDimension">fDimension</a>;</code></td>
321 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
322 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Filename">Filename</a></b>: String read <a href="glBitmap.TglBitmapData.html#fFilename">fFilename</a>;</code></td>
325 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
326 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Width">Width</a></b>: Integer read <a href="glBitmap.TglBitmapData.html#GetWidth">GetWidth</a>;</code></td>
329 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
330 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Height">Height</a></b>: Integer read <a href="glBitmap.TglBitmapData.html#GetHeight">GetHeight</a>;</code></td>
333 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
334 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Format">Format</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapData.html#fFormat">fFormat</a> write <a href="glBitmap.TglBitmapData.html#SetFormat">SetFormat</a>;</code></td>
337 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
338 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#Scanlines">Scanlines</a></b>[constaIndex:Integer]: PByte read <a href="glBitmap.TglBitmapData.html#GetScanlines">GetScanlines</a>;</code></td>
341 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
342 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapData.html#FormatDescriptor">FormatDescriptor</a></b>: <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a> read <a href="glBitmap.TglBitmapData.html#GetFormatDescriptor">GetFormatDescriptor</a>;</code></td>
345 <h2 class="description">Description</h2>
346 <h3 class="detail">Fields</h3>
347 <table class="detail wide_list">
349 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
350 <td class="itemcode"><a name="fData"></a><code><b>fData</b>: PByte;</code></td>
357 <table class="detail wide_list">
359 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
360 <td class="itemcode"><a name="fDimension"></a><code><b>fDimension</b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>;</code></td>
364 pixel size of the data</p>
367 <table class="detail wide_list">
369 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
370 <td class="itemcode"><a name="fFormat"></a><code><b>fFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
374 format the texture data is stored in</p>
377 <table class="detail wide_list">
379 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
380 <td class="itemcode"><a name="fFilename"></a><code><b>fFilename</b>: String;</code></td>
384 file the data was load from</p>
387 <table class="detail wide_list">
389 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
390 <td class="itemcode"><a name="fScanlines"></a><code><b>fScanlines</b>: array of PByte;</code></td>
394 pointer to begin of each line</p>
397 <table class="detail wide_list">
399 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
400 <td class="itemcode"><a name="fHasScanlines"></a><code><b>fHasScanlines</b>: Boolean;</code></td>
404 <code>True</code> if scanlines are initialized, <code>False</code> otherwise</p>
407 <h3 class="detail">Methods</h3>
408 <table class="detail wide_list">
410 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
411 <td class="itemcode"><a name="GetFormatDescriptor"></a><code>function <b>GetFormatDescriptor</b>: <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a>;</code></td>
414 <h6 class="description_section">Returns</h6>
415 <p class="return">the format descriptor suitable to the texture data format</p></td></tr>
417 <table class="detail wide_list">
419 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
420 <td class="itemcode"><a name="GetWidth"></a><code>function <b>GetWidth</b>: Integer;</code></td>
423 <h6 class="description_section">Returns</h6>
424 <p class="return">the width of the texture data (in pixel) or -1 if no data is set</p></td></tr>
426 <table class="detail wide_list">
428 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
429 <td class="itemcode"><a name="GetHeight"></a><code>function <b>GetHeight</b>: Integer;</code></td>
432 <h6 class="description_section">Returns</h6>
433 <p class="return">the height of the texture data (in pixel) or -1 if no data is set</p></td></tr>
435 <table class="detail wide_list">
437 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
438 <td class="itemcode"><a name="GetScanlines"></a><code>function <b>GetScanlines</b>(const aIndex: Integer): PByte;</code></td>
442 get scanline at index aIndex </p>
443 <h6 class="description_section">Returns</h6>
444 <p class="return">Pointer to start of line or <code>Nil</code></p></td></tr>
446 <table class="detail wide_list">
448 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
449 <td class="itemcode"><a name="SetFormat"></a><code>procedure <b>SetFormat</b>(const aValue: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>);</code></td>
453 set new value for the data format. only possible if new format has the same pixel size. if you want to convert the texture data, see ConvertTo function</p>
456 <table class="detail wide_list">
458 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
459 <td class="itemcode"><a name="PrepareResType"></a><code>procedure <b>PrepareResType</b>(var aResource: String; var aResType: PChar);</code></td>
463 splits a resource identifier into the resource and it's type </p>
464 <h6 class="description_section">Parameters</h6>
465 <dl class="parameters">
467 <dd>resource identifier to split and store name in</dd>
469 <dd>type of the resource</dd>
473 <table class="detail wide_list">
475 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
476 <td class="itemcode"><a name="UpdateScanlines"></a><code>procedure <b>UpdateScanlines</b>;</code></td>
480 updates scanlines array</p>
483 <table class="detail wide_list">
485 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
486 <td class="itemcode"><a name="LoadPNG"></a><code>function <b>LoadPNG</b>(const aStream: TStream): Boolean; virtual;</code></td>
490 try to load a PNG from a stream </p>
491 <h6 class="description_section">Parameters</h6>
492 <dl class="parameters">
494 <dd>stream to load PNG from</dd>
496 <h6 class="description_section">Returns</h6>
497 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
499 <table class="detail wide_list">
501 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
502 <td class="itemcode"><a name="SavePNG"></a><code>procedure <b>SavePNG</b>(const aStream: TStream); virtual;</code></td>
506 save texture data as PNG to stream </p>
507 <h6 class="description_section">Parameters</h6>
508 <dl class="parameters">
510 <dd>stream to save data to</dd>
514 <table class="detail wide_list">
516 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
517 <td class="itemcode"><a name="LoadJPEG"></a><code>function <b>LoadJPEG</b>(const aStream: TStream): Boolean; virtual;</code></td>
521 try to load a JPEG from a stream </p>
522 <h6 class="description_section">Parameters</h6>
523 <dl class="parameters">
525 <dd>stream to load JPEG from</dd>
527 <h6 class="description_section">Returns</h6>
528 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
530 <table class="detail wide_list">
532 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
533 <td class="itemcode"><a name="SaveJPEG"></a><code>procedure <b>SaveJPEG</b>(const aStream: TStream); virtual;</code></td>
537 save texture data as JPEG to stream </p>
538 <h6 class="description_section">Parameters</h6>
539 <dl class="parameters">
541 <dd>stream to save data to</dd>
545 <table class="detail wide_list">
547 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
548 <td class="itemcode"><a name="LoadRAW"></a><code>function <b>LoadRAW</b>(const aStream: TStream): Boolean;</code></td>
552 try to load a RAW image from a stream </p>
553 <h6 class="description_section">Parameters</h6>
554 <dl class="parameters">
556 <dd>stream to load RAW image from</dd>
558 <h6 class="description_section">Returns</h6>
559 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
561 <table class="detail wide_list">
563 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
564 <td class="itemcode"><a name="SaveRAW"></a><code>procedure <b>SaveRAW</b>(const aStream: TStream);</code></td>
568 save texture data as RAW image to stream </p>
569 <h6 class="description_section">Parameters</h6>
570 <dl class="parameters">
572 <dd>stream to save data to</dd>
576 <table class="detail wide_list">
578 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
579 <td class="itemcode"><a name="LoadBMP"></a><code>function <b>LoadBMP</b>(const aStream: TStream): Boolean;</code></td>
583 try to load a BMP from a stream </p>
584 <h6 class="description_section">Parameters</h6>
585 <dl class="parameters">
587 <dd>stream to load BMP from</dd>
589 <h6 class="description_section">Returns</h6>
590 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
592 <table class="detail wide_list">
594 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
595 <td class="itemcode"><a name="SaveBMP"></a><code>procedure <b>SaveBMP</b>(const aStream: TStream);</code></td>
599 save texture data as BMP to stream </p>
600 <h6 class="description_section">Parameters</h6>
601 <dl class="parameters">
603 <dd>stream to save data to</dd>
607 <table class="detail wide_list">
609 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
610 <td class="itemcode"><a name="LoadTGA"></a><code>function <b>LoadTGA</b>(const aStream: TStream): Boolean;</code></td>
614 try to load a TGA from a stream </p>
615 <h6 class="description_section">Parameters</h6>
616 <dl class="parameters">
618 <dd>stream to load TGA from</dd>
620 <h6 class="description_section">Returns</h6>
621 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
623 <table class="detail wide_list">
625 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
626 <td class="itemcode"><a name="SaveTGA"></a><code>procedure <b>SaveTGA</b>(const aStream: TStream);</code></td>
630 save texture data as TGA to stream </p>
631 <h6 class="description_section">Parameters</h6>
632 <dl class="parameters">
634 <dd>stream to save data to</dd>
638 <table class="detail wide_list">
640 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
641 <td class="itemcode"><a name="LoadDDS"></a><code>function <b>LoadDDS</b>(const aStream: TStream): Boolean;</code></td>
645 try to load a DDS from a stream </p>
646 <h6 class="description_section">Parameters</h6>
647 <dl class="parameters">
649 <dd>stream to load DDS from</dd>
651 <h6 class="description_section">Returns</h6>
652 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
654 <table class="detail wide_list">
656 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
657 <td class="itemcode"><a name="SaveDDS"></a><code>procedure <b>SaveDDS</b>(const aStream: TStream);</code></td>
661 save texture data as DDS to stream </p>
662 <h6 class="description_section">Parameters</h6>
663 <dl class="parameters">
665 <dd>stream to save data to</dd>
669 <table class="detail wide_list">
671 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
672 <td class="itemcode"><a name="FlipHorz"></a><code>function <b>FlipHorz</b>: Boolean; virtual;</code></td>
676 flip texture horizontal </p>
677 <h6 class="description_section">Returns</h6>
678 <p class="return"><code>True</code> in success, <code>False</code> otherwise</p></td></tr>
680 <table class="detail wide_list">
682 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
683 <td class="itemcode"><a name="FlipVert"></a><code>function <b>FlipVert</b>: Boolean; virtual;</code></td>
687 flip texture vertical </p>
688 <h6 class="description_section">Returns</h6>
689 <p class="return"><code>True</code> in success, <code>False</code> otherwise</p></td></tr>
691 <table class="detail wide_list">
693 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
694 <td class="itemcode"><a name="LoadFromFile"></a><code>procedure <b>LoadFromFile</b>(const aFilename: String);</code></td>
698 load a texture from a file </p>
699 <h6 class="description_section">Parameters</h6>
700 <dl class="parameters">
702 <dd>file to load texuture from</dd>
706 <table class="detail wide_list">
708 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
709 <td class="itemcode"><a name="LoadFromStream"></a><code>procedure <b>LoadFromStream</b>(const aStream: TStream); virtual;</code></td>
713 load a texture from a stream </p>
714 <h6 class="description_section">Parameters</h6>
715 <dl class="parameters">
717 <dd>stream to load texture from</dd>
721 <table class="detail wide_list">
723 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
724 <td class="itemcode"><a name="LoadFromFunc"></a><code>procedure <b>LoadFromFunc</b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aArgs: Pointer = nil);</code></td>
728 use a function to generate texture data </p>
729 <h6 class="description_section">Parameters</h6>
730 <dl class="parameters">
732 <dd>size of the texture</dd>
734 <dd>callback to use for generation</dd>
736 <dd>format of the texture data</dd>
738 <dd>user defined paramaters (use at will)</dd>
742 <table class="detail wide_list">
744 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
745 <td class="itemcode"><a name="LoadFromResource"></a><code>procedure <b>LoadFromResource</b>(const aInstance: Cardinal; aResource: String; aResType: PChar = nil);</code></td>
749 load a texture from a resource </p>
750 <h6 class="description_section">Parameters</h6>
751 <dl class="parameters">
753 <dd>resource handle</dd>
755 <dd>resource indentifier</dd>
757 <dd>resource type (if known)</dd>
761 <table class="detail wide_list">
763 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
764 <td class="itemcode"><a name="LoadFromResourceID"></a><code>procedure <b>LoadFromResourceID</b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar);</code></td>
768 load a texture from a resource id </p>
769 <h6 class="description_section">Parameters</h6>
770 <dl class="parameters">
772 <dd>resource handle</dd>
776 <dd>resource type</dd>
780 <table class="detail wide_list">
782 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
783 <td class="itemcode"><a name="SaveToFile"></a><code>procedure <b>SaveToFile</b>(const aFilename: String; const aFileType: <a href="glBitmap.html#TglBitmapFileType">TglBitmapFileType</a>);</code></td>
787 save texture data to a file </p>
788 <h6 class="description_section">Parameters</h6>
789 <dl class="parameters">
791 <dd>filename to store texture in</dd>
793 <dd>file type to store data into</dd>
797 <table class="detail wide_list">
799 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
800 <td class="itemcode"><a name="SaveToStream"></a><code>procedure <b>SaveToStream</b>(const aStream: TStream; const aFileType: <a href="glBitmap.html#TglBitmapFileType">TglBitmapFileType</a>); virtual;</code></td>
804 save texture data to a stream </p>
805 <h6 class="description_section">Parameters</h6>
806 <dl class="parameters">
808 <dd>filename to store texture in</dd>
810 <dd>file type to store data into</dd>
814 <table class="detail wide_list">
816 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
817 <td class="itemcode"><a name="Convert"></a><code>function <b>Convert</b>(const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aCreateTemp: Boolean; const aArgs: Pointer = nil): Boolean; overload;</code></td>
821 convert texture data using a user defined callback </p>
822 <h6 class="description_section">Parameters</h6>
823 <dl class="parameters">
825 <dd>callback to use for converting</dd>
827 <dd>create a temporary buffer to use for converting</dd>
829 <dd>user defined paramters (use at will)</dd>
831 <h6 class="description_section">Returns</h6>
832 <p class="return"><code>True</code> if converting was successful, <code>False</code> otherwise</p></td></tr>
834 <table class="detail wide_list">
836 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
837 <td class="itemcode"><a name="Convert"></a><code>function <b>Convert</b>(const aSource: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; aCreateTemp: Boolean; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aArgs: Pointer = nil): Boolean; overload;</code></td>
841 convert texture data using a user defined callback </p>
842 <h6 class="description_section">Parameters</h6>
843 <dl class="parameters">
845 <dd>glBitmap to read data from</dd>
847 <dd>callback to use for converting</dd>
849 <dd>create a temporary buffer to use for converting</dd>
851 <dd>format of the new data</dd>
853 <dd>user defined paramters (use at will)</dd>
855 <h6 class="description_section">Returns</h6>
856 <p class="return"><code>True</code> if converting was successful, <code>False</code> otherwise</p></td></tr>
858 <table class="detail wide_list">
860 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
861 <td class="itemcode"><a name="ConvertTo"></a><code>function <b>ConvertTo</b>(const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>): Boolean; virtual;</code></td>
865 convert texture data using a specific format </p>
866 <h6 class="description_section">Parameters</h6>
867 <dl class="parameters">
869 <dd>new format of texture data</dd>
871 <h6 class="description_section">Returns</h6>
872 <p class="return"><code>True</code> if converting was successful, <code>False</code> otherwise</p></td></tr>
874 <table class="detail wide_list">
876 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
877 <td class="itemcode"><a name="AssignToLazIntfImage"></a><code>function <b>AssignToLazIntfImage</b>(const aImage: TLazIntfImage): Boolean;</code></td>
881 assign texture data to TLazIntfImage object </p>
882 <h6 class="description_section">Parameters</h6>
883 <dl class="parameters">
885 <dd>TLazIntfImage to write data to</dd>
887 <h6 class="description_section">Returns</h6>
888 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
890 <table class="detail wide_list">
892 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
893 <td class="itemcode"><a name="AssignFromLazIntfImage"></a><code>function <b>AssignFromLazIntfImage</b>(const aImage: TLazIntfImage): Boolean;</code></td>
897 assign texture data from TLazIntfImage object </p>
898 <h6 class="description_section">Parameters</h6>
899 <dl class="parameters">
901 <dd>TLazIntfImage to read data from</dd>
903 <h6 class="description_section">Returns</h6>
904 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
906 <table class="detail wide_list">
908 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
909 <td class="itemcode"><a name="AssignAlphaToLazIntfImage"></a><code>function <b>AssignAlphaToLazIntfImage</b>(const aImage: TLazIntfImage): Boolean;</code></td>
913 assign alpha channel data to TLazIntfImage object </p>
914 <h6 class="description_section">Parameters</h6>
915 <dl class="parameters">
917 <dd>TLazIntfImage to write data to</dd>
919 <h6 class="description_section">Returns</h6>
920 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
922 <table class="detail wide_list">
924 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
925 <td class="itemcode"><a name="AddAlphaFromLazIntfImage"></a><code>function <b>AddAlphaFromLazIntfImage</b>(const aImage: TLazIntfImage; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
929 assign alpha channel data from TLazIntfImage object </p>
930 <h6 class="description_section">Parameters</h6>
931 <dl class="parameters">
933 <dd>TLazIntfImage to read data from</dd>
935 <dd>callback to use for converting</dd>
937 <dd>user defined parameters (use at will)</dd>
939 <h6 class="description_section">Returns</h6>
940 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
942 <table class="detail wide_list">
944 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
945 <td class="itemcode"><a name="AddAlphaFromResource"></a><code>function <b>AddAlphaFromResource</b>(const aInstance: Cardinal; aResource: String; aResType: PChar = nil; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
949 load alpha channel data from resource </p>
950 <h6 class="description_section">Parameters</h6>
951 <dl class="parameters">
953 <dd>resource handle</dd>
957 <dd>resource type</dd>
959 <dd>callback to use for converting</dd>
961 <dd>user defined parameters (use at will)</dd>
963 <h6 class="description_section">Returns</h6>
964 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
966 <table class="detail wide_list">
968 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
969 <td class="itemcode"><a name="AddAlphaFromResourceID"></a><code>function <b>AddAlphaFromResourceID</b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
973 load alpha channel data from resource ID </p>
974 <h6 class="description_section">Parameters</h6>
975 <dl class="parameters">
977 <dd>resource handle</dd>
981 <dd>resource type</dd>
983 <dd>callback to use for converting</dd>
985 <dd>user defined parameters (use at will)</dd>
987 <h6 class="description_section">Returns</h6>
988 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
990 <table class="detail wide_list">
992 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
993 <td class="itemcode"><a name="AddAlphaFromFunc"></a><code>function <b>AddAlphaFromFunc</b>(const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer = nil): Boolean; virtual;</code></td>
997 add alpha channel data from function </p>
998 <h6 class="description_section">Parameters</h6>
999 <dl class="parameters">
1001 <dd>callback to get data from</dd>
1003 <dd>user defined parameters (use at will)</dd>
1005 <h6 class="description_section">Returns</h6>
1006 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1008 <table class="detail wide_list">
1010 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1011 <td class="itemcode"><a name="AddAlphaFromFile"></a><code>function <b>AddAlphaFromFile</b>(const aFileName: String; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
1013 <tr><td colspan="2">
1015 add alpha channel data from file (macro for: new glBitmap, LoadFromFile, AddAlphaFromGlBitmap) </p>
1016 <h6 class="description_section">Parameters</h6>
1017 <dl class="parameters">
1019 <dd>file to load alpha channel data from</dd>
1021 <dd>callback to use for converting</dd>
1023 <dd>SetFormat user defined parameters (use at will)</dd>
1025 <h6 class="description_section">Returns</h6>
1026 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1028 <table class="detail wide_list">
1030 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1031 <td class="itemcode"><a name="AddAlphaFromStream"></a><code>function <b>AddAlphaFromStream</b>(const aStream: TStream; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a> = nil; const aArgs: Pointer = nil): Boolean;</code></td>
1033 <tr><td colspan="2">
1035 add alpha channel data from stream (macro for: new glBitmap, LoadFromStream, AddAlphaFromGlBitmap) </p>
1036 <h6 class="description_section">Parameters</h6>
1037 <dl class="parameters">
1039 <dd>stream to load alpha channel data from</dd>
1041 <dd>callback to use for converting</dd>
1043 <dd>user defined parameters (use at will)</dd>
1045 <h6 class="description_section">Returns</h6>
1046 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1048 <table class="detail wide_list">
1050 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1051 <td class="itemcode"><a name="AddAlphaFromDataObj"></a><code>function <b>AddAlphaFromDataObj</b>(const aDataObj: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer): Boolean;</code></td>
1053 <tr><td colspan="2">
1055 add alpha channel data from existing glBitmap object </p>
1056 <h6 class="description_section">Parameters</h6>
1057 <dl class="parameters">
1059 <dd>TglBitmap to copy alpha channel data from</dd>
1061 <dd>callback to use for converting</dd>
1063 <dd>user defined parameters (use at will)</dd>
1065 <h6 class="description_section">Returns</h6>
1066 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1068 <table class="detail wide_list">
1070 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1071 <td class="itemcode"><a name="AddAlphaFromColorKey"></a><code>function <b>AddAlphaFromColorKey</b>(const aRed, aGreen, aBlue: Byte; const aDeviation: Byte = 0): Boolean;</code></td>
1073 <tr><td colspan="2">
1075 add alpha to pixel if the pixels color is greter than the given color value </p>
1076 <h6 class="description_section">Parameters</h6>
1077 <dl class="parameters">
1079 <dd>red threshold (0-255)</dd>
1081 <dd>green threshold (0-255)</dd>
1083 <dd>blue threshold (0-255)</dd>
1084 <dt>aDeviatation</dt>
1085 <dd>accepted deviatation (0-255)</dd>
1087 <h6 class="description_section">Returns</h6>
1088 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1090 <table class="detail wide_list">
1092 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1093 <td class="itemcode"><a name="AddAlphaFromColorKeyRange"></a><code>function <b>AddAlphaFromColorKeyRange</b>(const aRed, aGreen, aBlue: Cardinal; const aDeviation: Cardinal = 0): Boolean;</code></td>
1095 <tr><td colspan="2">
1097 add alpha to pixel if the pixels color is greter than the given color value </p>
1098 <h6 class="description_section">Parameters</h6>
1099 <dl class="parameters">
1101 <dd>red threshold (0-Range.r)</dd>
1103 <dd>green threshold (0-Range.g)</dd>
1105 <dd>blue threshold (0-Range.b)</dd>
1106 <dt>aDeviatation</dt>
1107 <dd>accepted deviatation (0-max(Range.rgb))</dd>
1109 <h6 class="description_section">Returns</h6>
1110 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1112 <table class="detail wide_list">
1114 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1115 <td class="itemcode"><a name="AddAlphaFromColorKeyFloat"></a><code>function <b>AddAlphaFromColorKeyFloat</b>(const aRed, aGreen, aBlue: Single; const aDeviation: Single = 0): Boolean;</code></td>
1117 <tr><td colspan="2">
1119 add alpha to pixel if the pixels color is greter than the given color value </p>
1120 <h6 class="description_section">Parameters</h6>
1121 <dl class="parameters">
1123 <dd>red threshold (0.0-1.0)</dd>
1125 <dd>green threshold (0.0-1.0)</dd>
1127 <dd>blue threshold (0.0-1.0)</dd>
1128 <dt>aDeviatation</dt>
1129 <dd>accepted deviatation (0.0-1.0)</dd>
1131 <h6 class="description_section">Returns</h6>
1132 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1134 <table class="detail wide_list">
1136 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1137 <td class="itemcode"><a name="AddAlphaFromValue"></a><code>function <b>AddAlphaFromValue</b>(const aAlpha: Byte): Boolean;</code></td>
1139 <tr><td colspan="2">
1141 add a constand alpha value to all pixels </p>
1142 <h6 class="description_section">Parameters</h6>
1143 <dl class="parameters">
1145 <dd>alpha value to add (0-255)</dd>
1147 <h6 class="description_section">Returns</h6>
1148 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1150 <table class="detail wide_list">
1152 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1153 <td class="itemcode"><a name="AddAlphaFromValueRange"></a><code>function <b>AddAlphaFromValueRange</b>(const aAlpha: Cardinal): Boolean;</code></td>
1155 <tr><td colspan="2">
1157 add a constand alpha value to all pixels </p>
1158 <h6 class="description_section">Parameters</h6>
1159 <dl class="parameters">
1161 <dd>alpha value to add (0-max(Range.rgb))</dd>
1163 <h6 class="description_section">Returns</h6>
1164 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1166 <table class="detail wide_list">
1168 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1169 <td class="itemcode"><a name="AddAlphaFromValueFloat"></a><code>function <b>AddAlphaFromValueFloat</b>(const aAlpha: Single): Boolean;</code></td>
1171 <tr><td colspan="2">
1173 add a constand alpha value to all pixels </p>
1174 <h6 class="description_section">Parameters</h6>
1175 <dl class="parameters">
1177 <dd>alpha value to add (0.0-1.0)</dd>
1179 <h6 class="description_section">Returns</h6>
1180 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1182 <table class="detail wide_list">
1184 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1185 <td class="itemcode"><a name="RemoveAlpha"></a><code>function <b>RemoveAlpha</b>: Boolean; virtual;</code></td>
1187 <tr><td colspan="2">
1189 remove alpha channel </p>
1190 <h6 class="description_section">Returns</h6>
1191 <p class="return"><code>True</code> on success, <code>False</code> otherwise</p></td></tr>
1193 <table class="detail wide_list">
1195 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1196 <td class="itemcode"><a name="FillWithColor"></a><code>procedure <b>FillWithColor</b>(const aRed, aGreen, aBlue: Byte; const aAlpha: Byte = 255);</code></td>
1198 <tr><td colspan="2">
1200 fill complete texture with one color </p>
1201 <h6 class="description_section">Parameters</h6>
1202 <dl class="parameters">
1204 <dd>red color for border (0-255)</dd>
1206 <dd>green color for border (0-255)</dd>
1208 <dd>blue color for border (0-255)</dd>
1210 <dd>alpha color for border (0-255)</dd>
1214 <table class="detail wide_list">
1216 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1217 <td class="itemcode"><a name="FillWithColorRange"></a><code>procedure <b>FillWithColorRange</b>(const aRed, aGreen, aBlue: Cardinal; const aAlpha: Cardinal = $FFFFFFFF);</code></td>
1219 <tr><td colspan="2">
1221 fill complete texture with one color </p>
1222 <h6 class="description_section">Parameters</h6>
1223 <dl class="parameters">
1225 <dd>red color for border (0-Range.r)</dd>
1227 <dd>green color for border (0-Range.g)</dd>
1229 <dd>blue color for border (0-Range.b)</dd>
1231 <dd>alpha color for border (0-Range.a)</dd>
1235 <table class="detail wide_list">
1237 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1238 <td class="itemcode"><a name="FillWithColorFloat"></a><code>procedure <b>FillWithColorFloat</b>(const aRed, aGreen, aBlue: Single; const aAlpha: Single = 1.0);</code></td>
1240 <tr><td colspan="2">
1242 fill complete texture with one color </p>
1243 <h6 class="description_section">Parameters</h6>
1244 <dl class="parameters">
1246 <dd>red color for border (0.0-1.0)</dd>
1248 <dd>green color for border (0.0-1.0)</dd>
1250 <dd>blue color for border (0.0-1.0)</dd>
1252 <dd>alpha color for border (0.0-1.0)</dd>
1256 <table class="detail wide_list">
1258 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1259 <td class="itemcode"><a name="SetData"></a><code>procedure <b>SetData</b>(const aData: PByte; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aWidth: Integer = -1; const aHeight: Integer = -1); virtual;</code></td>
1261 <tr><td colspan="2">
1263 set data pointer of texture data </p>
1264 <h6 class="description_section">Parameters</h6>
1265 <dl class="parameters">
1267 <dd>pointer to new texture data</dd>
1269 <dd>format of the data stored at aData</dd>
1271 <dd>width of the texture data</dd>
1273 <dd>height of the texture data</dd>
1277 <table class="detail wide_list">
1279 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1280 <td class="itemcode"><a name="Clone"></a><code>function <b>Clone</b>: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>;</code></td>
1282 <tr><td colspan="2">
1284 create a clone of the current object </p>
1285 <h6 class="description_section">Returns</h6>
1286 <p class="return">clone of this object</p></td></tr>
1288 <table class="detail wide_list">
1290 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1291 <td class="itemcode"><a name="Invert"></a><code>procedure <b>Invert</b>(const aRed, aGreen, aBlue, aAlpha: Boolean);</code></td>
1293 <tr><td colspan="2">
1295 invert color data (bitwise not) </p>
1296 <h6 class="description_section">Parameters</h6>
1297 <dl class="parameters">
1299 <dd>invert red channel</dd>
1301 <dd>invert green channel</dd>
1303 <dd>invert blue channel</dd>
1305 <dd>invert alpha channel</dd>
1309 <table class="detail wide_list">
1311 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1312 <td class="itemcode"><a name="GenerateNormalMap"></a><code>procedure <b>GenerateNormalMap</b>(const aFunc: <a href="glBitmap.html#TglBitmapNormalMapFunc">TglBitmapNormalMapFunc</a> = nm3x3; const aScale: Single = 2; const aUseAlpha: Boolean = false);</code></td>
1314 <tr><td colspan="2">
1316 create normal map from texture data </p>
1317 <h6 class="description_section">Parameters</h6>
1318 <dl class="parameters">
1320 <dd>normal map function to generate normalmap with</dd>
1322 <dd>scale of the normale stored in the normal map</dd>
1324 <dd>generate normalmap from alpha channel data (if present)</dd>
1328 <table class="detail wide_list">
1330 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1331 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>; overload;</code></td>
1333 <tr><td colspan="2">
1335 constructor - creates a texutre data object</p>
1338 <table class="detail wide_list">
1340 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1341 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aFileName: String); overload;</code></td>
1343 <tr><td colspan="2">
1345 constructor - creates a texture data object and loads it from a file </p>
1346 <h6 class="description_section">Parameters</h6>
1347 <dl class="parameters">
1349 <dd>file to load texture from</dd>
1353 <table class="detail wide_list">
1355 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1356 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aStream: TStream); overload;</code></td>
1358 <tr><td colspan="2">
1360 constructor - creates a texture data object and loads it from a stream </p>
1361 <h6 class="description_section">Parameters</h6>
1362 <dl class="parameters">
1364 <dd>stream to load texture from</dd>
1368 <table class="detail wide_list">
1370 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1371 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; aData: PByte = nil); overload;</code></td>
1373 <tr><td colspan="2">
1375 constructor - creates a texture data object with the given size, format and data </p>
1376 <h6 class="description_section">Parameters</h6>
1377 <dl class="parameters">
1379 <dd>size of the texture</dd>
1381 <dd>format of the given data</dd>
1383 <dd>texture data - be carefull: the data will now be managed by the texture data object</dd>
1387 <table class="detail wide_list">
1389 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1390 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>; const aFormat: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>; const aFunc: <a href="glBitmap.html#TglBitmapFunction">TglBitmapFunction</a>; const aArgs: Pointer = nil); overload;</code></td>
1392 <tr><td colspan="2">
1394 constructor - creates a texture data object with the given size and format and uses the given callback to create the data </p>
1395 <h6 class="description_section">Parameters</h6>
1396 <dl class="parameters">
1398 <dd>size of the texture</dd>
1400 <dd>format of the given data</dd>
1402 <dd>callback to use for generating the data</dd>
1404 <dd>user defined parameters (use at will)</dd>
1408 <table class="detail wide_list">
1410 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1411 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aInstance: Cardinal; const aResource: String; const aResType: PChar = nil); overload;</code></td>
1413 <tr><td colspan="2">
1415 constructor - creates a texture data object and loads it from a resource </p>
1416 <h6 class="description_section">Parameters</h6>
1417 <dl class="parameters">
1419 <dd>resource handle</dd>
1421 <dd>resource indentifier</dd>
1423 <dd>resource type (if known)</dd>
1427 <table class="detail wide_list">
1429 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1430 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aInstance: Cardinal; const aResourceID: Integer; const aResType: PChar); overload;</code></td>
1432 <tr><td colspan="2">
1434 constructor - creates a texture data object and loads it from a resource </p>
1435 <h6 class="description_section">Parameters</h6>
1436 <dl class="parameters">
1438 <dd>resource handle</dd>
1439 <dt>aResourceID</dt>
1440 <dd>resource ID</dd>
1442 <dd>resource type (if known)</dd>
1446 <table class="detail wide_list">
1448 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1449 <td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
1451 <tr><td colspan="2">
1456 <h3 class="detail">Properties</h3>
1457 <table class="detail wide_list">
1459 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1460 <td class="itemcode"><a name="Data"></a><code>property <b>Data</b>: PByte read <a href="glBitmap.TglBitmapData.html#fData">fData</a>;</code></td>
1462 <tr><td colspan="2">
1464 texture data (be carefull with this!)</p>
1467 <table class="detail wide_list">
1469 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1470 <td class="itemcode"><a name="Dimension"></a><code>property <b>Dimension</b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a> read <a href="glBitmap.TglBitmapData.html#fDimension">fDimension</a>;</code></td>
1472 <tr><td colspan="2">
1474 size of the texture data (in pixel)</p>
1477 <table class="detail wide_list">
1479 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1480 <td class="itemcode"><a name="Filename"></a><code>property <b>Filename</b>: String read <a href="glBitmap.TglBitmapData.html#fFilename">fFilename</a>;</code></td>
1482 <tr><td colspan="2">
1484 file the data was loaded from</p>
1487 <table class="detail wide_list">
1489 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1490 <td class="itemcode"><a name="Width"></a><code>property <b>Width</b>: Integer read <a href="glBitmap.TglBitmapData.html#GetWidth">GetWidth</a>;</code></td>
1492 <tr><td colspan="2">
1494 width of the texture data (in pixel)</p>
1497 <table class="detail wide_list">
1499 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1500 <td class="itemcode"><a name="Height"></a><code>property <b>Height</b>: Integer read <a href="glBitmap.TglBitmapData.html#GetHeight">GetHeight</a>;</code></td>
1502 <tr><td colspan="2">
1504 height of the texture data (in pixel)</p>
1507 <table class="detail wide_list">
1509 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1510 <td class="itemcode"><a name="Format"></a><code>property <b>Format</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapData.html#fFormat">fFormat</a> write <a href="glBitmap.TglBitmapData.html#SetFormat">SetFormat</a>;</code></td>
1512 <tr><td colspan="2">
1514 format the texture data is stored in</p>
1517 <table class="detail wide_list">
1519 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1520 <td class="itemcode"><a name="Scanlines"></a><code>property <b>Scanlines</b>[constaIndex:Integer]: PByte read <a href="glBitmap.TglBitmapData.html#GetScanlines">GetScanlines</a>;</code></td>
1522 <tr><td colspan="2">
1524 pointer to begin of line at given index or <code>Nil</code></p>
1527 <table class="detail wide_list">
1529 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
1530 <td class="itemcode"><a name="FormatDescriptor"></a><code>property <b>FormatDescriptor</b>: <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a> read <a href="glBitmap.TglBitmapData.html#GetFormatDescriptor">GetFormatDescriptor</a>;</code></td>
1532 <tr><td colspan="2">
1534 descriptor object that describes the format of the stored data</p>
1537 <hr noshade size="1"><span class="appinfo"><em>Generated by <a href="http://pasdoc.sourceforge.net/">PasDoc 0.13.0</a> on 2014-12-24 04:27:09</em>
1539 </td></tr></table></body></html>