HTML:标记语言
CSS:样式语言
JavaScript:脚本语言
Web API:编程接口
所有 Web 技术
学习 Web 开发
发现我们的工具
更好地了解 MDN
此特性不是基线特性,因为它在一些最广泛使用的浏览器中不起作用。
EXT_disjoint_timer_query.endQueryEXT() 方法是 WebGL API 的一部分,用于结束一个计时查询。
EXT_disjoint_timer_query.endQueryEXT()
endQueryEXT(target)
目标
一个 GLenum,指定时间查询的目标。必须是 ext.TIME_ELAPSED_EXT。
GLenum
ext.TIME_ELAPSED_EXT
无(undefined)。
undefined
const ext = gl.getExtension("EXT_disjoint_timer_query"); const query = ext.createQueryEXT(); ext.beginQueryEXT(ext.TIME_ELAPSED_EXT, query); // … ext.endQueryEXT(ext.TIME_ELAPSED_EXT);
加载中…
WebGLRenderingContext.getExtension()
WebGLQuery
EXT_disjoint_timer_query