Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Constructors |
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureStateListener)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureStateListener)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, TextureOptions pTextureOptions)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureStateListener)
|
|
BuildableBitmapTextureAtlas(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureStateListener)
|
Public Constructors
public
BuildableBitmapTextureAtlas
(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
BuildableBitmapTextureAtlas
(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 BitmapTextureAtlas MAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlas MAGIC_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). |
pTextureStateListener
| 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 BitmapTextureAtlas MAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlas MAGIC_CONSTANT without transparency. |
pTextureStateListener
| to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.
|
public
BuildableBitmapTextureAtlas
(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.
|
public
BuildableBitmapTextureAtlas
(int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, 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). |
pBitmapTextureFormat
| use RGBA_8888 for BitmapTextureAtlas MAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlas MAGIC_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. |
pTextureStateListener
| 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 BitmapTextureAtlas MAGIC_CONSTANT with transparency and RGB_565 for BitmapTextureAtlas MAGIC_CONSTANT without transparency. |
pTextureOptions
| the (quality) settings of the BitmapTexture. |
pTextureStateListener
| to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.
|