org.ogre4j
Class GpuNamedConstants

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

public class GpuNamedConstants
extends NativeObject
implements IGpuNamedConstants


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  GpuNamedConstants()
           
  GpuNamedConstants(InstancePointer p)
          This constructor is public for internal useage only!
protected GpuNamedConstants(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  GpuNamedConstants(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void generateConstantDefinitionArrayEntries(java.lang.String paramName, IGpuConstantDefinition baseDef)
          Generate additional constant entries for arrays based on a base definition.
 int getfloatBufferSize()
           
static boolean getGenerateAllConstantDefinitionArrayEntries()
           
 int getintBufferSize()
           
 void getmap(IGpuConstantDefinitionMap returnValue)
           
 void load(IDataStreamPtr stream)
          Loads constant definitions from a stream, compatible with .
 void save(java.lang.String filename)
          Saves constant definitions to a file, compatible with .
 void setfloatBufferSize(int _jni_value_)
           
static void setGenerateAllConstantDefinitionArrayEntries(boolean generateAll)
          Sets whether all array entries will be generated and added to the definitions map.
 void setintBufferSize(int _jni_value_)
           
 void setmap(IGpuConstantDefinitionMap _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

GpuNamedConstants

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


GpuNamedConstants

protected GpuNamedConstants(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.


GpuNamedConstants

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

GpuNamedConstants

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

generateConstantDefinitionArrayEntries

public void generateConstantDefinitionArrayEntries(java.lang.String paramName,
                                                   IGpuConstantDefinition baseDef)
Generate additional constant entries for arrays based on a base definition.

Specified by:
generateConstantDefinitionArrayEntries in interface IGpuNamedConstants

save

public void save(java.lang.String filename)
Saves constant definitions to a file, compatible with .

Specified by:
save in interface IGpuNamedConstants

load

public void load(IDataStreamPtr stream)
Loads constant definitions from a stream, compatible with .

Specified by:
load in interface IGpuNamedConstants

getGenerateAllConstantDefinitionArrayEntries

public static boolean getGenerateAllConstantDefinitionArrayEntries()

setGenerateAllConstantDefinitionArrayEntries

public static void setGenerateAllConstantDefinitionArrayEntries(boolean generateAll)
Sets whether all array entries will be generated and added to the definitions map.


getfloatBufferSize

public int getfloatBufferSize()
Specified by:
getfloatBufferSize in interface IGpuNamedConstants

setfloatBufferSize

public void setfloatBufferSize(int _jni_value_)
Specified by:
setfloatBufferSize in interface IGpuNamedConstants

getintBufferSize

public int getintBufferSize()
Specified by:
getintBufferSize in interface IGpuNamedConstants

setintBufferSize

public void setintBufferSize(int _jni_value_)
Specified by:
setintBufferSize in interface IGpuNamedConstants

getmap

public void getmap(IGpuConstantDefinitionMap returnValue)
Specified by:
getmap in interface IGpuNamedConstants

setmap

public void setmap(IGpuConstantDefinitionMap _jni_value_)
Specified by:
setmap in interface IGpuNamedConstants


Copyright © 2007 netAllied GmbH. All Rights Reserved.