|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.HardwareOcclusionQuery
public class HardwareOcclusionQuery
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
HardwareOcclusionQuery(InstancePointer p)
This constructor is public for internal useage only! |
protected |
HardwareOcclusionQuery(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
HardwareOcclusionQuery(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
beginOcclusionQuery()
Starts the hardware occlusion query Results must be pulled using: UINT m_uintNumberOfPixelsVisable; pullOcclusionQuery( &m_dwNumberOfPixelsVisable ); |
void |
delete()
Deletes the corresponding C++ object. |
void |
endOcclusionQuery()
Ends the hardware occlusion test |
void |
finalize()
|
long |
getLastQuerysPixelcount()
Let's you get the last pixel count with out doing the hardware occlusion test |
boolean |
isStillOutstanding()
Lets you know when query is done, or still be processed by the Hardware |
boolean |
pullOcclusionQuery(LongPointer NumOfFragments)
Pulls the hardware occlusion query. |
| 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 |
|---|
public HardwareOcclusionQuery(InstancePointer p)
protected HardwareOcclusionQuery(InstancePointer p,
boolean remote)
public HardwareOcclusionQuery(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void beginOcclusionQuery()
beginOcclusionQuery in interface IHardwareOcclusionQuerypublic void endOcclusionQuery()
endOcclusionQuery in interface IHardwareOcclusionQuerypublic boolean pullOcclusionQuery(LongPointer NumOfFragments)
pullOcclusionQuery in interface IHardwareOcclusionQuerypublic long getLastQuerysPixelcount()
getLastQuerysPixelcount in interface IHardwareOcclusionQuerypublic boolean isStillOutstanding()
isStillOutstanding in interface IHardwareOcclusionQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||