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>function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetSize">GetSize</a></b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>): Integer; overload; 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.TglBitmapFormatDescriptor.html#GetSize">GetSize</a></b>(const aWidth, aHeight: Integer): Integer; overload; 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>constructor <b><a href="glBitmap.TglBitmapFormatDescriptor.html#Create">Create</a></b>;</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>class function <b><a href="glBitmap.TglBitmapFormatDescriptor.html#GetByFormat">GetByFormat</a></b>(const aInternalFormat: GLenum): <a href="glBitmap.TglBitmapFormatDescriptor.html">TglBitmapFormatDescriptor</a>;</code></td>
150 <a name="PasDoc-Properties"></a><h3 class="summary">Properties</h3>
151 <table class="summary wide_list">
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#Format">Format</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fFormat">fFormat</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#ChannelCount">ChannelCount</a></b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fChannelCount">fChannelCount</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#IsCompressed">IsCompressed</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#fIsCompressed">fIsCompressed</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#BitsPerPixel">BitsPerPixel</a></b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBitsPerPixel">fBitsPerPixel</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#BytesPerPixel">BytesPerPixel</a></b>: Single read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBytesPerPixel">fBytesPerPixel</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#Precision">Precision</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fPrecision">fPrecision</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#Shift">Shift</a></b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fShift">fShift</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#Range">Range</a></b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRange">fRange</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#Mask">Mask</a></b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fMask">fMask</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#RGBInverted">RGBInverted</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fRGBInverted">fRGBInverted</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#WithAlpha">WithAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</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#WithoutAlpha">WithoutAlpha</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fWithAlpha">fWithAlpha</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#OpenGLFormat">OpenGLFormat</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fOpenGLFormat">fOpenGLFormat</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#Uncompressed">Uncompressed</a></b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a> read <a href="glBitmap.TglBitmapFormatDescriptor.html#fUncompressed">fUncompressed</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#glFormat">glFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglFormat">fglFormat</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#glInternalFormat">glInternalFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglInternalFormat">fglInternalFormat</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#glDataFormat">glDataFormat</a></b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglDataFormat">fglDataFormat</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#HasRed">HasRed</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasRed">GetHasRed</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#HasGreen">HasGreen</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasGreen">GetHasGreen</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#HasBlue">HasBlue</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasBlue">GetHasBlue</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#HasAlpha">HasAlpha</a></b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasAlpha">GetHasAlpha</a>;</code></td>
237 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
238 <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>
241 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
242 <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>
245 <h2 class="description">Description</h2>
246 <h3 class="detail">Fields</h3>
247 <table class="detail wide_list">
249 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
250 <td class="itemcode"><a name="fBytesPerPixel"></a><code><b>fBytesPerPixel</b>: Single;</code></td>
254 number of bytes for each pixel</p>
257 <table class="detail wide_list">
259 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
260 <td class="itemcode"><a name="fChannelCount"></a><code><b>fChannelCount</b>: Integer;</code></td>
264 number of color channels</p>
267 <table class="detail wide_list">
269 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
270 <td class="itemcode"><a name="fMask"></a><code><b>fMask</b>: <a href="glBitmap.TglBitmapRec4ul.html">TglBitmapRec4ul</a>;</code></td>
274 bitmask for each color channel</p>
277 <table class="detail wide_list">
279 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
280 <td class="itemcode"><a name="fRange"></a><code><b>fRange</b>: <a href="glBitmap.TglBitmapRec4ui.html">TglBitmapRec4ui</a>;</code></td>
284 maximal value of each color channel</p>
287 <table class="detail wide_list">
289 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
290 <td class="itemcode"><a name="fFormat"></a><code><b>fFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
294 format this descriptor belongs to</p>
297 <table class="detail wide_list">
299 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
300 <td class="itemcode"><a name="fWithAlpha"></a><code><b>fWithAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
304 suitable format with alpha channel</p>
307 <table class="detail wide_list">
309 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
310 <td class="itemcode"><a name="fWithoutAlpha"></a><code><b>fWithoutAlpha</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
314 suitable format without alpha channel</p>
317 <table class="detail wide_list">
319 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
320 <td class="itemcode"><a name="fOpenGLFormat"></a><code><b>fOpenGLFormat</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
324 suitable format that is supported by OpenGL</p>
327 <table class="detail wide_list">
329 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
330 <td class="itemcode"><a name="fRGBInverted"></a><code><b>fRGBInverted</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
334 suitable format with inverted RGB channels</p>
337 <table class="detail wide_list">
339 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
340 <td class="itemcode"><a name="fUncompressed"></a><code><b>fUncompressed</b>: <a href="glBitmap.html#TglBitmapFormat">TglBitmapFormat</a>;</code></td>
344 suitable format with uncompressed data</p>
347 <table class="detail wide_list">
349 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
350 <td class="itemcode"><a name="fBitsPerPixel"></a><code><b>fBitsPerPixel</b>: Integer;</code></td>
354 number of bits per pixel</p>
357 <table class="detail wide_list">
359 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
360 <td class="itemcode"><a name="fIsCompressed"></a><code><b>fIsCompressed</b>: Boolean;</code></td>
364 <code>True</code> if the format is compressed, <code>False</code> otherwise</p>
367 <table class="detail wide_list">
369 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
370 <td class="itemcode"><a name="fPrecision"></a><code><b>fPrecision</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
374 number of bits for each color channel</p>
377 <table class="detail wide_list">
379 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
380 <td class="itemcode"><a name="fShift"></a><code><b>fShift</b>: <a href="glBitmap.TglBitmapRec4ub.html">TglBitmapRec4ub</a>;</code></td>
384 bit offset for each color channel</p>
387 <table class="detail wide_list">
389 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
390 <td class="itemcode"><a name="fglFormat"></a><code><b>fglFormat</b>: GLenum;</code></td>
394 OpenGL format enum (e.g. GL_RGB)</p>
397 <table class="detail wide_list">
399 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
400 <td class="itemcode"><a name="fglInternalFormat"></a><code><b>fglInternalFormat</b>: GLenum;</code></td>
404 OpenGL internal format enum (e.g. GL_RGB8)</p>
407 <table class="detail wide_list">
409 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
410 <td class="itemcode"><a name="fglDataFormat"></a><code><b>fglDataFormat</b>: GLenum;</code></td>
414 OpenGL data format enum (e.g. GL_UNSIGNED_BYTE)</p>
417 <h3 class="detail">Methods</h3>
418 <table class="detail wide_list">
420 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
421 <td class="itemcode"><a name="GetHasRed"></a><code>function <b>GetHasRed</b>: Boolean;</code></td>
424 <h6 class="description_section">Returns</h6>
425 <p class="return"><code>True</code> if the format has a red color channel, <code>False</code> otherwise</p></td></tr>
427 <table class="detail wide_list">
429 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
430 <td class="itemcode"><a name="GetHasGreen"></a><code>function <b>GetHasGreen</b>: Boolean;</code></td>
433 <h6 class="description_section">Returns</h6>
434 <p class="return"><code>True</code> if the format has a green color channel, <code>False</code> otherwise</p></td></tr>
436 <table class="detail wide_list">
438 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
439 <td class="itemcode"><a name="GetHasBlue"></a><code>function <b>GetHasBlue</b>: Boolean;</code></td>
442 <h6 class="description_section">Returns</h6>
443 <p class="return"><code>True</code> if the format has a blue color channel, <code>False</code> otherwise</p></td></tr>
445 <table class="detail wide_list">
447 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
448 <td class="itemcode"><a name="GetHasAlpha"></a><code>function <b>GetHasAlpha</b>: Boolean;</code></td>
451 <h6 class="description_section">Returns</h6>
452 <p class="return"><code>True</code> if the format has a alpha color channel, <code>False</code> otherwise</p></td></tr>
454 <table class="detail wide_list">
456 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
457 <td class="itemcode"><a name="GetHasColor"></a><code>function <b>GetHasColor</b>: Boolean;</code></td>
460 <h6 class="description_section">Returns</h6>
461 <p class="return"><code>True</code> if the format has any color color channel, <code>False</code> otherwise</p></td></tr>
463 <table class="detail wide_list">
465 <td class="visibility"><a href="legend.html"><img src="private.gif" alt="Private" title="Private"></a></td>
466 <td class="itemcode"><a name="GetIsGrayscale"></a><code>function <b>GetIsGrayscale</b>: Boolean;</code></td>
469 <h6 class="description_section">Returns</h6>
470 <p class="return"><code>True</code> if the format is a grayscale format, <code>False</code> otherwise</p></td></tr>
472 <table class="detail wide_list">
474 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
475 <td class="itemcode"><a name="SetValues"></a><code>procedure <b>SetValues</b>; virtual;</code></td>
479 set values for this format descriptor</p>
482 <table class="detail wide_list">
484 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
485 <td class="itemcode"><a name="CalcValues"></a><code>procedure <b>CalcValues</b>;</code></td>
489 calculate cached values</p>
492 <table class="detail wide_list">
494 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
495 <td class="itemcode"><a name="GetSize"></a><code>function <b>GetSize</b>(const aSize: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>): Integer; overload; virtual;</code></td>
500 <table class="detail wide_list">
502 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
503 <td class="itemcode"><a name="GetSize"></a><code>function <b>GetSize</b>(const aWidth, aHeight: Integer): Integer; overload; virtual;</code></td>
508 <table class="detail wide_list">
510 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
511 <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
518 <table class="detail wide_list">
520 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
521 <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>
525 get the format descriptor by a given OpenGL internal format </p>
526 <h6 class="description_section">Parameters</h6>
527 <dl class="parameters">
528 <dt>aInternalFormat</dt>
529 <dd>OpenGL internal format to get format descriptor for</dd>
531 <h6 class="description_section">Returns</h6>
532 <p class="return">suitable format descriptor or tfEmpty-Descriptor</p></td></tr>
534 <h3 class="detail">Properties</h3>
535 <table class="detail wide_list">
537 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
538 <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>
542 format this descriptor belongs to</p>
545 <table class="detail wide_list">
547 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
548 <td class="itemcode"><a name="ChannelCount"></a><code>property <b>ChannelCount</b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fChannelCount">fChannelCount</a>;</code></td>
552 number of color channels</p>
555 <table class="detail wide_list">
557 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
558 <td class="itemcode"><a name="IsCompressed"></a><code>property <b>IsCompressed</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#fIsCompressed">fIsCompressed</a>;</code></td>
562 <code>True</code> if the format is compressed, <code>False</code> otherwise</p>
565 <table class="detail wide_list">
567 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
568 <td class="itemcode"><a name="BitsPerPixel"></a><code>property <b>BitsPerPixel</b>: Integer read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBitsPerPixel">fBitsPerPixel</a>;</code></td>
572 number of bytes per pixel</p>
575 <table class="detail wide_list">
577 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
578 <td class="itemcode"><a name="BytesPerPixel"></a><code>property <b>BytesPerPixel</b>: Single read <a href="glBitmap.TglBitmapFormatDescriptor.html#fBytesPerPixel">fBytesPerPixel</a>;</code></td>
582 number of bits per pixel</p>
585 <table class="detail wide_list">
587 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
588 <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>
592 number of bits for each color channel</p>
595 <table class="detail wide_list">
597 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
598 <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>
602 bit offset for each color channel</p>
605 <table class="detail wide_list">
607 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
608 <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>
612 maximal value of each color channel</p>
615 <table class="detail wide_list">
617 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
618 <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>
622 bitmask for each color channel</p>
625 <table class="detail wide_list">
627 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
628 <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>
632 suitable format with inverted RGB channels</p>
635 <table class="detail wide_list">
637 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
638 <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>
642 suitable format with alpha channel</p>
645 <table class="detail wide_list">
647 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
648 <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>
652 suitable format without alpha channel</p>
655 <table class="detail wide_list">
657 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
658 <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>
662 suitable format that is supported by OpenGL</p>
665 <table class="detail wide_list">
667 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
668 <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>
672 suitable format with uncompressed data</p>
675 <table class="detail wide_list">
677 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
678 <td class="itemcode"><a name="glFormat"></a><code>property <b>glFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglFormat">fglFormat</a>;</code></td>
682 OpenGL format enum (e.g. GL_RGB)</p>
685 <table class="detail wide_list">
687 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
688 <td class="itemcode"><a name="glInternalFormat"></a><code>property <b>glInternalFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglInternalFormat">fglInternalFormat</a>;</code></td>
692 OpenGL internal format enum (e.g. GL_RGB8)</p>
695 <table class="detail wide_list">
697 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
698 <td class="itemcode"><a name="glDataFormat"></a><code>property <b>glDataFormat</b>: GLenum read <a href="glBitmap.TglBitmapFormatDescriptor.html#fglDataFormat">fglDataFormat</a>;</code></td>
702 OpenGL data format enum (e.g. GL_UNSIGNED_BYTE)</p>
705 <table class="detail wide_list">
707 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
708 <td class="itemcode"><a name="HasRed"></a><code>property <b>HasRed</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasRed">GetHasRed</a>;</code></td>
712 <code>True</code> if the format has a red color channel, <code>False</code> otherwise</p>
715 <table class="detail wide_list">
717 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
718 <td class="itemcode"><a name="HasGreen"></a><code>property <b>HasGreen</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasGreen">GetHasGreen</a>;</code></td>
722 <code>True</code> if the format has a green color channel, <code>False</code> otherwise</p>
725 <table class="detail wide_list">
727 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
728 <td class="itemcode"><a name="HasBlue"></a><code>property <b>HasBlue</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasBlue">GetHasBlue</a>;</code></td>
732 <code>True</code> if the format has a blue color channel, <code>False</code> otherwise</p>
735 <table class="detail wide_list">
737 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
738 <td class="itemcode"><a name="HasAlpha"></a><code>property <b>HasAlpha</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasAlpha">GetHasAlpha</a>;</code></td>
742 <code>True</code> if the format has a alpha color channel, <code>False</code> otherwise</p>
745 <table class="detail wide_list">
747 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
748 <td class="itemcode"><a name="HasColor"></a><code>property <b>HasColor</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetHasColor">GetHasColor</a>;</code></td>
752 <code>True</code> if the format has any color color channel, <code>False</code> otherwise</p>
755 <table class="detail wide_list">
757 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
758 <td class="itemcode"><a name="IsGrayscale"></a><code>property <b>IsGrayscale</b>: Boolean read <a href="glBitmap.TglBitmapFormatDescriptor.html#GetIsGrayscale">GetIsGrayscale</a>;</code></td>
762 <code>True</code> if the format is a grayscale format, <code>False</code> otherwise</p>
765 <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>
767 </td></tr></table></body></html>