C# 클래스 Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery

Direct3D implementation of a hardware occlusion query.
상속: Axiom.Graphics.HardwareOcclusionQuery
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

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

보호된 메소드들

메소드 설명
dispose ( bool disposeManagedResources ) : void

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

메소드 상세

Begin() 공개 메소드

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

D3DHardwareOcclusionQuery() 공개 메소드

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

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

dispose() 보호된 메소드

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