C# Class Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery

Direct3D implementation of a hardware occlusion query.
Inheritance: Axiom.Graphics.HardwareOcclusionQuery
Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
Begin ( ) : void

Starts the hardware occlusion query

D3DHardwareOcclusionQuery ( SlimDX.Direct3D9 device ) : System

Default constructor.

End ( ) : void

Ends the hardware occlusion test

IsStillOutstanding ( ) : bool

Lets you know when query is done, or still be processed by the Hardware

PullResults ( ) : int

Pulls the hardware occlusion query.

Waits until the query result is available; use HardwareOcclusionQuery.IsStillOutstanding if just want to test if the result is available.

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Method Details

Begin() public method

Starts the hardware occlusion query
public Begin ( ) : void
return void

D3DHardwareOcclusionQuery() public method

Default constructor.
public D3DHardwareOcclusionQuery ( SlimDX.Direct3D9 device ) : System
device SlimDX.Direct3D9 Reference to a Direct3D device.
return System

End() public method

Ends the hardware occlusion test
public End ( ) : void
return void

IsStillOutstanding() public method

Lets you know when query is done, or still be processed by the Hardware
public IsStillOutstanding ( ) : bool
return bool

PullResults() public method

Pulls the hardware occlusion query.
Waits until the query result is available; use HardwareOcclusionQuery.IsStillOutstanding if just want to test if the result is available.
public PullResults ( ) : int
return int

dispose() protected method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void