|
|||||||||||
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.video.material.csMaterialHandle
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csMaterialHandle(iPointer nPointer)
|
Method Summary | |
void |
getFlatColor(csRGBpixel oColor)
Get the flat color. |
java.lang.String |
getName()
Return the name of the interface |
float[] |
getReflection()
Get light reflection parameters for this material. |
iShader |
getShader(int type)
Get shader associated with a shader type. |
iTextureHandle |
getTexture()
Get a texture from the material. |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
prepare()
Prepare 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, 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 csMaterialHandle(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void getFlatColor(csRGBpixel oColor)
iMaterialHandle
getFlatColor
in interface iMaterialHandle
oColor
- iMaterialHandle.getFlatColor(crystalspace.jbind.impl.csgfx.rgbpixel.csRGBpixel)
public float[] getReflection()
iMaterialHandle
getReflection
in interface iMaterialHandle
iMaterialHandle.getReflection()
public iShader getShader(int type)
iMaterialHandle
getShader
in interface iMaterialHandle
type
-
iMaterialHandle.getShader(int)
public iTextureHandle getTexture()
iMaterialHandle
getTexture
in interface iMaterialHandle
iMaterialHandle.getTexture()
public void prepare()
iMaterialHandle
prepare
in interface iMaterialHandle
iMaterialHandle.prepare()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |