public abstract class PVRTexture extends Texture
| Modifier and Type | Class and Description |
|---|---|
static class |
PVRTexture.PVRTextureFormat |
static class |
PVRTexture.PVRTextureHeader |
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_ALPHA |
static int |
FLAG_BUMPMAP |
static int |
FLAG_CUBEMAP |
static int |
FLAG_FALSEMIPCOL |
static int |
FLAG_MIPMAP |
static int |
FLAG_TILING |
static int |
FLAG_TWIDDLE |
static int |
FLAG_VERTICALFLIP |
static int |
FLAG_VOLUME |
HARDWARE_TEXTURE_ID_INVALID, mHardwareTextureID, mPixelFormat, mTextureManager, mTextureOptions, mTextureStateListener, mUpdateOnHardwareNeeded| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
java.io.InputStream |
getInputStream() |
java.nio.ByteBuffer |
getPVRTextureBuffer() |
PVRTexture.PVRTextureHeader |
getPVRTextureHeader() |
int |
getWidth() |
boolean |
hasMipMaps() |
protected abstract java.io.InputStream |
onGetInputStream() |
protected void |
writeTextureToHardware(GLState pGLState) |
bind, bind, getHardwareTextureID, getPixelFormat, getTextureOptions, getTextureStateListener, hasTextureStateListener, isLoadedToHardware, isUpdateOnHardwareNeeded, load, load, loadToHardware, reloadToHardware, setNotLoadedToHardware, setTextureStateListener, setUpdateOnHardwareNeeded, unload, unload, unloadFromHardwarepublic static final int FLAG_MIPMAP
public static final int FLAG_TWIDDLE
public static final int FLAG_BUMPMAP
public static final int FLAG_TILING
public static final int FLAG_CUBEMAP
public static final int FLAG_FALSEMIPCOL
public static final int FLAG_VOLUME
public static final int FLAG_ALPHA
public static final int FLAG_VERTICALFLIP
public PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, ITextureStateListener pTextureStateListener) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, ITextureStateListener pTextureStateListener) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic PVRTexture(TextureManager pTextureManager, PVRTexture.PVRTextureFormat pPVRTextureFormat, IPVRTexturePixelBufferStrategy pPVRTexturePixelBufferStrategy, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener) throws java.lang.IllegalArgumentException, java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic int getWidth()
public int getHeight()
public boolean hasMipMaps()
public PVRTexture.PVRTextureHeader getPVRTextureHeader()
protected abstract java.io.InputStream onGetInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionprotected void writeTextureToHardware(GLState pGLState) throws java.io.IOException
writeTextureToHardware in class Texturejava.io.IOExceptionpublic java.nio.ByteBuffer getPVRTextureBuffer()
throws java.io.IOException
java.io.IOException