C# Class Axiom.RenderSystems.Xna.XnaHardwareOcclusionQuery

Xna implementation of a hardware occlusion query.
Inheritance: Axiom.Graphics.HardwareOcclusionQuery
ファイルを表示 Open project: WolfgangSt/axiom

Public Methods

Method Description
Begin ( ) : void

Starts the hardware occlusion query

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.

XnaHardwareOcclusionQuery ( Microsoft.Xna.Framework.Graphics device ) : Axiom.Graphics

Default constructor.

Method Details

Begin() public method

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

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

XnaHardwareOcclusionQuery() public method

Default constructor.
public XnaHardwareOcclusionQuery ( Microsoft.Xna.Framework.Graphics device ) : Axiom.Graphics
device Microsoft.Xna.Framework.Graphics Reference to a Direct3D device.
return Axiom.Graphics