C# Class Axiom.RenderSystems.Xna.XnaHardwareOcclusionQuery

Xna implementation of a hardware occlusion query.
Inheritance: Axiom.Graphics.HardwareOcclusionQuery
Afficher le fichier Open project: WolfgangSt/axiom

Méthodes publiques

Méthode 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 méthode

Starts the hardware occlusion query
public Begin ( ) : void
Résultat void

End() public méthode

Ends the hardware occlusion test
public End ( ) : void
Résultat void

IsStillOutstanding() public méthode

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

PullResults() public méthode

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
Résultat int

XnaHardwareOcclusionQuery() public méthode

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