C# Класс Axiom.RenderSystems.Xna.XnaHardwareOcclusionQuery

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

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

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