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 TglBitmapFormatDescriptor</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="TglBitmapFormatDescriptor"></a><h1 class="cio">Class TglBitmapFormatDescriptor</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 TglBitmapFormatDescriptor = class(TObject)</code></p>
22 <h2 class="description">Description</h2>
24 describes the properties of a given texture data format</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">TglBitmapFormatDescriptor</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.TglBitmapFormatDescriptor.html#fBytesPerPixel">fBytesPerPixel</a></b>: Single;</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.TglBitmapFormatDescriptor.html#fChannelCount">fChannelCount</a></b>: Integer;</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.TglBitmapFormatDescriptor.html#fMask">fMask</a></b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</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.TglBitmapFormatDescriptor.html#fRange">fRange</a></b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a>;</code></td>
47 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
48 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fFormat">fFormat</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
51 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
52 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
55 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
56 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fWithoutAlpha">fWithoutAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
59 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
60 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fOpenGLFormat">fOpenGLFormat</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
63 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
64 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fRGBInverted">fRGBInverted</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
67 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
68 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fUncompressed">fUncompressed</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
71 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
72 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fBitsPerPixel">fBitsPerPixel</a></b>: Integer;</code></td>
75 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
76 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fIsCompressed">fIsCompressed</a></b>: Boolean;</code></td>
79 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
80 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fPrecision">fPrecision</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
83 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
84 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fShift">fShift</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
87 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
88 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fglFormat">fglFormat</a></b>: GLenum;</code></td>
91 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
92 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fglInternalFormat">fglInternalFormat</a></b>: GLenum;</code></td>
95 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
96 <td class="itemcode"><code><b><a href="glBitmap.TglBitmapFormatDescriptor.html#fglDataFormat">fglDataFormat</a></b>: GLenum;</code></td>
99 <a name="PasDoc-Methods"></a><h3 class="summary">Methods</h3>
100 <table class="summary wide_list">
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.TglBitmapFormatDescriptor.html#GetHasRed">GetHasRed</a></b>: 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>function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasGreen">GetHasGreen</a></b>: Boolean;</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.TglBitmapFormatDescriptor.html#GetHasBlue">GetHasBlue</a></b>: 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>function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasAlpha">GetHasAlpha</a></b>: Boolean;</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.TglBitmapFormatDescriptor.html#GetHasColor">GetHasColor</a></b>: 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>function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetIsGrayscale">GetIsGrayscale</a></b>: Boolean;</code></td>
126 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
127 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapFormatDescriptor.html#SetValues">SetValues</a></b>; virtual;</code></td>
130 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
131 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapFormatDescriptor.html#CalcValues">CalcValues</a></b>;</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>constructor <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Create">Create</a></b>;</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>class function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetByFormat">GetByFormat</a></b>(const aInternalFormat: GLenum): <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a>;</code></td>
142 <a name="PasDoc-Properties"></a><h3 class="summary">Properties</h3>
143 <table class="summary wide_list">
145 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
146 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Format">Format</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fFormat">fFormat</a>;</code></td>
149 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
150 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#ChannelCount">ChannelCount</a></b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fChannelCount">fChannelCount</a>;</code></td>
153 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
154 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#IsCompressed">IsCompressed</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#fIsCompressed">fIsCompressed</a>;</code></td>
157 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
158 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#BitsPerPixel">BitsPerPixel</a></b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBitsPerPixel">fBitsPerPixel</a>;</code></td>
161 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
162 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#BytesPerPixel">BytesPerPixel</a></b>: Single read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBytesPerPixel">fBytesPerPixel</a>;</code></td>
165 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
166 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Precision">Precision</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fPrecision">fPrecision</a>;</code></td>
169 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
170 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Shift">Shift</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fShift">fShift</a>;</code></td>
173 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
174 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Range">Range</a></b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRange">fRange</a>;</code></td>
177 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
178 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Mask">Mask</a></b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fMask">fMask</a>;</code></td>
181 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
182 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#RGBInverted">RGBInverted</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRGBInverted">fRGBInverted</a>;</code></td>
185 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
186 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#WithAlpha">WithAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</a>;</code></td>
189 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
190 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#WithoutAlpha">WithoutAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</a>;</code></td>
193 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
194 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#OpenGLFormat">OpenGLFormat</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fOpenGLFormat">fOpenGLFormat</a>;</code></td>
197 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
198 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Uncompressed">Uncompressed</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fUncompressed">fUncompressed</a>;</code></td>
201 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
202 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#glFormat">glFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglFormat">fglFormat</a>;</code></td>
205 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
206 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#glInternalFormat">glInternalFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglInternalFormat">fglInternalFormat</a>;</code></td>
209 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
210 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#glDataFormat">glDataFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglDataFormat">fglDataFormat</a>;</code></td>
213 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
214 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#HasRed">HasRed</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasRed">GetHasRed</a>;</code></td>
217 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
218 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#HasGreen">HasGreen</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasGreen">GetHasGreen</a>;</code></td>
221 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
222 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#HasBlue">HasBlue</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasBlue">GetHasBlue</a>;</code></td>
225 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
226 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#HasAlpha">HasAlpha</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasAlpha">GetHasAlpha</a>;</code></td>
229 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
230 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#HasColor">HasColor</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasColor">GetHasColor</a>;</code></td>
233 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
234 <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmapFormatDescriptor.html#IsGrayscale">IsGrayscale</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetIsGrayscale">GetIsGrayscale</a>;</code></td>
237 <h2 class="description">Description</h2>
238 <h3 class="detail">Fields</h3>
239 <table class="detail wide_list">
241 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
242 <td class="itemcode"><a name="fBytesPerPixel"></a><code><b>fBytesPerPixel</b>: Single;</code></td>
246 number of bytes for each pixel</p>
249 <table class="detail wide_list">
251 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
252 <td class="itemcode"><a name="fChannelCount"></a><code><b>fChannelCount</b>: Integer;</code></td>
256 number of color channels</p>
259 <table class="detail wide_list">
261 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
262 <td class="itemcode"><a name="fMask"></a><code><b>fMask</b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</a>;</code></td>
266 bitmask for each color channel</p>
269 <table class="detail wide_list">
271 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
272 <td class="itemcode"><a name="fRange"></a><code><b>fRange</b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a>;</code></td>
276 maximal value of each color channel</p>
279 <table class="detail wide_list">
281 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
282 <td class="itemcode"><a name="fFormat"></a><code><b>fFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
286 format this descriptor belongs to</p>
289 <table class="detail wide_list">
291 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
292 <td class="itemcode"><a name="fWithAlpha"></a><code><b>fWithAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
296 suitable format with alpha channel</p>
299 <table class="detail wide_list">
301 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
302 <td class="itemcode"><a name="fWithoutAlpha"></a><code><b>fWithoutAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
306 suitable format without alpha channel</p>
309 <table class="detail wide_list">
311 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
312 <td class="itemcode"><a name="fOpenGLFormat"></a><code><b>fOpenGLFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
316 suitable format that is supported by OpenGL</p>
319 <table class="detail wide_list">
321 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
322 <td class="itemcode"><a name="fRGBInverted"></a><code><b>fRGBInverted</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
326 suitable format with inverted RGB channels</p>
329 <table class="detail wide_list">
331 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
332 <td class="itemcode"><a name="fUncompressed"></a><code><b>fUncompressed</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
336 suitable format with uncompressed data</p>
339 <table class="detail wide_list">
341 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
342 <td class="itemcode"><a name="fBitsPerPixel"></a><code><b>fBitsPerPixel</b>: Integer;</code></td>
346 number of bits per pixel</p>
349 <table class="detail wide_list">
351 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
352 <td class="itemcode"><a name="fIsCompressed"></a><code><b>fIsCompressed</b>: Boolean;</code></td>
356 <code>True</code> if the format is compressed, <code>False</code> otherwise</p>
359 <table class="detail wide_list">
361 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
362 <td class="itemcode"><a name="fPrecision"></a><code><b>fPrecision</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
366 number of bits for each color channel</p>
369 <table class="detail wide_list">
371 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
372 <td class="itemcode"><a name="fShift"></a><code><b>fShift</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
376 bit offset for each color channel</p>
379 <table class="detail wide_list">
381 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
382 <td class="itemcode"><a name="fglFormat"></a><code><b>fglFormat</b>: GLenum;</code></td>
386 OpenGL format enum (e.g. GL_RGB)</p>
389 <table class="detail wide_list">
391 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
392 <td class="itemcode"><a name="fglInternalFormat"></a><code><b>fglInternalFormat</b>: GLenum;</code></td>
396 OpenGL internal format enum (e.g. GL_RGB8)</p>
399 <table class="detail wide_list">
401 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
402 <td class="itemcode"><a name="fglDataFormat"></a><code><b>fglDataFormat</b>: GLenum;</code></td>
406 OpenGL data format enum (e.g. GL_UNSIGNED_BYTE)</p>
409 <h3 class="detail">Methods</h3>
410 <table class="detail wide_list">
412 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
413 <td class="itemcode"><a name="GetHasRed"></a><code>function <b>GetHasRed</b>: Boolean;</code></td>
416 <h6 class="description_section">Returns</h6>
417 <p class="return"><code>True</code> if the format has a red color channel, <code>False</code> otherwise</p></td></tr>
419 <table class="detail wide_list">
421 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
422 <td class="itemcode"><a name="GetHasGreen"></a><code>function <b>GetHasGreen</b>: Boolean;</code></td>
425 <h6 class="description_section">Returns</h6>
426 <p class="return"><code>True</code> if the format has a green color channel, <code>False</code> otherwise</p></td></tr>
428 <table class="detail wide_list">
430 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
431 <td class="itemcode"><a name="GetHasBlue"></a><code>function <b>GetHasBlue</b>: Boolean;</code></td>
434 <h6 class="description_section">Returns</h6>
435 <p class="return"><code>True</code> if the format has a blue color channel, <code>False</code> otherwise</p></td></tr>
437 <table class="detail wide_list">
439 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
440 <td class="itemcode"><a name="GetHasAlpha"></a><code>function <b>GetHasAlpha</b>: Boolean;</code></td>
443 <h6 class="description_section">Returns</h6>
444 <p class="return"><code>True</code> if the format has a alpha color channel, <code>False</code> otherwise</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="GetHasColor"></a><code>function <b>GetHasColor</b>: Boolean;</code></td>
452 <h6 class="description_section">Returns</h6>
453 <p class="return"><code>True</code> if the format has any color color channel, <code>False</code> otherwise</p></td></tr>
455 <table class="detail wide_list">
457 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
458 <td class="itemcode"><a name="GetIsGrayscale"></a><code>function <b>GetIsGrayscale</b>: Boolean;</code></td>
461 <h6 class="description_section">Returns</h6>
462 <p class="return"><code>True</code> if the format is a grayscale format, <code>False</code> otherwise</p></td></tr>
464 <table class="detail wide_list">
466 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
467 <td class="itemcode"><a name="SetValues"></a><code>procedure <b>SetValues</b>; virtual;</code></td>
471 set values for this format descriptor</p>
474 <table class="detail wide_list">
476 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
477 <td class="itemcode"><a name="CalcValues"></a><code>procedure <b>CalcValues</b>;</code></td>
481 calculate cached values</p>
484 <table class="detail wide_list">
486 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
487 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
494 <table class="detail wide_list">
496 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
497 <td class="itemcode"><a name="GetByFormat"></a><code>class function <b>GetByFormat</b>(const aInternalFormat: GLenum): <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a>;</code></td>
501 get the format descriptor by a given OpenGL internal format </p>
502 <h6 class="description_section">Parameters</h6>
503 <dl class="parameters">
504 <dt>aInternalFormat</dt>
505 <dd>OpenGL internal format to get format descriptor for</dd>
507 <h6 class="description_section">Returns</h6>
508 <p class="return">suitable format descriptor or tfEmpty-Descriptor</p></td></tr>
510 <h3 class="detail">Properties</h3>
511 <table class="detail wide_list">
513 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
514 <td class="itemcode"><a name="Format"></a><code>property <b>Format</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fFormat">fFormat</a>;</code></td>
518 format this descriptor belongs to</p>
521 <table class="detail wide_list">
523 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
524 <td class="itemcode"><a name="ChannelCount"></a><code>property <b>ChannelCount</b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fChannelCount">fChannelCount</a>;</code></td>
528 number of color channels</p>
531 <table class="detail wide_list">
533 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
534 <td class="itemcode"><a name="IsCompressed"></a><code>property <b>IsCompressed</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#fIsCompressed">fIsCompressed</a>;</code></td>
538 <code>True</code> if the format is compressed, <code>False</code> otherwise</p>
541 <table class="detail wide_list">
543 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
544 <td class="itemcode"><a name="BitsPerPixel"></a><code>property <b>BitsPerPixel</b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBitsPerPixel">fBitsPerPixel</a>;</code></td>
548 number of bytes per pixel</p>
551 <table class="detail wide_list">
553 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
554 <td class="itemcode"><a name="BytesPerPixel"></a><code>property <b>BytesPerPixel</b>: Single read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBytesPerPixel">fBytesPerPixel</a>;</code></td>
558 number of bits per pixel</p>
561 <table class="detail wide_list">
563 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
564 <td class="itemcode"><a name="Precision"></a><code>property <b>Precision</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fPrecision">fPrecision</a>;</code></td>
568 number of bits for each color channel</p>
571 <table class="detail wide_list">
573 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
574 <td class="itemcode"><a name="Shift"></a><code>property <b>Shift</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fShift">fShift</a>;</code></td>
578 bit offset for each color channel</p>
581 <table class="detail wide_list">
583 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
584 <td class="itemcode"><a name="Range"></a><code>property <b>Range</b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRange">fRange</a>;</code></td>
588 maximal value of each color channel</p>
591 <table class="detail wide_list">
593 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
594 <td class="itemcode"><a name="Mask"></a><code>property <b>Mask</b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fMask">fMask</a>;</code></td>
598 bitmask for each color channel</p>
601 <table class="detail wide_list">
603 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
604 <td class="itemcode"><a name="RGBInverted"></a><code>property <b>RGBInverted</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRGBInverted">fRGBInverted</a>;</code></td>
608 suitable format with inverted RGB channels</p>
611 <table class="detail wide_list">
613 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
614 <td class="itemcode"><a name="WithAlpha"></a><code>property <b>WithAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</a>;</code></td>
618 suitable format with alpha channel</p>
621 <table class="detail wide_list">
623 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
624 <td class="itemcode"><a name="WithoutAlpha"></a><code>property <b>WithoutAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</a>;</code></td>
628 suitable format without alpha channel</p>
631 <table class="detail wide_list">
633 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
634 <td class="itemcode"><a name="OpenGLFormat"></a><code>property <b>OpenGLFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fOpenGLFormat">fOpenGLFormat</a>;</code></td>
638 suitable format that is supported by OpenGL</p>
641 <table class="detail wide_list">
643 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
644 <td class="itemcode"><a name="Uncompressed"></a><code>property <b>Uncompressed</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fUncompressed">fUncompressed</a>;</code></td>
648 suitable format with uncompressed data</p>
651 <table class="detail wide_list">
653 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
654 <td class="itemcode"><a name="glFormat"></a><code>property <b>glFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglFormat">fglFormat</a>;</code></td>
658 OpenGL format enum (e.g. GL_RGB)</p>
661 <table class="detail wide_list">
663 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
664 <td class="itemcode"><a name="glInternalFormat"></a><code>property <b>glInternalFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglInternalFormat">fglInternalFormat</a>;</code></td>
668 OpenGL internal format enum (e.g. GL_RGB8)</p>
671 <table class="detail wide_list">
673 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
674 <td class="itemcode"><a name="glDataFormat"></a><code>property <b>glDataFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglDataFormat">fglDataFormat</a>;</code></td>
678 OpenGL data format enum (e.g. GL_UNSIGNED_BYTE)</p>
681 <table class="detail wide_list">
683 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
684 <td class="itemcode"><a name="HasRed"></a><code>property <b>HasRed</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasRed">GetHasRed</a>;</code></td>
688 <code>True</code> if the format has a red color channel, <code>False</code> otherwise</p>
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="HasGreen"></a><code>property <b>HasGreen</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasGreen">GetHasGreen</a>;</code></td>
698 <code>True</code> if the format has a green color channel, <code>False</code> otherwise</p>
701 <table class="detail wide_list">
703 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
704 <td class="itemcode"><a name="HasBlue"></a><code>property <b>HasBlue</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasBlue">GetHasBlue</a>;</code></td>
708 <code>True</code> if the format has a blue color channel, <code>False</code> otherwise</p>
711 <table class="detail wide_list">
713 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
714 <td class="itemcode"><a name="HasAlpha"></a><code>property <b>HasAlpha</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasAlpha">GetHasAlpha</a>;</code></td>
718 <code>True</code> if the format has a alpha color channel, <code>False</code> otherwise</p>
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="HasColor"></a><code>property <b>HasColor</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasColor">GetHasColor</a>;</code></td>
728 <code>True</code> if the format has any color color channel, <code>False</code> otherwise</p>
731 <table class="detail wide_list">
733 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
734 <td class="itemcode"><a name="IsGrayscale"></a><code>property <b>IsGrayscale</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetIsGrayscale">GetIsGrayscale</a>;</code></td>
738 <code>True</code> if the format is a grayscale format, <code>False</code> otherwise</p>
741 <hr noshade size="1"><span class="appinfo"><em>Generated by <a href="http://pasdoc.sourceforge.net/">PasDoc 0.13.0</a> on 2014-12-21 15:05:48</em>
743 </td></tr></table></body></html>