public class

BitmapTextureAtlas

extends TextureAtlas<T extends ITextureAtlasSource>
java.lang.Object
   ↳ org.andengine.opengl.texture.Texture
     ↳ org.andengine.opengl.texture.atlas.TextureAtlas<T extends org.andengine.opengl.texture.atlas.source.ITextureAtlasSource>
       ↳ org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

[Expand]
Inherited Constants
From class org.andengine.opengl.texture.Texture
[Expand]
Inherited Fields
From class org.andengine.opengl.texture.atlas.TextureAtlas
From class org.andengine.opengl.texture.Texture
Public Constructors
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight)
Uses RGBA_8888.
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
Uses RGBA_8888.
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, TextureOptions pTextureOptions)
Uses RGBA_8888.
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
Uses RGBA_8888.
BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
Public Methods
void addEmptyTextureAtlasSource(int pTextureX, int pTextureY, int pWidth, int pHeight)
BitmapTexture.BitmapTextureFormat getBitmapTextureFormat()
Protected Methods
void writeTextureToHardware(GLState pGLState)
[Expand]
Inherited Methods
From class org.andengine.opengl.texture.atlas.TextureAtlas
From class org.andengine.opengl.texture.Texture
From class java.lang.Object
From interface org.andengine.opengl.texture.ITexture
From interface org.andengine.opengl.texture.atlas.ITextureAtlas

Public Constructors

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight)

Uses RGBA_8888.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat)

Parameters
pBitmapTextureFormat use RGBA_8888 or RGBA_4444 for a BitmapTextureAtlas with transparency and RGB_565 for a BitmapTextureAtlas without transparency.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)

Uses RGBA_8888.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)

Parameters
pBitmapTextureFormat use RGBA_8888 or RGBA_4444 for a BitmapTextureAtlas with transparency and RGB_565 for a BitmapTextureAtlas without transparency.
pTextureAtlasStateListener to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, TextureOptions pTextureOptions)

Uses RGBA_8888.

Parameters
pTextureOptions the (quality) settings of this BitmapTextureAtlas.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)

Parameters
pBitmapTextureFormat use RGBA_8888 or RGBA_4444 for a BitmapTextureAtlas with transparency and RGB_565 for a BitmapTextureAtlas without transparency.
pTextureOptions the (quality) settings of this BitmapTextureAtlas.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)

Uses RGBA_8888.

Parameters
pTextureOptions the (quality) settings of this BitmapTextureAtlas.
pTextureAtlasStateListener to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.

public BitmapTextureAtlas (TextureManager pTextureManager, int pWidth, int pHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)

Parameters
pBitmapTextureFormat use RGBA_8888 or RGBA_4444 for a BitmapTextureAtlas with transparency and RGB_565 for a BitmapTextureAtlas without transparency.
pTextureOptions the (quality) settings of this BitmapTextureAtlas.
pTextureAtlasStateListener to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.

Public Methods

public void addEmptyTextureAtlasSource (int pTextureX, int pTextureY, int pWidth, int pHeight)

public BitmapTexture.BitmapTextureFormat getBitmapTextureFormat ()

Protected Methods

protected void writeTextureToHardware (GLState pGLState)