TextureBase

From GiderosMobile
Revision as of 15:31, 13 September 2018 by Hgy29 (talk | contribs)


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2011.6
Inherits from: Object

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>

Methods

TextureBase:getHeight returns the height of the texture in pixels
TextureBase:getWidth returns the width of the texture in pixels

Events

Constants

TextureBase.CLAMP
TextureBase.REPEAT
TextureBase.RGB565
TextureBase.RGB888
TextureBase.RGBA4444
TextureBase.RGBA5551
TextureBase.RGBA8888