package js.html.webgl.extension
Available on js
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.
Documentation EXT_disjoint_timer_query by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
staticinlineread onlyCURRENT_QUERY_EXT:Int = 34917A WebGLQuery object, which is the currently active query for the given target.
staticinlineread onlyGPU_DISJOINT_EXT:Int = 36795A GLboolean indicating whether or not the GPU performed any disjoint operation.
staticinlineread onlyQUERY_COUNTER_BITS_EXT:Int = 34916A GLint indicating the number of bits used to hold the query result for the given target.
staticinlineread onlyQUERY_RESULT_AVAILABLE_EXT:Int = 34919A GLboolean indicating whether or not a query result is available.
staticinlineread onlyQUERY_RESULT_EXT:Int = 34918A GLuint64EXT containing the query result.
staticinlineread onlyTIMESTAMP_EXT:Int = 36392The current time.
staticinlineread onlyTIME_ELAPSED_EXT:Int = 35007Elapsed time (in nanoseconds).
beginQueryEXT(target:Int, query:Query):VoidThe timer starts when all commands prior to beginQueryEXT have been fully executed.
createQueryEXT():QueryCreates a new WebGLQuery.
deleteQueryEXT(query:Query):VoidDeletes a given WebGLQuery.
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:Query, pname:Int):DynamicReturn the state of a query object.
isQueryEXT(query:Query):BoolReturns true if a given object is a WebGLQuery.
queryCounterEXT(query:Query, target:Int):VoidRecords the current time into the corresponding query object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/extension/EXTDisjointTimerQuery.html