TextureBase
From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
`TextureBase` is the base class for `Texture` and `TexturePack` classes. It provides a common functionaly to texture related classes.
<ul>
<li>TextureBase.CLAMP = "clamp"</li>
<li>TextureBase.REPEAT = "repeat"</li>
</ul>
{|-
| style="width: 50%;"|
Methods
TextureBase:getHeight - returns the height of the texture in pixels
TextureBase:getWidth - returns the width of the texture in pixels
| style="width: 50%;"|
Events
Constants
TextureBase.CLAMP
TextureBase.REPEAT
TextureBase.RGB565
TextureBase.RGB888
TextureBase.RGBA4444
TextureBase.RGBA5551
TextureBase.RGBA8888
|}