C# 클래스 Axiom.RenderSystems.Xna.XnaHardwareOcclusionQuery

Xna implementation of a hardware occlusion query.
상속: Axiom.Graphics.HardwareOcclusionQuery
파일 보기 프로젝트 열기: WolfgangSt/axiom

공개 메소드들

메소드 설명
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.

메소드 상세

Begin() 공개 메소드

Starts the hardware occlusion query
public Begin ( ) : void
리턴 void

End() 공개 메소드

Ends the hardware occlusion test
public End ( ) : void
리턴 void

IsStillOutstanding() 공개 메소드

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

PullResults() 공개 메소드

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
리턴 int

XnaHardwareOcclusionQuery() 공개 메소드

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