org.ogre4j
Class RenderTarget.FrameStats

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.RenderTarget.FrameStats
All Implemented Interfaces:
IRenderTarget.IFrameStats, INativeObject
Enclosing class:
RenderTarget

public static class RenderTarget.FrameStats
extends NativeObject
implements IRenderTarget.IFrameStats


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  RenderTarget.FrameStats()
           
  RenderTarget.FrameStats(InstancePointer p)
          This constructor is public for internal useage only!
protected RenderTarget.FrameStats(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  RenderTarget.FrameStats(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 float getavgFPS()
           
 int getbatchCount()
           
 float getbestFPS()
           
 long getbestFrameTime()
           
 float getlastFPS()
           
 int gettriangleCount()
           
 float getworstFPS()
           
 long getworstFrameTime()
           
 void setavgFPS(float _jni_value_)
           
 void setbatchCount(int _jni_value_)
           
 void setbestFPS(float _jni_value_)
           
 void setbestFrameTime(long _jni_value_)
           
 void setlastFPS(float _jni_value_)
           
 void settriangleCount(int _jni_value_)
           
 void setworstFPS(float _jni_value_)
           
 void setworstFrameTime(long _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

RenderTarget.FrameStats

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


RenderTarget.FrameStats

protected RenderTarget.FrameStats(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.


RenderTarget.FrameStats

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

RenderTarget.FrameStats

public RenderTarget.FrameStats()
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

getlastFPS

public float getlastFPS()
Specified by:
getlastFPS in interface IRenderTarget.IFrameStats

setlastFPS

public void setlastFPS(float _jni_value_)
Specified by:
setlastFPS in interface IRenderTarget.IFrameStats

getavgFPS

public float getavgFPS()
Specified by:
getavgFPS in interface IRenderTarget.IFrameStats

setavgFPS

public void setavgFPS(float _jni_value_)
Specified by:
setavgFPS in interface IRenderTarget.IFrameStats

getbestFPS

public float getbestFPS()
Specified by:
getbestFPS in interface IRenderTarget.IFrameStats

setbestFPS

public void setbestFPS(float _jni_value_)
Specified by:
setbestFPS in interface IRenderTarget.IFrameStats

getworstFPS

public float getworstFPS()
Specified by:
getworstFPS in interface IRenderTarget.IFrameStats

setworstFPS

public void setworstFPS(float _jni_value_)
Specified by:
setworstFPS in interface IRenderTarget.IFrameStats

getbestFrameTime

public long getbestFrameTime()
Specified by:
getbestFrameTime in interface IRenderTarget.IFrameStats

setbestFrameTime

public void setbestFrameTime(long _jni_value_)
Specified by:
setbestFrameTime in interface IRenderTarget.IFrameStats

getworstFrameTime

public long getworstFrameTime()
Specified by:
getworstFrameTime in interface IRenderTarget.IFrameStats

setworstFrameTime

public void setworstFrameTime(long _jni_value_)
Specified by:
setworstFrameTime in interface IRenderTarget.IFrameStats

gettriangleCount

public int gettriangleCount()
Specified by:
gettriangleCount in interface IRenderTarget.IFrameStats

settriangleCount

public void settriangleCount(int _jni_value_)
Specified by:
settriangleCount in interface IRenderTarget.IFrameStats

getbatchCount

public int getbatchCount()
Specified by:
getbatchCount in interface IRenderTarget.IFrameStats

setbatchCount

public void setbatchCount(int _jni_value_)
Specified by:
setbatchCount in interface IRenderTarget.IFrameStats


Copyright © 2007 netAllied GmbH. All Rights Reserved.