|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A texture handle as returned by iTextureManager.
Field Summary | |
static int |
CS_TEX_IMG_1D
|
static int |
CS_TEX_IMG_2D
|
static int |
CS_TEX_IMG_3D
|
static int |
CS_TEX_IMG_CUBEMAP
|
static int |
CS_TEXTURE_CUBE_NEG_X
|
static int |
CS_TEXTURE_CUBE_NEG_Y
|
static int |
CS_TEXTURE_CUBE_NEG_Z
|
static int |
CS_TEXTURE_CUBE_POS_X
|
static int |
CS_TEXTURE_CUBE_POS_Y
|
static int |
CS_TEXTURE_CUBE_POS_Z
|
Method Summary | |
boolean |
getAlphaMap()
Query if the texture has an alpha channel. |
iPointer |
getCacheData()
Get data associated internally with this texture by texture cache. |
iGraphics2D |
getCanvas()
Get a canvas instance which is suitable for rendering on this texture. |
int |
getFlags()
Retrieve the flags set for this texture. |
byte[] |
getKeyColor()
Get the key color. |
boolean |
getKeyColorStatus()
Get the key color status (false if disabled, true if enabled);. |
byte[] |
getMeanColor()
Get the mean color. |
int[] |
getMipMapDimensions()
Get the dimensions for a given mipmap level (0 to 3);. |
int[] |
getOriginalDimensions()
Return the original dimensions of the image used to create this texture. |
void |
prepare()
Merge this texture into current palette, compute mipmaps and so on. |
void |
setCacheData(iPointer d)
Set data associated internally with this texture by texture cache. |
void |
setKeyColor(byte red,
byte green,
byte blue)
Set the key color. |
void |
setKeyColorStatus(boolean Enable)
Enable key color. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Field Detail |
public static final int CS_TEX_IMG_1D
public static final int CS_TEX_IMG_2D
public static final int CS_TEX_IMG_3D
public static final int CS_TEX_IMG_CUBEMAP
public static final int CS_TEXTURE_CUBE_POS_X
public static final int CS_TEXTURE_CUBE_NEG_X
public static final int CS_TEXTURE_CUBE_POS_Y
public static final int CS_TEXTURE_CUBE_NEG_Y
public static final int CS_TEXTURE_CUBE_POS_Z
public static final int CS_TEXTURE_CUBE_NEG_Z
Method Detail |
public boolean getAlphaMap()
public iPointer getCacheData()
public iGraphics2D getCanvas()
public int getFlags()
public byte[] getKeyColor()
public boolean getKeyColorStatus()
public byte[] getMeanColor()
public int[] getMipMapDimensions()
public int[] getOriginalDimensions()
public void prepare()
public void setCacheData(iPointer d)
d
- public void setKeyColor(byte red, byte green, byte blue)
red
- green
- blue
- public void setKeyColorStatus(boolean Enable)
Enable
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |