EXT_disjoint_timer_query.createQueryEXT() 方法在 WebGL API creates and initializes WebGLQuery objects, which track the time needed to fully complete a set of GL commands.

句法

WebGLTimerQueryEXT ext.createQueryEXT();
					

参数

None.

返回值

A WebGLQuery 对象。

范例

var ext = gl.getExtension('EXT_disjoint_timer_query');
var query = ext.createQueryExt();
					

规范

规范 状态 注释
EXT_disjoint_timer_query
The definition of 'EXT_disjoint_timer_query' in that specification.
工作草案 初始定义。

浏览器兼容性

更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
createQueryEXT Chrome 47 — 65
不支持 47 — 65
Removed due to the GLitch exploit .
Edge No
不支持 No
Removed due to the GLitch exploit .
Firefox 51 — 63
不支持 51 — 63
Removed due to the GLitch exploit .
IE ? Opera ? Safari ? WebView Android 47 — 65
不支持 47 — 65
Removed due to the GLitch exploit .
Chrome Android 47 — 65
不支持 47 — 65
Removed due to the GLitch exploit .
Firefox Android No Opera Android ? Safari iOS ? Samsung Internet Android 5.0 — 9.0
不支持 5.0 — 9.0
Removed due to the GLitch exploit .

图例

不支持

不支持

兼容性未知 ?

兼容性未知

见实现注意事项。

另请参阅

元数据

  • 最后修改: