|
|||||||||||
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.material.csMaterialWrapper
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csMaterialWrapper(iPointer nPointer)
|
Method Summary | |
iMaterialWrapper |
Clone()
Create a clone this material wrapper,using the same material handle. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
iMaterial |
getMaterial()
Get the original material |
iMaterialHandle |
getMaterialHandle()
Get the material handle |
java.lang.String |
getName()
Return the name of the interface |
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() |
iObject |
queryObject()
Get the iObject for this material |
void |
register(iTextureManager txtmng)
Register the material with the texture manager |
void |
setMaterial(iMaterial material)
Change the base material.Note : The changes will not be visible until you re-register the material |
void |
setMaterialHandle(iMaterialHandle mat)
Change the material handle.Note : This will also change the base material to 0. |
void |
visit()
Visit this material. |
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 csMaterialWrapper(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 iMaterialWrapper Clone()
iMaterialWrapper
Clone
in interface iMaterialWrapper
iMaterialWrapper.Clone()
public iMaterial getMaterial()
iMaterialWrapper
getMaterial
in interface iMaterialWrapper
iMaterialWrapper.getMaterial()
public iMaterialHandle getMaterialHandle()
iMaterialWrapper
getMaterialHandle
in interface iMaterialWrapper
iMaterialWrapper.getMaterialHandle()
public boolean isVisitRequired()
iMaterialWrapper
isVisitRequired
in interface iMaterialWrapper
iMaterialWrapper.isVisitRequired()
public iObject queryObject()
iMaterialWrapper
queryObject
in interface iMaterialWrapper
iMaterialWrapper.queryObject()
public void register(iTextureManager txtmng)
iMaterialWrapper
register
in interface iMaterialWrapper
txtmng
- iMaterialWrapper.register(crystalspace.jbind.interfaces.ivideo.txtmgr.iTextureManager)
public void setMaterial(iMaterial material)
iMaterialWrapper
setMaterial
in interface iMaterialWrapper
material
- iMaterialWrapper.setMaterial(crystalspace.jbind.interfaces.ivideo.material.iMaterial)
public void setMaterialHandle(iMaterialHandle mat)
iMaterialWrapper
setMaterialHandle
in interface iMaterialWrapper
mat
- iMaterialWrapper.setMaterialHandle(crystalspace.jbind.interfaces.ivideo.material.iMaterialHandle)
public void visit()
iMaterialWrapper
visit
in interface iMaterialWrapper
iMaterialWrapper.visit()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |