public abstract class

PVRTexture

extends Texture
java.lang.Object
   ↳ org.andengine.opengl.texture.Texture
     ↳ org.andengine.opengl.texture.compressed.pvr.PVRTexture
Known Direct Subclasses

Class Overview

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

Summary

Nested Classes
enum PVRTexture.PVRTextureFormat  
class PVRTexture.PVRTextureHeader  
Constants
int FLAG_ALPHA
int FLAG_BUMPMAP
int FLAG_CUBEMAP
int FLAG_FALSEMIPCOL
int FLAG_MIPMAP
int FLAG_TILING
int FLAG_TWIDDLE
int FLAG_VERTICALFLIP
int FLAG_VOLUME
[Expand]
Inherited Constants
From class org.andengine.opengl.texture.Texture
[Expand]
Inherited Fields
From class org.andengine.opengl.texture.Texture
Public Constructors
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, ITexture.ITextureStateListener pTextureStateListener)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, ITexture.ITextureStateListener pTextureStateListener)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions, ITexture.ITextureStateListener pTextureStateListener)
PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions, ITexture.ITextureStateListener pTextureStateListener)
Public Methods
int getHeight()
InputStream getInputStream()
ByteBuffer getPVRTextureBuffer()
PVRTexture.PVRTextureHeader getPVRTextureHeader()
int getWidth()
Protected Methods
abstract InputStream onGetInputStream()
void writeTextureToHardware(GLState pGLState)
[Expand]
Inherited Methods
From class org.andengine.opengl.texture.Texture
From class java.lang.Object
From interface org.andengine.opengl.texture.ITexture

Constants

public static final int FLAG_ALPHA

Constant Value: 32768 (0x00008000)

public static final int FLAG_BUMPMAP

Constant Value: 1024 (0x00000400)

public static final int FLAG_CUBEMAP

Constant Value: 4096 (0x00001000)

public static final int FLAG_FALSEMIPCOL

Constant Value: 8192 (0x00002000)

public static final int FLAG_MIPMAP

Constant Value: 256 (0x00000100)

public static final int FLAG_TILING

Constant Value: 2048 (0x00000800)

public static final int FLAG_TWIDDLE

Constant Value: 512 (0x00000200)

public static final int FLAG_VERTICALFLIP

Constant Value: 65536 (0x00010000)

public static final int FLAG_VOLUME

Constant Value: 16384 (0x00004000)

Public Constructors

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, ITexture.ITextureStateListener pTextureStateListener)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, ITexture.ITextureStateListener pTextureStateListener)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions, ITexture.ITextureStateListener pTextureStateListener)

public PVRTexture (TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions, ITexture.ITextureStateListener pTextureStateListener)

Public Methods

public int getHeight ()

public InputStream getInputStream ()

Throws
IOException

public ByteBuffer getPVRTextureBuffer ()

Throws
IOException

public PVRTexture.PVRTextureHeader getPVRTextureHeader ()

public int getWidth ()

Protected Methods

protected abstract InputStream onGetInputStream ()

Throws
IOException

protected void writeTextureToHardware (GLState pGLState)

Throws
IOException