EXT_disjoint_timer_query.createQueryEXT()

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

WebGLTimerQueryEXT ext.createQueryEXT();

Parameters

None.

Return value

A WebGLQuery object.

Examples

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

Specifications

Specification
WebGL EXT_disjoint_timer_query Extension Specification (WebGL EXT_disjoint_timer_query Extension)

Browser compatibility

BCD tables only load in the browser

See also