package js.html.webgl
Available on jsThe 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.
Documentation EXT_disjoint_timer_query by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
beginQueryEXT (target:Int, query:TimerQueryEXT):VoidThe timer starts when all commands prior to beginQueryEXT have been fully executed.
createQueryEXT ():TimerQueryEXTCreates a new WebGLTimerQueryEXT.
deleteQueryEXT (query:TimerQueryEXT):VoidDeletes a given WebGLTimerQueryEXT.
endQueryEXT (target:Int):VoidThe timer stops when all commands prior to endQueryEXT have been fully executed.
getQueryEXT (target:Int, pname:Int):DynamicReturns information about a query target.
getQueryObjectEXT (query:TimerQueryEXT, pname:Int):DynamicReturn the state of a query object.
isQueryEXT (query:TimerQueryEXT):BoolReturns true if a given object is a WebGLTimerQueryEXT.
queryCounterEXT (query:TimerQueryEXT, target:Int):VoidRecords the current time into the corresponding query object.
static inline read only CURRENT_QUERY_EXT:Int = 34917 static inline read only GPU_DISJOINT_EXT:Int = 36795 static inline read only QUERY_COUNTER_BITS_EXT:Int = 34916 static inline read only QUERY_RESULT_AVAILABLE_EXT:Int = 34919 static inline read only QUERY_RESULT_EXT:Int = 34918 static inline read only TIMESTAMP_EXT:Int = 36392 static inline read only TIME_ELAPSED_EXT:Int = 35007
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/ExtensionDisjointTimerQuery.html