crystalspace.jbind.impl.video.effects.efpass
Class csEffectPass

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.video.effects.efpass.csEffectPass
All Implemented Interfaces:
iBase, iEffectPass, iPointer

public class csEffectPass
extends csBase
implements iEffectPass

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csEffectPass(iPointer nPointer)
           
 
Method Summary
 iEffectLayer createLayer()
          Create a new layer.
 int getFirstState()
          Get the id of the first state.
 iEffectLayer getLayer(int layer)
          Get a specific layer.
 int getLayerCount()
          Get number of layers.
 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

csEffectPass

public csEffectPass(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)

createLayer

public iEffectLayer createLayer()
Description copied from interface: iEffectPass
Create a new layer.

Specified by:
createLayer in interface iEffectPass
Returns:
See Also:
iEffectPass.createLayer()

getFirstState

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

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

getLayer

public iEffectLayer getLayer(int layer)
Description copied from interface: iEffectPass
Get a specific layer.

Specified by:
getLayer in interface iEffectPass
Parameters:
layer -
Returns:
See Also:
iEffectPass.getLayer(int)

getLayerCount

public int getLayerCount()
Description copied from interface: iEffectPass
Get number of layers.

Specified by:
getLayerCount in interface iEffectPass
Returns:
See Also:
iEffectPass.getLayerCount()

getNextState

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

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

getRendererData

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

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

getStateFloat

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

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

getStateOpaque

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

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

getStateString

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

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

getStateVector4

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

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

setRendererData

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

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

setStateFloat

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

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

setStateOpaque

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

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

setStateString

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

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

setStateVector4

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

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