Class GPUTimerQueryNull
GPU timer query object for Null backend.
Inherited Members
GPUTimerQueryNull
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Null/GPUTimerQueryNull.h
Syntax
public class GPUTimerQueryNull : public GPUTimerQuery
Methods
Begin()
Starts the counter.
Declaration
public virtual void Begin() override
Overrides
End()
Stops the counter. Can be called more than once without failing.
Declaration
public virtual void End() override
Overrides
GetResult()
Gets the query result time (in milliseconds) it took to execute GPU commands between Begin/End calls.
Declaration
public virtual float GetResult() override
Returns
float
The time in milliseconds. |
Overrides
HasResult()
Determines whether this query has been completed and has valid result to gather.
Declaration
public virtual bool HasResult() override
Returns
bool
|