|
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
- <html>
- <head>
- <title>glBitmap: Class TglBitmap</title>
- <meta name="generator" content="PasDoc 0.13.0">
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
- <link rel="StyleSheet" type="text/css" href="pasdoc.css">
- </head>
- <body>
- <table class="container"><tr><td class="navigation">
- <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">
- <a name="TglBitmap"></a><h1 class="cio">Class TglBitmap</h1>
- <table class="sections wide_list">
- <tr>
- <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>
- <a name="PasDoc-Description"></a><h2 class="unit">Unit</h2>
- <p class="unitlink">
- <a href="glBitmap.html">glBitmap</a></p>
- <h2 class="declaration">Declaration</h2>
- <p class="declaration">
- <code>type TglBitmap = class(TObject)</code></p>
- <h2 class="description">Description</h2>
- <p>
- base class for all glBitmap classes. used to manage OpenGL texture objects all operations on a bitmap object must be done from the render thread</p>
- <a name="PasDoc-Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
- <ul class="hierarchy"><li class="ancestor">TObject</li>
- <li class="thisitem">TglBitmap</li></ul><h2 class="overview">Overview</h2>
- <a name="PasDoc-Fields"></a><h3 class="summary">Fields</h3>
- <table class="summary wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fID">fID</a></b>: GLuint;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fTarget">fTarget</a></b>: GLuint;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fDeleteTextureOnFree">fDeleteTextureOnFree</a></b>: Boolean;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fFilterMin">fFilterMin</a></b>: GLenum;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fFilterMag">fFilterMag</a></b>: GLenum;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fWrapS">fWrapS</a></b>: GLenum;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fWrapT">fWrapT</a></b>: GLenum;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fWrapR">fWrapR</a></b>: GLenum;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fAnisotropic">fAnisotropic</a></b>: Integer;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fBorderColor">fBorderColor</a></b>: array[0..3] of Single;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fSwizzle">fSwizzle</a></b>: array[0..3] of GLenum;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fDimension">fDimension</a></b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fMipMap">fMipMap</a></b>: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fCustomData">fCustomData</a></b>: Pointer;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fCustomName">fCustomName</a></b>: String;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code><b><a href="glBitmap.TglBitmap.html#fCustomNameW">fCustomNameW</a></b>: WideString;</code></td>
- </tr>
- </table>
- <a name="PasDoc-Methods"></a><h3 class="summary">Methods</h3>
- <table class="summary wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmap.html#GetWidth">GetWidth</a></b>: Integer; virtual;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>function <b><a href="glBitmap.TglBitmap.html#GetHeight">GetHeight</a></b>: Integer; virtual;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetCustomData">SetCustomData</a></b>(const aValue: Pointer);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetCustomName">SetCustomName</a></b>(const aValue: String);</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetCustomNameW">SetCustomNameW</a></b>(const aValue: WideString);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetDeleteTextureOnFree">SetDeleteTextureOnFree</a></b>(const aValue: Boolean);</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetID">SetID</a></b>(const aValue: Cardinal);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetMipMap">SetMipMap</a></b>(const aValue: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a>);</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetTarget">SetTarget</a></b>(const aValue: Cardinal);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetAnisotropic">SetAnisotropic</a></b>(const aValue: Integer);</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#CreateID">CreateID</a></b>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetupParameters">SetupParameters</a></b>();</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#AfterConstruction">AfterConstruction</a></b>; override;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#BeforeDestruction">BeforeDestruction</a></b>; override;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetFilter">SetFilter</a></b>(const aMin, aMag: GLenum);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetWrap">SetWrap</a></b>( const S: GLenum = GL_CLAMP_TO_EDGE; const T: GLenum = GL_CLAMP_TO_EDGE; const R: GLenum = GL_CLAMP_TO_EDGE);</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#SetSwizzle">SetSwizzle</a></b>(const r, g, b, a: GLenum);</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#Bind">Bind</a></b>(const aEnableTextureUnit: Boolean = true); virtual;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#Unbind">Unbind</a></b>(const aDisableTextureUnit: Boolean = true); virtual;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>procedure <b><a href="glBitmap.TglBitmap.html#UploadData">UploadData</a></b>(const aDataObj: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; const aCheckSize: Boolean = true); virtual;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmap.html#Create">Create</a></b>; overload;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>constructor <b><a href="glBitmap.TglBitmap.html#Create">Create</a></b>(const aData: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>); overload;</code></td>
- </tr>
- </table>
- <a name="PasDoc-Properties"></a><h3 class="summary">Properties</h3>
- <table class="summary wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#Width">Width</a></b>: Integer read <a href="glBitmap.TglBitmap.html#GetWidth">GetWidth</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#Height">Height</a></b>: Integer read <a href="glBitmap.TglBitmap.html#GetHeight">GetHeight</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#ID">ID</a></b>: Cardinal read <a href="glBitmap.TglBitmap.html#fID">fID</a> write <a href="glBitmap.TglBitmap.html#SetID">SetID</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#Target">Target</a></b>: Cardinal read <a href="glBitmap.TglBitmap.html#fTarget">fTarget</a> write <a href="glBitmap.TglBitmap.html#SetTarget">SetTarget</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#DeleteTextureOnFree">DeleteTextureOnFree</a></b>: Boolean read <a href="glBitmap.TglBitmap.html#fDeleteTextureOnFree">fDeleteTextureOnFree</a> write <a href="glBitmap.TglBitmap.html#SetDeleteTextureOnFree">SetDeleteTextureOnFree</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#MipMap">MipMap</a></b>: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a> read <a href="glBitmap.TglBitmap.html#fMipMap">fMipMap</a> write <a href="glBitmap.TglBitmap.html#SetMipMap">SetMipMap</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#Anisotropic">Anisotropic</a></b>: Integer read <a href="glBitmap.TglBitmap.html#fAnisotropic">fAnisotropic</a> write <a href="glBitmap.TglBitmap.html#SetAnisotropic">SetAnisotropic</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#CustomData">CustomData</a></b>: Pointer read <a href="glBitmap.TglBitmap.html#fCustomData">fCustomData</a> write <a href="glBitmap.TglBitmap.html#SetCustomData">SetCustomData</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#CustomName">CustomName</a></b>: String read <a href="glBitmap.TglBitmap.html#fCustomName">fCustomName</a> write <a href="glBitmap.TglBitmap.html#SetCustomName">SetCustomName</a>;</code></td>
- </tr>
- <tr class="list2">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#CustomNameW">CustomNameW</a></b>: WideString read <a href="glBitmap.TglBitmap.html#fCustomNameW">fCustomNameW</a> write <a href="glBitmap.TglBitmap.html#SetCustomNameW">SetCustomNameW</a>;</code></td>
- </tr>
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><code>property <b><a href="glBitmap.TglBitmap.html#Dimension">Dimension</a></b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a> read <a href="glBitmap.TglBitmap.html#fDimension">fDimension</a>;</code></td>
- </tr>
- </table>
- <h2 class="description">Description</h2>
- <h3 class="detail">Fields</h3>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fID"></a><code><b>fID</b>: GLuint;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- name of the OpenGL texture object</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fTarget"></a><code><b>fTarget</b>: GLuint;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- texture target (e.g. GL_TEXTURE_2D)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fDeleteTextureOnFree"></a><code><b>fDeleteTextureOnFree</b>: Boolean;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- delete OpenGL texture object when this object is destroyed</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fFilterMin"></a><code><b>fFilterMin</b>: GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- min filter to apply to the texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fFilterMag"></a><code><b>fFilterMag</b>: GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- mag filter to apply to the texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fWrapS"></a><code><b>fWrapS</b>: GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- texture wrapping for x axis</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fWrapT"></a><code><b>fWrapT</b>: GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- texture wrapping for y axis</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fWrapR"></a><code><b>fWrapR</b>: GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- texture wrapping for z axis</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fAnisotropic"></a><code><b>fAnisotropic</b>: Integer;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- anisotropic level</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fBorderColor"></a><code><b>fBorderColor</b>: array[0..3] of Single;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- color of the texture border</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fSwizzle"></a><code><b>fSwizzle</b>: array[0..3] of GLenum;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- color channel swizzle</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fDimension"></a><code><b>fDimension</b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- size of this texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fMipMap"></a><code><b>fMipMap</b>: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- mipmap type</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fCustomData"></a><code><b>fCustomData</b>: Pointer;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined data</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fCustomName"></a><code><b>fCustomName</b>: String;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined name</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="fCustomNameW"></a><code><b>fCustomNameW</b>: WideString;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined name</p>
- </td></tr>
- </table>
- <h3 class="detail">Methods</h3>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="GetWidth"></a><code>function <b>GetWidth</b>: Integer; virtual;</code></td>
- </tr>
- <tr><td colspan="2">
- <h6 class="description_section">Returns</h6>
- <p class="return">the actual width of the texture</p></td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="GetHeight"></a><code>function <b>GetHeight</b>: Integer; virtual;</code></td>
- </tr>
- <tr><td colspan="2">
- <h6 class="description_section">Returns</h6>
- <p class="return">the actual height of the texture</p></td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetCustomData"></a><code>procedure <b>SetCustomData</b>(const aValue: Pointer);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set a new value for fCustomData</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetCustomName"></a><code>procedure <b>SetCustomName</b>(const aValue: String);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set a new value for fCustomName</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetCustomNameW"></a><code>procedure <b>SetCustomNameW</b>(const aValue: WideString);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set a new value for fCustomNameW</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetDeleteTextureOnFree"></a><code>procedure <b>SetDeleteTextureOnFree</b>(const aValue: Boolean);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new value for fDeleteTextureOnFree</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetID"></a><code>procedure <b>SetID</b>(const aValue: Cardinal);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set name of OpenGL texture object</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetMipMap"></a><code>procedure <b>SetMipMap</b>(const aValue: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a>);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new value for fMipMap</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetTarget"></a><code>procedure <b>SetTarget</b>(const aValue: Cardinal);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new value for target</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetAnisotropic"></a><code>procedure <b>SetAnisotropic</b>(const aValue: Integer);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new value for fAnisotrophic</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="CreateID"></a><code>procedure <b>CreateID</b>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- create OpenGL texture object (delete exisiting object if exists)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="SetupParameters"></a><code>procedure <b>SetupParameters</b>();</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- setup texture parameters</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="AfterConstruction"></a><code>procedure <b>AfterConstruction</b>; override;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- this method is called after the constructor and sets the default values of this object</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="BeforeDestruction"></a><code>procedure <b>BeforeDestruction</b>; override;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- this method is called before the destructor and does some cleanup</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="SetFilter"></a><code>procedure <b>SetFilter</b>(const aMin, aMag: GLenum);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new texture filer </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>aMin</dt>
- <dd>min filter</dd>
- <dt>aMag</dt>
- <dd>mag filter</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="SetWrap"></a><code>procedure <b>SetWrap</b>( const S: GLenum = GL_CLAMP_TO_EDGE; const T: GLenum = GL_CLAMP_TO_EDGE; const R: GLenum = GL_CLAMP_TO_EDGE);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new texture wrapping </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>S</dt>
- <dd>texture wrapping for x axis</dd>
- <dt>T</dt>
- <dd>texture wrapping for y axis</dd>
- <dt>R</dt>
- <dd>texture wrapping for z axis</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="SetSwizzle"></a><code>procedure <b>SetSwizzle</b>(const r, g, b, a: GLenum);</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- set new swizzle </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>r</dt>
- <dd>swizzle for red channel</dd>
- <dt>g</dt>
- <dd>swizzle for green channel</dd>
- <dt>b</dt>
- <dd>swizzle for blue channel</dd>
- <dt>a</dt>
- <dd>swizzle for alpha channel</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Bind"></a><code>procedure <b>Bind</b>(const aEnableTextureUnit: Boolean = true); virtual;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- bind texture </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>aEnableTextureUnit</dt>
- <dd>enable texture unit for this texture (e.g. glEnable(GL_TEXTURE_2D))</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Unbind"></a><code>procedure <b>Unbind</b>(const aDisableTextureUnit: Boolean = true); virtual;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- bind texture </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>aDisableTextureUnit</dt>
- <dd>disable texture unit for this texture (e.g. glEnable(GL_TEXTURE_2D))</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="UploadData"></a><code>procedure <b>UploadData</b>(const aDataObj: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>; const aCheckSize: Boolean = true); virtual;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- upload texture data from given data object to video card </p>
- <h6 class="description_section">Parameters</h6>
- <dl class="parameters">
- <dt>aData</dt>
- <dd>texture data object that contains the actual data</dd>
- <dt>aCheckSize</dt>
- <dd>check size before upload and throw exception if something is wrong</dd>
- </dl>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>; overload;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- constructor - creates an empty texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aData: <a href="glBitmap.TglBitmapData.html">TglBitmapData</a>); overload;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- constructor - creates an texture object and uploads the given data</p>
- </td></tr>
- </table>
- <h3 class="detail">Properties</h3>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="Width"></a><code>property <b>Width</b>: Integer read <a href="glBitmap.TglBitmap.html#GetWidth">GetWidth</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- the actual width of the texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
- <td class="itemcode"><a name="Height"></a><code>property <b>Height</b>: Integer read <a href="glBitmap.TglBitmap.html#GetHeight">GetHeight</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- the actual height of the texture</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="ID"></a><code>property <b>ID</b>: Cardinal read <a href="glBitmap.TglBitmap.html#fID">fID</a> write <a href="glBitmap.TglBitmap.html#SetID">SetID</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- name of the OpenGL texture object</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Target"></a><code>property <b>Target</b>: Cardinal read <a href="glBitmap.TglBitmap.html#fTarget">fTarget</a> write <a href="glBitmap.TglBitmap.html#SetTarget">SetTarget</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- texture target (e.g. GL_TEXTURE_2D)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="DeleteTextureOnFree"></a><code>property <b>DeleteTextureOnFree</b>: Boolean read <a href="glBitmap.TglBitmap.html#fDeleteTextureOnFree">fDeleteTextureOnFree</a> write <a href="glBitmap.TglBitmap.html#SetDeleteTextureOnFree">SetDeleteTextureOnFree</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- delete texture object when this object is destroyed</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="MipMap"></a><code>property <b>MipMap</b>: <a href="glBitmap.html#TglBitmapMipMap">TglBitmapMipMap</a> read <a href="glBitmap.TglBitmap.html#fMipMap">fMipMap</a> write <a href="glBitmap.TglBitmap.html#SetMipMap">SetMipMap</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- mipmap type</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Anisotropic"></a><code>property <b>Anisotropic</b>: Integer read <a href="glBitmap.TglBitmap.html#fAnisotropic">fAnisotropic</a> write <a href="glBitmap.TglBitmap.html#SetAnisotropic">SetAnisotropic</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- anisotropic level</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="CustomData"></a><code>property <b>CustomData</b>: Pointer read <a href="glBitmap.TglBitmap.html#fCustomData">fCustomData</a> write <a href="glBitmap.TglBitmap.html#SetCustomData">SetCustomData</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined data (use at will)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="CustomName"></a><code>property <b>CustomName</b>: String read <a href="glBitmap.TglBitmap.html#fCustomName">fCustomName</a> write <a href="glBitmap.TglBitmap.html#SetCustomName">SetCustomName</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined name (use at will)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="CustomNameW"></a><code>property <b>CustomNameW</b>: WideString read <a href="glBitmap.TglBitmap.html#fCustomNameW">fCustomNameW</a> write <a href="glBitmap.TglBitmap.html#SetCustomNameW">SetCustomNameW</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- user defined name (as WideString; use at will)</p>
- </td></tr>
- </table>
- <table class="detail wide_list">
- <tr class="list">
- <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
- <td class="itemcode"><a name="Dimension"></a><code>property <b>Dimension</b>: <a href="glBitmap.TglBitmapSize.html">TglBitmapSize</a> read <a href="glBitmap.TglBitmap.html#fDimension">fDimension</a>;</code></td>
- </tr>
- <tr><td colspan="2">
- <p>
- size of the texture</p>
- </td></tr>
- </table>
- <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>
- </span>
- </td></tr></table></body></html>
|