|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.engine.texture.csTextureWrapper
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csTextureWrapper(iPointer nPointer)
|
|
| Method Summary | |
iTextureWrapper |
Clone()
Create a clone this texture wrapper, using the same texture handle. |
int |
getFlags()
Return the flags which are used to register the texture. |
iImage |
getImageFile()
Get the iImage. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
int[] |
getKeyColor()
Query the transparent color. |
java.lang.String |
getName()
Return the name of the interface |
iTextureHandle |
getTextureHandle()
Get the texture handle. |
iTextureCallback |
getUseCallback()
Get the use callback. |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe()
|
boolean |
isVisitRequired()
Return true if it is needed to call Visit();. |
boolean |
keepImage()
If this flag is true then the image will be kept even after calling Register. |
iObject |
queryObject()
Get the iObject for this texture. |
void |
register(iTextureManager txtmng)
Register the texture with the texture manager. |
void |
setFlags(int flags)
Set the flags which are used to register the texture. |
void |
setImageFile(iImage Image)
Change the base iImage. |
void |
setKeepImage(boolean k)
Set the keep image flag. |
void |
setKeyColor(int red,
int green,
int blue)
Set the transparent color. |
void |
setTextureHandle(iTextureHandle tex)
Change the texture handle. |
void |
setUseCallback(iTextureCallback callback)
Set a callback which is called just before the texture is used. |
void |
visit()
Visit this texture. |
| Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, isNativePointerValidSafe, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csTextureWrapper(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBasepublic java.lang.String getName()
iBase
getName in interface iBasegetName in class csBasepublic static void initSCF()
public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe()
public iTextureWrapper Clone()
iTextureWrapper
Clone in interface iTextureWrapperiTextureWrapper.Clone()public int getFlags()
iTextureWrapper
getFlags in interface iTextureWrapperiTextureWrapper.getFlags()public iImage getImageFile()
iTextureWrapper
getImageFile in interface iTextureWrapperiTextureWrapper.getImageFile()public int[] getKeyColor()
iTextureWrapper
getKeyColor in interface iTextureWrapperiTextureWrapper.getKeyColor()public iTextureHandle getTextureHandle()
iTextureWrapper
getTextureHandle in interface iTextureWrapperiTextureWrapper.getTextureHandle()public iTextureCallback getUseCallback()
iTextureWrapper
getUseCallback in interface iTextureWrapperiTextureWrapper.getUseCallback()public boolean isVisitRequired()
iTextureWrapper
isVisitRequired in interface iTextureWrapperiTextureWrapper.isVisitRequired()public boolean keepImage()
iTextureWrapper
keepImage in interface iTextureWrapperiTextureWrapper.keepImage()public iObject queryObject()
iTextureWrapper
queryObject in interface iTextureWrapperiTextureWrapper.queryObject()public void register(iTextureManager txtmng)
iTextureWrapper
register in interface iTextureWrappertxtmng - iTextureWrapper.register(crystalspace.jbind.interfaces.ivideo.txtmgr.iTextureManager)public void setFlags(int flags)
iTextureWrapper
setFlags in interface iTextureWrapperflags - iTextureWrapper.setFlags(int)public void setImageFile(iImage Image)
iTextureWrapper
setImageFile in interface iTextureWrapperImage - iTextureWrapper.setImageFile(crystalspace.jbind.interfaces.igraphic.image.iImage)public void setKeepImage(boolean k)
iTextureWrapper
setKeepImage in interface iTextureWrapperk - iTextureWrapper.setKeepImage(boolean)
public void setKeyColor(int red,
int green,
int blue)
iTextureWrapper
setKeyColor in interface iTextureWrapperred - green - blue - iTextureWrapper.setKeyColor(int, int, int)public void setTextureHandle(iTextureHandle tex)
iTextureWrapper
setTextureHandle in interface iTextureWrappertex - iTextureWrapper.setTextureHandle(crystalspace.jbind.interfaces.ivideo.texture.iTextureHandle)public void setUseCallback(iTextureCallback callback)
iTextureWrapper
setUseCallback in interface iTextureWrappercallback - iTextureWrapper.setUseCallback(crystalspace.jbind.interfaces.iengine.texture.iTextureCallback)public void visit()
iTextureWrapper
visit in interface iTextureWrapperiTextureWrapper.visit()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||