Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
| Public Constructors |
|
|
BitmapTextureAtlas(int pWidth, int pHeight)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, TextureOptions pTextureOptions)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
|
|
BitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
Public Constructors
public
BitmapTextureAtlas
(int pWidth, int pHeight)
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024).
|
public
BitmapTextureAtlas
(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pBitmapTextureFormat
| use RGBA_8888 for BitmapTextureAtlasMAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlasMAGIC_CONSTANT without transparency.
|
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pBitmapTextureFormat
| use RGBA_8888 for BitmapTextureAtlasMAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlasMAGIC_CONSTANT without transparency. |
| pTextureAtlasStateListener
| to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.
|
public
BitmapTextureAtlas
(int pWidth, int pHeight, TextureOptions pTextureOptions)
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pTextureOptions
| the (quality) settings of the BitmapTexture.
|
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pBitmapTextureFormat
| use RGBA_8888 for BitmapTextureAtlasMAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlasMAGIC_CONSTANT without transparency. |
| pTextureOptions
| the (quality) settings of the BitmapTexture.
|
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pTextureOptions
| the (quality) settings of the BitmapTexture. |
| pTextureAtlasStateListener
| to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.
|
Parameters
| pWidth
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pHeight
| must be a power of 2 (i.e. 32, 64, 128, 256, 512, 1024). |
| pBitmapTextureFormat
| use RGBA_8888 for BitmapTextureAtlasMAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlasMAGIC_CONSTANT without transparency. |
| pTextureOptions
| the (quality) settings of the BitmapTexture. |
| pTextureAtlasStateListener
| to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.
|
Public Methods
Protected Methods
protected
void
bindTextureOnHardware
(GL10 pGL)
protected
void
writeTextureToHardware
(GL10 pGL)