C# Класс Axiom.Graphics.HardwareOcclusionQuery

Interface specification for hardware queries that can be used to find the number of fragments rendered by the last render operation.
Наследование: DisposableObject
Показать файл Открыть проект

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

Метод Описание
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 IsStillOutstanding if just want to test if the result is available.

Защищенные методы

Метод Описание
dispose ( bool disposeManagedResources ) : void

Class level dispose method

When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }

Описание методов

Begin() публичный абстрактный метод

Starts the hardware occlusion query
public abstract Begin ( ) : void
Результат void

End() публичный абстрактный метод

Ends the hardware occlusion test
public abstract End ( ) : void
Результат void

IsStillOutstanding() публичный абстрактный метод

Lets you know when query is done, or still be processed by the Hardware
public abstract IsStillOutstanding ( ) : bool
Результат bool

PullResults() публичный абстрактный метод

Pulls the hardware occlusion query.
Waits until the query result is available; use IsStillOutstanding if just want to test if the result is available.
public abstract PullResults ( ) : int
Результат int

dispose() защищенный метод

Class level dispose method
When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
Результат void