crystalspace.jbind.impl.csgfx.shadervar
Class csShaderVariableAccessor

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.csgfx.shadervar.csShaderVariableAccessor
All Implemented Interfaces:
iBase, iJPointer, iPointer, iShaderVariableAccessor

public class csShaderVariableAccessor
extends csBase
implements iShaderVariableAccessor

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csShaderVariableAccessor(iPointer nPointer)
           
csShaderVariableAccessor(iPointer nPointer, iShaderVariableAccessor handler)
           
csShaderVariableAccessor(iShaderVariableAccessor handler)
           
 
Method Summary
static java.lang.Class getInterfaceClass()
           
static java.lang.String getInterfaceName()
           
static int getInterfaceVersion()
           
 java.lang.String getName()
          Return the name of the interface
 int getVersion()
          Return the version of the interface
static void initSCF()
           
protected  boolean isNativePointerValidSafe(long pointer)
           
protected  void nDelete(long pointer)
           
 void preGetValue(csShaderVariable variable)
          Called before the value of the attached SV is returned.
 void setHandler(iShaderVariableAccessor handler)
           
 
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase
decRef, equals, finalize, getRefCount, incRef, 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.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Constructor Detail

csShaderVariableAccessor

public csShaderVariableAccessor(iPointer nPointer)
Parameters:
nPointer -

csShaderVariableAccessor

public csShaderVariableAccessor(iPointer nPointer,
                                iShaderVariableAccessor handler)

csShaderVariableAccessor

public csShaderVariableAccessor(iShaderVariableAccessor handler)
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

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

initSCF

public static void initSCF()

getInterfaceVersion

public static int getInterfaceVersion()

getInterfaceName

public static java.lang.String getInterfaceName()

getInterfaceClass

public static java.lang.Class getInterfaceClass()

isNativePointerValidSafe

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

preGetValue

public void preGetValue(csShaderVariable variable)
Description copied from interface: iShaderVariableAccessor
Called before the value of the attached SV is returned.

Specified by:
preGetValue in interface iShaderVariableAccessor
Parameters:
variable -
See Also:
iShaderVariableAccessor.preGetValue(crystalspace.jbind.impl.csgfx.shadervar.csShaderVariable)

nDelete

protected void nDelete(long pointer)
Overrides:
nDelete in class csBase
See Also:
csNativeObject.nDelete(long)

setHandler

public void setHandler(iShaderVariableAccessor handler)