org.ogre4j
Interface IHardwareOcclusionQuery

All Superinterfaces:
IAllocatedObject<IRenderSysAllocPolicy>, INativeObject, IRenderSysAllocatedObject
All Known Implementing Classes:
HardwareOcclusionQuery

public interface IHardwareOcclusionQuery
extends INativeObject, IRenderSysAllocatedObject


Method Summary
 void beginOcclusionQuery()
          Starts the hardware occlusion query Results must be pulled using: UINT m_uintNumberOfPixelsVisable; pullOcclusionQuery( &m_dwNumberOfPixelsVisable );
 void endOcclusionQuery()
          Ends the hardware occlusion test
 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 interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

beginOcclusionQuery

void beginOcclusionQuery()
Starts the hardware occlusion query Results must be pulled using: UINT m_uintNumberOfPixelsVisable; pullOcclusionQuery( &m_dwNumberOfPixelsVisable );


endOcclusionQuery

void endOcclusionQuery()
Ends the hardware occlusion test


pullOcclusionQuery

boolean pullOcclusionQuery(LongPointer NumOfFragments)
Pulls the hardware occlusion query.


getLastQuerysPixelcount

long getLastQuerysPixelcount()
Let's you get the last pixel count with out doing the hardware occlusion test


isStillOutstanding

boolean isStillOutstanding()
Lets you know when query is done, or still be processed by the Hardware



Copyright © 2007 netAllied GmbH. All Rights Reserved.