EXT_disjoint_timer_query.isQueryEXT()

The EXT_disjoint_timer_query.isQueryEXT() method of the WebGL API returns true if the passed object is a WebGLQuery object.

Syntax

GLBoolean ext.isQueryEXT(query);

Parameters

query

A WebGLQuery object to test.

Return value

A GLboolean indicating whether the given object is a WebGLQuery object (true) or not (false).

Examples

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

// ...

ext.isQueryEXT(query);

Specifications

Specification
WebGL EXT_disjoint_timer_query Extension Specification

Browser compatibility

BCD tables only load in the browser

See also