org.ogre4j
Class GpuConstantDefinition

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.GpuConstantDefinition
All Implemented Interfaces:
IGpuConstantDefinition, INativeObject

public class GpuConstantDefinition
extends NativeObject
implements IGpuConstantDefinition


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  GpuConstantDefinition()
           
  GpuConstantDefinition(InstancePointer p)
          This constructor is public for internal useage only!
protected GpuConstantDefinition(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  GpuConstantDefinition(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 int getarraySize()
           
 GpuConstantType getconstType()
           
 int getelementSize()
           
 int getlogicalIndex()
           
 int getphysicalIndex()
           
 boolean isFloat()
           
 boolean isSampler()
           
 void setarraySize(int _jni_value_)
           
 void setconstType(GpuConstantType _jni_value_)
           
 void setelementSize(int _jni_value_)
           
 void setlogicalIndex(int _jni_value_)
           
 void setphysicalIndex(int _jni_value_)
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

GpuConstantDefinition

public GpuConstantDefinition(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


GpuConstantDefinition

protected GpuConstantDefinition(InstancePointer p,
                                boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


GpuConstantDefinition

public GpuConstantDefinition(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

GpuConstantDefinition

public GpuConstantDefinition()
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

isFloat

public boolean isFloat()
Specified by:
isFloat in interface IGpuConstantDefinition

isSampler

public boolean isSampler()
Specified by:
isSampler in interface IGpuConstantDefinition

getconstType

public GpuConstantType getconstType()
Specified by:
getconstType in interface IGpuConstantDefinition

setconstType

public void setconstType(GpuConstantType _jni_value_)
Specified by:
setconstType in interface IGpuConstantDefinition

getphysicalIndex

public int getphysicalIndex()
Specified by:
getphysicalIndex in interface IGpuConstantDefinition

setphysicalIndex

public void setphysicalIndex(int _jni_value_)
Specified by:
setphysicalIndex in interface IGpuConstantDefinition

getlogicalIndex

public int getlogicalIndex()
Specified by:
getlogicalIndex in interface IGpuConstantDefinition

setlogicalIndex

public void setlogicalIndex(int _jni_value_)
Specified by:
setlogicalIndex in interface IGpuConstantDefinition

getelementSize

public int getelementSize()
Specified by:
getelementSize in interface IGpuConstantDefinition

setelementSize

public void setelementSize(int _jni_value_)
Specified by:
setelementSize in interface IGpuConstantDefinition

getarraySize

public int getarraySize()
Specified by:
getarraySize in interface IGpuConstantDefinition

setarraySize

public void setarraySize(int _jni_value_)
Specified by:
setarraySize in interface IGpuConstantDefinition


Copyright © 2007 netAllied GmbH. All Rights Reserved.