public class BitmapTextureAtlas extends TextureAtlas<IBitmapTextureAtlasSource>
ITextureAtlas.ITextureAtlasStateListener<T extends ITextureAtlasSource>mHeight, mTextureAtlasSources, mWidthHARDWARE_TEXTURE_ID_INVALID, mHardwareTextureID, mPixelFormat, mTextureManager, mTextureOptions, mTextureStateListener, mUpdateOnHardwareNeeded| Constructor and Description |
|---|
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight)
|
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
BitmapTextureFormat pBitmapTextureFormat) |
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
BitmapTextureFormat pBitmapTextureFormat,
ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener) |
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
BitmapTextureFormat pBitmapTextureFormat,
TextureOptions pTextureOptions) |
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
BitmapTextureFormat pBitmapTextureFormat,
TextureOptions pTextureOptions,
ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener) |
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
TextureOptions pTextureOptions)
|
BitmapTextureAtlas(TextureManager pTextureManager,
int pWidth,
int pHeight,
TextureOptions pTextureOptions,
ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEmptyTextureAtlasSource(int pTextureX,
int pTextureY,
int pWidth,
int pHeight) |
BitmapTextureFormat |
getBitmapTextureFormat() |
protected void |
writeTextureToHardware(GLState pGLState) |
addTextureAtlasSource, addTextureAtlasSource, clearTextureAtlasSources, getHeight, getTextureAtlasStateListener, getTextureStateListener, getWidth, hasTextureAtlasStateListener, hasTextureStateListener, removeTextureAtlasSource, setTextureAtlasStateListener, setTextureStateListenerbind, bind, getHardwareTextureID, getPixelFormat, getTextureOptions, isLoadedToHardware, isUpdateOnHardwareNeeded, load, load, loadToHardware, reloadToHardware, setNotLoadedToHardware, setUpdateOnHardwareNeeded, unload, unload, unloadFromHardwareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, bind, getHardwareTextureID, getPixelFormat, getTextureOptions, isLoadedToHardware, isUpdateOnHardwareNeeded, load, load, loadToHardware, reloadToHardware, setNotLoadedToHardware, setUpdateOnHardwareNeeded, unload, unload, unloadFromHardwarepublic BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight)
public BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTextureFormat pBitmapTextureFormat)
pBitmapTextureFormat - use BitmapTextureFormat.RGBA_8888 or BitmapTextureFormat.RGBA_4444 for a BitmapTextureAtlas with transparency and BitmapTextureFormat.RGB_565 for a BitmapTextureAtlas without transparency.public BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
pTextureStateListener - to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.public BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTextureFormat pBitmapTextureFormat, ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener)
pBitmapTextureFormat - use BitmapTextureFormat.RGBA_8888 or BitmapTextureFormat.RGBA_4444 for a BitmapTextureAtlas with transparency and BitmapTextureFormat.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) throws java.lang.IllegalArgumentException
pTextureOptions - the (quality) settings of this BitmapTextureAtlas.java.lang.IllegalArgumentExceptionpublic BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions) throws java.lang.IllegalArgumentException
pBitmapTextureFormat - use BitmapTextureFormat.RGBA_8888 or BitmapTextureFormat.RGBA_4444 for a BitmapTextureAtlas with transparency and BitmapTextureFormat.RGB_565 for a BitmapTextureAtlas without transparency.pTextureOptions - the (quality) settings of this BitmapTextureAtlas.java.lang.IllegalArgumentExceptionpublic BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener) throws java.lang.IllegalArgumentException
pTextureOptions - the (quality) settings of this BitmapTextureAtlas.pTextureAtlasStateListener - to be informed when this BitmapTextureAtlas is loaded, unloaded or a ITextureAtlasSource failed to load.java.lang.IllegalArgumentExceptionpublic BitmapTextureAtlas(TextureManager pTextureManager, int pWidth, int pHeight, BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, ITextureAtlas.ITextureAtlasStateListener<IBitmapTextureAtlasSource> pTextureAtlasStateListener) throws java.lang.IllegalArgumentException
pBitmapTextureFormat - use BitmapTextureFormat.RGBA_8888 or BitmapTextureFormat.RGBA_4444 for a BitmapTextureAtlas with transparency and BitmapTextureFormat.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.java.lang.IllegalArgumentExceptionpublic BitmapTextureFormat getBitmapTextureFormat()
public void addEmptyTextureAtlasSource(int pTextureX,
int pTextureY,
int pWidth,
int pHeight)
protected void writeTextureToHardware(GLState pGLState)
writeTextureToHardware in class Texture