|
|||||||||||
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 iBase
getVersion
in class csBase
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
public 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 iTextureWrapper
iTextureWrapper.Clone()
public int getFlags()
iTextureWrapper
getFlags
in interface iTextureWrapper
iTextureWrapper.getFlags()
public iImage getImageFile()
iTextureWrapper
getImageFile
in interface iTextureWrapper
iTextureWrapper.getImageFile()
public int[] getKeyColor()
iTextureWrapper
getKeyColor
in interface iTextureWrapper
iTextureWrapper.getKeyColor()
public iTextureHandle getTextureHandle()
iTextureWrapper
getTextureHandle
in interface iTextureWrapper
iTextureWrapper.getTextureHandle()
public iTextureCallback getUseCallback()
iTextureWrapper
getUseCallback
in interface iTextureWrapper
iTextureWrapper.getUseCallback()
public boolean isVisitRequired()
iTextureWrapper
isVisitRequired
in interface iTextureWrapper
iTextureWrapper.isVisitRequired()
public boolean keepImage()
iTextureWrapper
keepImage
in interface iTextureWrapper
iTextureWrapper.keepImage()
public iObject queryObject()
iTextureWrapper
queryObject
in interface iTextureWrapper
iTextureWrapper.queryObject()
public void register(iTextureManager txtmng)
iTextureWrapper
register
in interface iTextureWrapper
txtmng
- iTextureWrapper.register(crystalspace.jbind.interfaces.ivideo.txtmgr.iTextureManager)
public void setFlags(int flags)
iTextureWrapper
setFlags
in interface iTextureWrapper
flags
- iTextureWrapper.setFlags(int)
public void setImageFile(iImage Image)
iTextureWrapper
setImageFile
in interface iTextureWrapper
Image
- iTextureWrapper.setImageFile(crystalspace.jbind.interfaces.igraphic.image.iImage)
public void setKeepImage(boolean k)
iTextureWrapper
setKeepImage
in interface iTextureWrapper
k
- iTextureWrapper.setKeepImage(boolean)
public void setKeyColor(int red, int green, int blue)
iTextureWrapper
setKeyColor
in interface iTextureWrapper
red
- green
- blue
- iTextureWrapper.setKeyColor(int, int, int)
public void setTextureHandle(iTextureHandle tex)
iTextureWrapper
setTextureHandle
in interface iTextureWrapper
tex
- iTextureWrapper.setTextureHandle(crystalspace.jbind.interfaces.ivideo.texture.iTextureHandle)
public void setUseCallback(iTextureCallback callback)
iTextureWrapper
setUseCallback
in interface iTextureWrapper
callback
- iTextureWrapper.setUseCallback(crystalspace.jbind.interfaces.iengine.texture.iTextureCallback)
public void visit()
iTextureWrapper
visit
in interface iTextureWrapper
iTextureWrapper.visit()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |