EXT_disjoint_timer_query: createQueryEXT() method

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

js
createQueryEXT()

Parameters

None.

Return value

A WebGLQuery object.

Examples

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

Specifications

Specification
WebGL EXT_disjoint_timer_query Extension Specification

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
createQueryEXT

See also