MDN self-hosted library · e01.org

EXT_disjoint_timer_query: createQueryEXT() method

WebGL

WebGL

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

Syntax

createQueryEXT()

Parameters

None.

Return value

A WebGLQuery object.

Examples

const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryExt();

Specifications

Browser compatibility

See also

  • WebGLRenderingContext.getExtension()
  • WebGLQuery
  • EXT_disjoint_timer_query