EXTDisjointTimerQuery class

The EXT_disjoint_timer_query extension is part of the WebGL API and provides a way to measure the duration of a set of GL commands, without stalling the rendering pipeline. WebGL extensions are available using the WebGLRenderingContext.getExtension() method. For more information, see also Using Extensions in the WebGL tutorial.

Note: This extension should be available in WebGL1 contexts only. EXT_disjoint_timer_query_webgl2 is available in WebGL 2 contexts .

In WebGL 2, the getQueryObject was renamed to getQueryParameter. In WebGL 2, other queries (such as occlusion queries and primitive queries) are possible using WebGLQuery objects.

Available extensions
Annotations
  • @JS.new('EXT_disjoint_timer_query')
  • @staticInterop

Constructors

EXTDisjointTimerQuery()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

beginQueryEXT(int target, WebGLTimerQueryEXT query) → void

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

createQueryEXT() → WebGLTimerQueryEXT?

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

deleteQueryEXT(WebGLTimerQueryEXT? query) → void

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

endQueryEXT(int target) → void

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

getQueryEXT(int target, int pname) → dynamic

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

getQueryObjectEXT(WebGLTimerQueryEXT query, int pname) → dynamic

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

isQueryEXT(WebGLTimerQueryEXT? query) → bool

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryCounterEXT(WebGLTimerQueryEXT query, int target) → void

Available on EXTDisjointTimerQuery, provided by the PropsEXTDisjointTimerQuery extension

toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

currentQueryExt → int
no setter
gpuDisjointExt → int
no setter
queryCounterBitsExt → int
no setter
queryResultAvailableExt → int
no setter
queryResultExt → int
no setter
timeElapsedExt → int
no setter
timestampExt → int
no setter