You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
4.3 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
  2. <html>
  3. <head>
  4. <title>glBitmap: Class TglBitmapNormalMap</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">
  8. </head>
  9. <body>
  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="TglBitmapNormalMap"></a><h1 class="cio">Class TglBitmapNormalMap</h1>
  13. <table class="sections wide_list">
  14. <tr>
  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>
  17. <p class="unitlink">
  18. <a href="glBitmap.html">glBitmap</a></p>
  19. <h2 class="declaration">Declaration</h2>
  20. <p class="declaration">
  21. <code>type TglBitmapNormalMap = class(<a class="normal" href="glBitmap.TglBitmapCubeMap.html">TglBitmapCubeMap</a>)</code></p>
  22. <h2 class="description">Description</h2>
  23. <p>
  24. wrapper class for cube normal maps</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="ancestor"><a class="normal" href="glBitmap.TglBitmapCubeMap.html">TglBitmapCubeMap</a></li>
  30. <li class="thisitem">TglBitmapNormalMap</li></ul><h2 class="overview">Overview</h2>
  31. <a name="PasDoc-Methods"></a><h3 class="summary">Methods</h3>
  32. <table class="summary wide_list">
  33. <tr class="list">
  34. <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
  35. <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapNormalMap.html#AfterConstruction">AfterConstruction</a></b>; override;</code></td>
  36. </tr>
  37. <tr class="list2">
  38. <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
  39. <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmapNormalMap.html#GenerateNormalMap">GenerateNormalMap</a></b>(const aSize: Integer = 32; const aTestTextureSize: Boolean = true);</code></td>
  40. </tr>
  41. </table>
  42. <h2 class="description">Description</h2>
  43. <h3 class="detail">Methods</h3>
  44. <table class="detail wide_list">
  45. <tr class="list">
  46. <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
  47. <td class="itemcode"><a name="AfterConstruction"></a><code>procedure <b>AfterConstruction</b>; override;</code></td>
  48. </tr>
  49. <tr><td colspan="2">
  50. <p>
  51. this method is called after constructor and initializes the object</p>
  52. </td></tr>
  53. </table>
  54. <table class="detail wide_list">
  55. <tr class="list">
  56. <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
  57. <td class="itemcode"><a name="GenerateNormalMap"></a><code>procedure <b>GenerateNormalMap</b>(const aSize: Integer = 32; const aTestTextureSize: Boolean = true);</code></td>
  58. </tr>
  59. <tr><td colspan="2">
  60. <p>
  61. create cube normal map from texture data and upload it to video card </p>
  62. <h6 class="description_section">Parameters</h6>
  63. <dl class="parameters">
  64. <dt>aSize</dt>
  65. <dd>size of each cube map texture</dd>
  66. <dt>aTestTextureSize</dt>
  67. <dd>check texture size when uploading and throw exception if something is wrong</dd>
  68. </dl>
  69. </td></tr>
  70. </table>
  71. <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>
  72. </span>
  73. </td></tr></table></body></html>