crystalspace.jbind.impl.video.effects.eflayer
Class csEffectLayer

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.video.effects.eflayer.csEffectLayer
All Implemented Interfaces:
iBase, iEffectLayer, iPointer

public class csEffectLayer
extends csBase
implements iEffectLayer

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csEffectLayer(iPointer nPointer)
           
 
Method Summary
 int getFirstState()
          Get the id of the first state.
 java.lang.String getName()
          Return the name of the interface
 int getNextState()
          Get the id of the next state.
 iBase getRendererData()
          Get renderer specific data.
 float getStateFloat(int state)
          Get a state float.
 iPointer getStateOpaque(int state)
          Get a state opaque data.
 int getStateString(int state)
          Get a state string.
 csEffectVector4 getStateVector4(int state)
          Get a state vector4.
 int getVersion()
          Return the version of the interface
protected  boolean isNativePointerValidSafe(long pointer)
           
 void setRendererData(iBase data)
          Set renderer specific data.
 void setStateFloat(int state, float value)
          Set a state float.
 void setStateOpaque(int state, iPointer value)
          Set a state opaque data.
 void setStateString(int state, int value)
          Set a state string.
 void setStateVector4(int state, csEffectVector4 value)
          Set a state vector4.
 
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

csEffectLayer

public csEffectLayer(iPointer nPointer)
Parameters:
nPointer -
Method Detail

getVersion

public int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Specified by:
getVersion in class csBase
See Also:
iBase.getVersion()

getName

public java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Specified by:
getName in class csBase
See Also:
iBase.getName()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long pointer)
Specified by:
isNativePointerValidSafe in class csNativeObject
See Also:
csNativeObject.isNativePointerValidSafe(long)

getFirstState

public int getFirstState()
Description copied from interface: iEffectLayer
Get the id of the first state.

Specified by:
getFirstState in interface iEffectLayer
Returns:
See Also:
iEffectLayer.getFirstState()

getNextState

public int getNextState()
Description copied from interface: iEffectLayer
Get the id of the next state.

Specified by:
getNextState in interface iEffectLayer
Returns:
See Also:
iEffectLayer.getNextState()

getRendererData

public iBase getRendererData()
Description copied from interface: iEffectLayer
Get renderer specific data.

Specified by:
getRendererData in interface iEffectLayer
Returns:
See Also:
iEffectLayer.getRendererData()

getStateFloat

public float getStateFloat(int state)
Description copied from interface: iEffectLayer
Get a state float.

Specified by:
getStateFloat in interface iEffectLayer
Parameters:
state -
Returns:
See Also:
iEffectLayer.getStateFloat(int)

getStateOpaque

public iPointer getStateOpaque(int state)
Description copied from interface: iEffectLayer
Get a state opaque data.

Specified by:
getStateOpaque in interface iEffectLayer
Parameters:
state -
Returns:
See Also:
iEffectLayer.getStateOpaque(int)

getStateString

public int getStateString(int state)
Description copied from interface: iEffectLayer
Get a state string.

Specified by:
getStateString in interface iEffectLayer
Parameters:
state -
Returns:
See Also:
iEffectLayer.getStateString(int)

getStateVector4

public csEffectVector4 getStateVector4(int state)
Description copied from interface: iEffectLayer
Get a state vector4.

Specified by:
getStateVector4 in interface iEffectLayer
Parameters:
state -
Returns:
See Also:
iEffectLayer.getStateVector4(int)

setRendererData

public void setRendererData(iBase data)
Description copied from interface: iEffectLayer
Set renderer specific data.

Specified by:
setRendererData in interface iEffectLayer
Parameters:
data -
See Also:
iEffectLayer.setRendererData(crystalspace.jbind.interfaces.iutil.scf.iBase)

setStateFloat

public void setStateFloat(int state,
                          float value)
Description copied from interface: iEffectLayer
Set a state float.

Specified by:
setStateFloat in interface iEffectLayer
Parameters:
state -
value -
See Also:
iEffectLayer.setStateFloat(int, float)

setStateOpaque

public void setStateOpaque(int state,
                           iPointer value)
Description copied from interface: iEffectLayer
Set a state opaque data.

Specified by:
setStateOpaque in interface iEffectLayer
Parameters:
state -
value -
See Also:
iEffectLayer.setStateOpaque(int, crystalspace.jbind.interfaces.iPointer)

setStateString

public void setStateString(int state,
                           int value)
Description copied from interface: iEffectLayer
Set a state string.

Specified by:
setStateString in interface iEffectLayer
Parameters:
state -
value -
See Also:
iEffectLayer.setStateString(int, int)

setStateVector4

public void setStateVector4(int state,
                            csEffectVector4 value)
Description copied from interface: iEffectLayer
Set a state vector4.

Specified by:
setStateVector4 in interface iEffectLayer
Parameters:
state -
value -
See Also:
iEffectLayer.setStateVector4(int, crystalspace.jbind.impl.video.effects.efvector4.csEffectVector4)