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 TglBitmapCubeMap</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="TglBitmapCubeMap"></a><h1 class="cio">Class TglBitmapCubeMap</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>Fields</td><td><a class="section" href="#PasDoc-Methods">Methods</a></td><td>Properties</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 TglBitmapCubeMap = class(<a class="normal" href="glBitmap.TglBitmap2D.html">TglBitmap2D</a>)</code></p>
22 <h2 class="description">Description</h2>
24 wrapper class for cube maps (OpenGL target = GL_TEXTURE_CUBE_MAP)</p>
25 <a name="PasDoc-Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
26 <ul class="hierarchy"><li class="ancestor">TObject</li>
27 <li class="ancestor"><a class="normal" href="glBitmap.TglBitmap.html">TglBitmap</a></li>
28 <li class="ancestor"><a class="normal" href="glBitmap.TglBitmap2D.html">TglBitmap2D</a></li>
29 <li class="thisitem">TglBitmapCubeMap</li></ul><h2 class="overview">Overview</h2>
30 <a name="PasDoc-Methods"></a><h3 class="summary">Methods</h3>
31 <table class="summary wide_list">
33 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
34 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapCubeMap.html#GenTexture">GenTexture</a></b>(const aTestTextureSize: Boolean = true); reintroduce;</code></td>
37 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
38 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapCubeMap.html#AfterConstruction">AfterConstruction</a></b>; override;</code></td>
41 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
42 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapCubeMap.html#GenerateCubeMap">GenerateCubeMap</a></b>(const aCubeTarget: Cardinal; const aTestTextureSize: Boolean = true);</code></td>
45 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
46 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapCubeMap.html#Bind">Bind</a></b>( const aEnableTextureUnit: Boolean = true); reintroduce; virtual;</code></td>
49 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
50 <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapCubeMap.html#Unbind">Unbind</a></b>( const aDisableTextureUnit: Boolean = true); reintroduce; virtual;</code></td>
53 <h2 class="description">Description</h2>
54 <h3 class="detail">Methods</h3>
55 <table class="detail wide_list">
57 <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
58 <td class="itemcode"><a name="GenTexture"></a><code>procedure <b>GenTexture</b>(const aTestTextureSize: Boolean = true); reintroduce;</code></td>
62 generate texture (create texture object if not exist, set texture parameters and upload data do not call directly for cubemaps, use GenerateCubeMap instead </p>
63 <h6 class="description_section">Parameters</h6>
64 <dl class="parameters">
65 <dt>aTestTextureSize</dt>
66 <dd>check the size of the texture and throw exception if something is wrong</dd>
70 <table class="detail wide_list">
72 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
73 <td class="itemcode"><a name="AfterConstruction"></a><code>procedure <b>AfterConstruction</b>; override;</code></td>
77 this method is called after constructor and initializes the object</p>
80 <table class="detail wide_list">
82 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
83 <td class="itemcode"><a name="GenerateCubeMap"></a><code>procedure <b>GenerateCubeMap</b>(const aCubeTarget: Cardinal; const aTestTextureSize: Boolean = true);</code></td>
87 generate texture (create texture object if not exist, set texture parameters and upload data </p>
88 <h6 class="description_section">Parameters</h6>
89 <dl class="parameters">
91 <dd>cube map target to upload data to (e.g. GL_TEXTURE_CUBE_MAP_POSITIVE_X)</dd>
92 <dt>aTestTextureSize</dt>
93 <dd>check the size of the texture and throw exception if something is wrong</dd>
97 <table class="detail wide_list">
99 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
100 <td class="itemcode"><a name="Bind"></a><code>procedure <b>Bind</b>( const aEnableTextureUnit: Boolean = true); reintroduce; virtual;</code></td>
105 <h6 class="description_section">Parameters</h6>
106 <dl class="parameters">
107 <dt>aEnableTexCoordsGen</dt>
108 <dd>enable cube map generator</dd>
109 <dt>aEnableTextureUnit</dt>
110 <dd>enable texture unit</dd>
114 <table class="detail wide_list">
116 <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
117 <td class="itemcode"><a name="Unbind"></a><code>procedure <b>Unbind</b>( const aDisableTextureUnit: Boolean = true); reintroduce; virtual;</code></td>
122 <h6 class="description_section">Parameters</h6>
123 <dl class="parameters">
124 <dt>aDisableTexCoordsGen</dt>
125 <dd>disable cube map generator</dd>
126 <dt>aDisableTextureUnit</dt>
127 <dd>disable texture unit</dd>
131 <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>
133 </td></tr></table></body></html>