C# Класс Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery

Direct3D implementation of a hardware occlusion query.
Наследование: Axiom.Graphics.HardwareOcclusionQuery
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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