GraphicsTimer

Description

abstract class Tinman.Engine.Rendering.GraphicsTimer

Derived from

Disposable abstract
IGraphicsTimer

Abstract base class for IGraphicsTimer implementations.

Protected / Methods

Query


protected abstract method Query → (1)

command in : int32

The query command to perform:
0 : begin new query.
1 : end pending query.
2 : poll query results and call Result.

returns → bool

true : success
false : not ready, try again 2 later, reset to 0 otherwise.

Performs the GPU time query.

Result


protected method Result → (1)

result in : float64

The result.

Reports a query result value.